OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add zhaono1/agent-playbook --skill commit-helper
Helps write Git commit messages following the Conventional Commits specification. Use this skill when the user asks to commit changes, write commit messages, format commits, or mentions git commits.
npx skills add zhaono1/agent-playbook --skill commit-helper
A skill for creating properly formatted Git commit messages following the Conventional Commits specification.
This skill activates when you:
| Type | Description |
|---|---|
feat | A new feature |
fix | A bug fix |
docs | Documentation only changes |
style | Changes that do not affect the meaning of the code (formatting, etc.) |
refactor | A code change that neither fixes a bug nor adds a feature |
perf | A code change that improves performance |
test | Adding missing tests or correcting existing tests |
chore | Changes to the build process or auxiliary tools |
ci | Changes to CI configuration files and scripts |
build | Changes that affect the build system or external dependencies |
The scope should indicate the area of the codebase affected:
components, hooks, store, styles, utilsapi, models, services, database, authci, deploy, dockerCloses #123, Fixes #456, Refs #789Closes #123, #456, #789BREAKING CHANGE: followed by descriptionWhen introducing breaking changes, add BREAKING CHANGE: to the footer:
When writing a commit message:
git diff to understand what changedUse the validation script to check commit message format:
references/conventional-commits.md for full specificationreferences/examples.md for more examplesreferences/scopes.md for recommended scope namingfix(api): resolve race condition in user creation
The concurrent user creation requests could result in duplicate
email entries. Added unique constraint and proper error handling.
Fixes #456refactor(user): simplify profile update logic
Extracted common validation logic into a reusable function
to reduce code duplication across profile update endpoints.docs: update API documentation with new endpoints
Added documentation for the v2 user management endpoints
including request/response examples and error codes.updated stuff # Too vague, no type/scope
fixed bug # No context about which bug
feat: added feature # Redundant ("feat" means new feature)
Feat(User): Add Login # Incorrect capitalization
feat: A really really really long subject line that exceeds the recommended limit # Too longfeat(api): migrate to REST v2
The API endpoints have been restructured for better consistency.
Old endpoints are deprecated and will be removed in v3.0.
BREAKING CHANGE: `/api/v1/users` is now `/api/v2/users`.
All consumers must update their integration by 2025-03-01.python3 scripts/validate_commit.py "feat(scope): add behavior"