Conventional Commits Prefixes
This is a reference article.
Reference articles are written with the help of AI agents, after we have managed to solve a problem.
TL;DR
- Use
feat:for new user-facing features andfix:for bug fixes.- Pick additional types (
docs:,refactor:,test:, etc.) as team conventions.- Mark breaking changes with
!(e.g.feat!:) or aBREAKING CHANGEfooter.
Standardized commit message prefixes from the Conventional Commits specification.
Required Types
The specification mandates these two types:
Common Additional Types
These types are not mandated by the specification but are widely used conventions from @commitlint/config-conventional (based on the Angular convention):