Command Palette

Search for a command to run...

Back to skills
skill № 09992

git-commit-generation

Use when generating clear, conventional git commit messages based on staged changes or recent repository diffs.

FreeNo executable scripts
J-StaR-Films-Studiosby 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
Sign up freeI already have an account

About this skill

Git Commit Generation

Generate clear, conventional git commit messages based on staged changes or recent repository diffs.


1. Workflow

  1. Inspect Staged Diffs:

    git status
    git diff --staged
    

    If no changes are staged, inspect unstaged changes with git diff and suggest staging relevant files first.

  2. 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.
  3. 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 tree instead of added 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

Compare git-commit-generation with