.agents/skills/conventional-commit/SKILL.md
<type>(<scope>): <description>
[optional body]
[optional footer(s)]
| Type | When to use |
|---|---|
feat | A new feature |
fix | A bug fix |
docs | Documentation changes, no code |
style | Formatting, missing semicolons, etc. (no logic change) |
refactor | Code change that is neither a fix nor a feature |
perf | Performance improvement |
test | Adding or correcting tests |
ci | CI configuration changes |
chore | Maintenance tasks (updating deps, tooling, etc.) |
revert | Reverts a previous commit |
Append ! after the type/scope to signal a breaking change: feat!: or feat(api)!:
When a change breaks existing behavior, both markers are mandatory: the ! suffix on the type
and the BREAKING CHANGE: footer. They always appear together — never one without the other.
Optional. Use the name of the area affected, e.g., segment, cache, config, ui.
Omit when the change is truly cross-cutting.
added, fixed, bumped, implemented → ✓ add, fix, bump, implement.updated, added,
bumped, was removed, got regenerated), convert them to imperative before writing the
description: update, add, bump, remove, regenerate.Optional. Add context about why the change was made, not what. The diff shows that. Wrap at 72 characters.
Use for:
BREAKING CHANGE: <description> (required when ! is used; explains the break).Closes #123, Fixes #456.Co-Authored-By: Name <email>.git status to review changed files.git diff and git diff --cached to inspect staged and unstaged changes.!
after the type/scope and add a BREAKING CHANGE: footer. Both markers are always required
together.git add -A).feat(segment): add Ramadan segment with Aladhan API
fix(cache): always store mod time
docs(readme): update installation instructions
refactor(config): simplify option parsing logic
chore(deps): bump github.com/shirou/gopsutil/v4
feat(segment)!: rename template property StartTime to Start
BREAKING CHANGE: template strings using .StartTime must be updated to .Start
! after type/scope and BREAKING CHANGE: footer are present whenever the change breaks existing behavior