Claude-skill-registry commit-helper
Generates clear, conventional commit messages from git diffs
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/commit-helper" ~/.claude/skills/majiayu000-claude-skill-registry-commit-helper-c269a7 && rm -rf "$T"
manifest:
skills/data/commit-helper/SKILL.mdsource content
Commit Message Generator Skill
Purpose
Generate conventional commit messages that follow best practices.
Instructions
When invoked, you should:
- Analyze the changes: Run
to see what files have changedgit diff --staged - 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