Install
openclaw skills install commit-message-writingStrict Conventional Commits v1.0.0, atomic commit discipline, and Trunk-Based Development guardrails for git work. Use when preparing a commit, staging changes, writing or revising a commit message, deciding whether to split changes, planning branch strategy for a feature/bug/fix, opening or reviewing pull requests, or after finishing any meaningful implementation unit.
openclaw skills install commit-message-writingEvery commit: valid Conventional Commit, atomic, on the right short-lived branch.
git status --short and git diff --stat.<type>[optional scope][!]: <imperative lowercase description>
[optional body]
[optional footer(s)]
scripts/validate_commit_message.py before committing.: .Token: value. Hyphens in tokens except BREAKING CHANGE.! and/or BREAKING CHANGE: footer for breaking changes.WIP, misc, update, or vague summaries.| Type | When | SemVer |
|---|---|---|
feat | new feature | minor |
fix | bug fix | patch |
refactor | restructure, no behavior change | none |
perf | performance improvement | none (patch if fixes bug) |
docs | documentation only | none |
test | tests only | none |
build | build system / deps | none |
ci | CI/CD changes | none |
chore | maintenance / tooling | none |
style | formatting only | none |
revert | revert prior commit | depends |
Use a consistent noun for the dominant area. Omit only when truly cross-cutting. Never multiple scopes in one commit line.
Split when:
One type, one intent per commit. If you can't describe it that way, split.
python3 scripts/validate_commit_message.py --message "feat(auth): add otp fallback"