Agent skill
commit-helper
Generate clear, conventional commit messages from git diffs. Use when writing commit messages, reviewing staged changes, or preparing commits.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/commit-helper-nodnarbnitram-claude-code-extensio-e86554bc
SKILL.md
Commit Helper
Generate well-structured commit messages following conventional commit format.
Instructions
- Run
git diff --stagedto see staged changes - Analyze the changes to understand:
- What files were modified
- What type of change (feat, fix, refactor, docs, etc.)
- The scope/component affected
- Generate a commit message with:
- Summary line under 50 characters
- Type prefix (feat, fix, docs, refactor, test, chore)
- Optional scope in parentheses
- Detailed body explaining what and why
Commit Types
feat: New featurefix: Bug fixdocs: Documentation changesrefactor: Code restructuring without behavior changetest: Adding or updating testschore: Maintenance tasks
Best Practices
- Use present tense ("Add feature" not "Added feature")
- Explain what and why, not how
- Keep summary concise but descriptive
- Reference issue numbers when applicable
Example Output
feat(auth): add OAuth2 support for GitHub login
- Implement OAuth2 flow with PKCE
- Add token refresh mechanism
- Store tokens securely in encrypted storage
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?