Agent skill
commit-helper
Generates clear, conventional commit messages from git diffs. Use when writing commit messages or reviewing staged changes.
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/commit-helper-fwdslsh-crosstrain
SKILL.md
Commit Helper Skill
Purpose
This skill helps generate high-quality commit messages following conventional commit format.
Instructions
- Run
git diff --stagedto see changes to be committed - Analyze the changes to understand:
- What files were modified
- What type of change (feat, fix, refactor, docs, etc.)
- What the impact of the change is
- Generate a commit message with:
- A summary line under 50 characters
- A blank line
- A detailed description explaining the "why"
- Optional: List of affected components
Commit Types
feat: New featurefix: Bug fixrefactor: Code refactoringdocs: Documentation changestest: Adding or updating testschore: Maintenance tasks
Examples
feat: add user authentication flow
Implement OAuth2 authentication with support for Google and GitHub providers.
This enables users to sign in without creating separate credentials.
Affected: src/auth/, src/components/Login.tsx
Didn't find tool you were looking for?