From git-workflow-toolkit
Generates conventional commit messages from git diffs, with types like feat/fix/refactor, scopes, imperative subjects, bodies, and footers. Use before git commit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/git-workflow-toolkit:commit-message-generatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate clear, conventional commit messages from git diffs.
Generate clear, conventional commit messages from git diffs.
Analyze staged changes and generate message:
git diff --staged
# Then generate message following conventional commits format
Review the git diff to understand:
git diff --staged
# or for specific files
git diff --staged path/to/file
feat: New feature
fix: Bug fix
docs: Documentation
style: Code style
refactor: Code refactoring
test: Tests
chore: Maintenance
perf: Performance
ci: CI/CD
build: Build system
revert: Revert
Scope indicates what part of codebase changed:
(button), (navbar)(auth), (api)(payments), (search)(core), (utils)Optional but recommended for clarity.
Subject line (first line):
Body (optional, after blank line):
Footer (optional):
BREAKING CHANGE: descriptionCloses #123, Fixes #456Co-authored-by: Name <email>Basic format:
<type>(<scope>): <description>
[optional body]
[optional footer]
Examples:
feat(auth): add JWT token refresh mechanism
Implement automatic token refresh when access token expires.
Tokens are refreshed 5 minutes before expiration.
Closes #234
fix(api): handle null response in user endpoint
Previously crashed when user data was null.
Now returns 404 with appropriate error message.
Fixes #567
docs(readme): update installation instructions
Add prerequisites section and troubleshooting guide.
refactor(utils): simplify date formatting logic
Extract common date operations into helper functions.
No functionality changes.
chore(deps): upgrade react to v18.2.0
Update react and react-dom dependencies.
Update tests to match new API.
Multiple changes in one commit:
feat(dashboard): add user analytics and export
- Add analytics charts for user activity
- Implement CSV export functionality
- Add date range filter
Closes #123, #124
Breaking change:
feat(api)!: change authentication endpoint structure
BREAKING CHANGE: Auth endpoints now use /v2/auth prefix.
Update client code to use new endpoints.
Migration guide: docs/migration-v2.md
Revert commit:
revert: feat(auth): add JWT token refresh
This reverts commit abc123def456.
Reason: Causing issues in production.
Co-authored commit:
feat(search): implement fuzzy search algorithm
Co-authored-by: Jane Doe <[email protected]>
Good commit messages:
Bad commit messages:
git diff --stagedgit commit -m "type(scope): description"git add filesgit commitgit commit --amend
# Edit message in editor
git add -p # Stage hunks interactively
git commit # Write message for staged changes
Format: <type>[optional scope]: <description>
Required:
Optional:
Rules:
For complex scenarios:
npx claudepluginhub p/armanzeroeight-git-workflow-toolkit-plugins-git-workflow-toolkitGenerates clear, conventional commit messages from git diffs. Useful when writing commit messages, reviewing staged changes, or preparing commits.
Generates conventional commit messages from staged changes by analyzing git diffs and determining type, scope, and breaking changes.
Generates Conventional Commits messages for staged git changes and commits them. Follows v1.0.0 spec with types like feat, fix, refactor. Use for standardized commits or /commit invocation.