Skip to content
Back to skills

Git Commit Standard

ASecurity

Generates conventional commits based on file changes. Analyzes diffs and creates properly formatted commit messages.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
developmentgobashgitperformancedocumentation

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill git-commit-standard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Git Commit Standard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Git Commit Standard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-git-commit-standard/badge)](https://www.skillsdirectory.com/skills/majiayu000-git-commit-standard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: git-commit-standard
description: Generates conventional commits based on file changes. Analyzes diffs and creates properly formatted commit messages.
---

# Git Commit Standard Skill

Generate Conventional Commits based on staged changes.

## Procedure

1. Check current status:

   ```bash
   git status
   ```

2. View staged changes:

   ```bash
   git diff --staged
   ```

3. If nothing staged, view all changes:

   ```bash
   git diff
   ```

4. Analyze changes and determine commit type:

   - `feat`: New feature
   - `fix`: Bug fix
   - `docs`: Documentation only
   - `style`: Formatting, no code change
   - `refactor`: Code change that neither fixes nor adds feature
   - `perf`: Performance improvement
   - `test`: Adding or correcting tests
   - `chore`: Build process, tooling, etc.

5. Generate commit message format:

   ```
   type(scope): subject

   [optional body]

   [optional footer]
   ```

## Rules

- Subject line max 72 characters
- Use imperative mood ("add" not "added")
- No period at end of subject
- Separate subject from body with blank line
- Body should explain WHAT and WHY

## Example Output

```bash
git commit -m "feat(auth): add OAuth2 support for Google login

- Implemented Google OAuth2 flow
- Added token refresh mechanism
- Updated login page UI

Closes #123"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.