Commit Standards
Overview
All commits follow Conventional Commits for a clear, structured history that enables automated versioning and changelog generation via Changesets. Every commit message must include a type, an optional scope, and a concise description in the imperative mood.
Rules
Follow Conventional Commits Format
Every commit message uses the format type(scope): description. The type indicates the category of change, the scope identifies the affected area, and the description starts with a lowercase verb in present tense.
Correct
Incorrect
Use Correct Scopes
Scopes identify what part of the codebase changed. Use directory-style paths for packages and short labels for cross-cutting concerns.
Correct
Mark Breaking Changes
Breaking changes must include ! after the scope and a BREAKING CHANGE: footer. Mark as breaking when removing or renaming public APIs, changing config schema, or modifying CLI flags.
Correct
Include Body and Footer When Needed
Use the body to explain why the change was made and what problem it solves. Use the footer for issue references, co-authors, and breaking change descriptions.
Correct
Make Atomic Commits
Each commit should represent one logical change, build and pass checks independently, and be revertable without side effects.