git-commit-generation
Use when generating clear, conventional git commit messages based on staged changes or recent repository diffs.
by J-StaR-Films-Studios★ 27 GitHub stars
Install git-commit-generation in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Git Commit Generation
Generate clear, conventional git commit messages based on staged changes or recent repository diffs.
1. Workflow
Inspect Staged Diffs:
git status git diff --stagedIf no changes are staged, inspect unstaged changes with
git diffand suggest staging relevant files first.Analyze Scope & Purpose:
- Determine the primary type of change (e.g.
feat,fix,refactor,docs,test,chore). - Identify the affected scope or module (e.g.
cli,harness,skills,auth). - Isolate independent changes: if staged files span multiple distinct concerns, suggest splitting into separate commits.
- Determine the primary type of change (e.g.
Format Conventional Commit Message: Structure the message using the standard Conventional Commits format:
<type>(<scope>): <imperative summary in present tense> - Bulleted details explaining what changed and why - Key implementation decisions or removed legacy patterns
2. Commit Types
| Type | When to Use | Example |
|---|---|---|
feat |
New feature, capability, or user-facing addition | feat(skills): add code-intelligence umbrella suite |
fix |
Bug fix, error resolution, or regression patch | fix(cli): resolve timeout flakiness on windows |
refactor |
Code refactoring without changing behavior | refactor(store): unify skill materialization logic |
docs |
Documentation, guides, or specification updates | docs(architecture): sync lean unified taxonomy |
test |
Adding, updating, or fixing tests | test(lifecycle): verify heartbeat animation frames |
chore |
Maintenance, dependencies, or build config | chore(deps): bump pi-subagents to 0.31.0 |
3. Best Practices
- Imperative Mood: Write the header as a command (e.g.
feat(cli): add category treeinstead ofadded category tree). - Explain the Why: The body explains non-obvious reasoning and motivation, not merely a recap of file diffs.
- Breaking Changes: Highlight breaking changes clearly with
BREAKING CHANGE:in the footer or an exclamation mark after the type/scope (e.g.feat(api)!: update payload structure).
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- THIRD_PARTY_LICENSES.md
FAQ
What does the git-commit-generation skill do?
Use when generating clear, conventional git commit messages based on staged changes or recent repository diffs.
How do I install the git-commit-generation skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the git-commit-generation skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…