dev.conventional-commits
SKILL.md
Conventional Commits Guide
Core format
Use this structure:
<type>[optional scope][!]: <description>
[optional body]
[optional footer(s)]
- type: required; categorize the change.
- scope: optional; parenthesized area of the codebase.
- !: optional; mark a breaking change in the header.
- description: required; short, imperative summary.
- body: optional; longer explanation, wrap at ~72 chars.
- footer: optional; metadata and breaking-change notes.
Types
Use feat and fix at minimum:
feat: new feature (minor version bump)fix: bug fix (patch version bump)
Common additional types (only use if the repo allows):
build,chore,ci,docs,perf,refactor,revert,style,test
Breaking changes
Mark breaking changes in one of two ways:
- Add
!after type/scope:feat!: drop Node 16 support
- Add a footer:
BREAKING CHANGE: remove legacy auth endpoints
Breaking changes imply a major version bump.
Reverts
Use the conventional format:
revert: <summary of reverted commit>
This reverts commit <hash>.
Examples
feat(parser): add support for markdown tables
fix: handle empty config file
feat!: replace legacy auth flow
BREAKING CHANGE: legacy auth endpoints removed
docs(readme): add migration notes
Usage checklist
- Identify the change intent (feature, fix, docs, refactor, etc.).
- Decide whether a scope adds clarity; omit if it does not.
- Write a concise, imperative description.
- Add a body if you need rationale, tradeoffs, or migration notes.
- Add
!orBREAKING CHANGE:when the change is breaking.
Weekly Installs
1
Repository
kevinslin/skillsGitHub Stars
8
First Seen
8 days ago
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1