Agent skill
commit-helper
Generates clear, conventional commit messages from git diffs
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/commit-helper
SKILL.md
Commit Message Generator Skill
Purpose
Generate conventional commit messages that follow best practices.
Instructions
When invoked, you should:
- Analyze the changes: Run
git diff --stagedto see what files have changed - Identify the type: Determine if this is a feat, fix, docs, refactor, etc.
- Write the message: Create a commit message with:
- Type and scope:
type(scope): subject - Subject line: Clear, imperative mood, no period, < 72 chars
- Body (optional): Explain the "what" and "why", not the "how"
- Footer (optional): Breaking changes or issue references
- Type and scope:
Conventional Commit Types
- feat: New feature
- fix: Bug fix
- docs: Documentation changes
- style: Code style changes (formatting, no logic change)
- refactor: Code restructuring without changing functionality
- test: Adding or updating tests
- chore: Maintenance tasks, dependencies
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?