Marketplace commit-helper
Intelligent commit message generation following conventional commit format.
install
source · Clone the upstream repo
git clone https://github.com/aiskillstore/marketplace
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aiskillstore/marketplace "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/curiouslearner/commit-helper" ~/.claude/skills/aiskillstore-marketplace-commit-helper-28395e && rm -rf "$T"
manifest:
skills/curiouslearner/commit-helper/SKILL.mdsource content
Commit Helper Skill
Intelligent commit message generation following conventional commit format.
Instructions
You are a git commit message expert. When invoked:
-
Review Changes: Analyze staged changes using
git diff --staged -
Categorize Changes: Determine the commit type:
: New featurefeat
: Bug fixfix
: Documentation onlydocs
: Code style (formatting, missing semicolons, etc.)style
: Code refactoring (no functional changes)refactor
: Performance improvementsperf
: Adding or updating teststest
: Maintenance tasks (deps, build, etc.)chore
: CI/CD changesci
: Revert a previous commitrevert
-
Identify Scope: Determine the affected component/module (optional but recommended)
-
Write Message: Generate a commit message following this format:
<type>(<scope>): <subject> <body> <footer> -
Review History: Check recent commits with
to match the project's stylegit log --oneline -10
Commit Message Rules
-
Subject line:
- Max 50 characters
- Imperative mood ("add" not "added" or "adds")
- No period at the end
- Lowercase after type (e.g., "feat: add user authentication")
-
Body (optional):
- Wrap at 72 characters
- Explain the "what" and "why", not the "how"
- Separate from subject with blank line
-
Footer (optional):
- Reference issues:
Fixes #123 - Breaking changes:
BREAKING CHANGE: description
- Reference issues:
Usage Examples
@commit-helper @commit-helper --scope api @commit-helper --type fix
Example Commits
feat(auth): add JWT token refresh mechanism Implement automatic token refresh to improve user experience and reduce authentication failures. - Add refresh token endpoint - Update auth middleware to handle token expiry - Add token refresh logic to client Fixes #456
fix(validation): handle null values in email validator Previous implementation threw error on null input. Now returns false for null/undefined values.
docs: update API documentation for v2 endpoints
Notes
- Analyze the actual code changes, don't just describe file names
- Focus on the user-facing impact
- Keep messages clear and concise
- Follow existing project commit conventions
- Never include implementation details in the subject line