Agent skill
git-commit-standard
Generates conventional commits based on file changes. Analyzes diffs and creates properly formatted commit messages.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/git-commit-standard
SKILL.md
Git Commit Standard Skill
Generate Conventional Commits based on staged changes.
Procedure
-
Check current status:
bashgit status -
View staged changes:
bashgit diff --staged -
If nothing staged, view all changes:
bashgit diff -
Analyze changes and determine commit type:
feat: New featurefix: Bug fixdocs: Documentation onlystyle: Formatting, no code changerefactor: Code change that neither fixes nor adds featureperf: Performance improvementtest: Adding or correcting testschore: Build process, tooling, etc.
-
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
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"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?