Default Type Selection Matrix
Pack:
engineeringParent skill: Write Intentional Commit Message Source:engineering/write-intentional-commit-message/references/default-type-selection-matrix.mdChoose type by effect, not by file type.
Default mapping:
feat: adds a new capabilityfix: corrects broken behaviorrefactor: changes structure or direction without adding a net-new capabilitydocs: documentation-only changechore: tooling, maintenance, CI, automation, or housekeepingtest: adds or changes tests without changing product behavior
Common mistakes:
- using
docsbecause README changed, even though the real change is architectural - using
chorebecause the diff is big - using
featfor a refactor that only reorganizes existing behavior
Commit splitting rule:
- one commit should tell one coherent story
- if the message needs
and, the commit may be too broad
Amend rule:
- amend when the new changes still serve the same original intent
- make a new commit when the intent changed