Agent skill
conventional-commit
Generate commit messages by analyzing git diff following Conventional Commits format. Use when user says "commit", "commit my changes", "write a commit message", "what should I commit as", needs help describing changes, or is about to commit without a message.
Install this agent skill to your Project
npx add-skill https://github.com/poindexter12/claude-flow/tree/main/skills/conventional-commit
SKILL.md
Commit Message Generator
Generate commit messages following Conventional Commits by analyzing actual code changes.
Resources
references/conventional-commits-summary.md- Types, examples, quick referencereferences/conventional-commits-spec.md- Full v1.0.0 specification (16 rules)assets/commit.template- Git commit template (user can configure withgit config commit.template)
Process
- Run
git statusto see what files changed - Run
git diff --cached(staged) orgit diff(unstaged) to see actual changes - Analyze the diff to understand what was done
- Generate a commit message using Conventional Commits format (see
references/conventional-commits-summary.md)
Guidelines
- Read the diff, don't ask the user to describe it
- Pick the type based on what the change does, not what files changed
- Use scope when the change is clearly in one area
- If multiple unrelated changes, suggest splitting the commit
- Match the project's existing commit style if they have one
Related
The branch-naming skill uses matching prefixes (feat/, fix/, etc.) for a unified workflow.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
branch-naming
setup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
scaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
git-guardrails-claude-code
Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.
Didn't find tool you were looking for?