Agent skill
commit
Helps write conventional commit messages, create atomic commits, and follow git best practices. Use when the agent needs to help with git commits, commit message writing, or git workflow guidance.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/commit
SKILL.md
Commit Skill
Workflow
- Analyze Results: Review
git statusandgit diff --staged. - Draft Message: Follow Conventional Commits.
feat,fix,docs,style,refactor,test,chore.- Max 50 chars for subject.
- Explain "why" in body if needed (wrap at 72).
- Atomic Commits: Ensure one logical change per commit.
- Templates: Use
assets/commit-template.txtfor consistency.
Safe Git Commands
git add <files>git commit -m "message"git diff --stagedgit status,git show,git log --oneline
Limitations
- No interactive commands (
git add -p,git rebase -i). - No force pushing or amending without explicit user guidance.
- Always confirm before final commit/push.
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?