commit
Installation
SKILL.md
- Commit requested changes only; preserve other work. Load project configuration and matching skill overlays; never reconfirm commit/push. Follow root-linked tracking when present; re-stage its edits before candidate checks and refresh affected evidence; never block on tracking.
- Scan the exact pending commit content for secrets before committing; never commit credentials or .env files, and block on findings with redacted file/line/rule evidence. Run applicable checks; reuse unchanged passing evidence and stop on failures or unavailable required checks.
- Resolve
commit.reviewModewithnode .claude/scripts/lib/commit-review-policy.cjs --operation=commit --risk=<low|medium|high>; follow its selection (default$commit-review --fix-loop, at most three rounds), unless current matching review evidence already exists. - Give the review the exact commit descriptor, including paths and
"amend":truewhen applicable; require a matching review receipt or policy-eligible skip via.claude/hooks/lib/review-receipt.cjsbefore committing, and refresh evidence after changes. - Create and verify a concise conventional commit. Only when
commit.fixOriginTrailer: true, addFix-Origin: feedback(requested fix),regression(earlier defect), ornot-applicable(not a fix) to new commits; never reword history to add it; amend only on an explicit amend request for this task's unpushed commit; push only when requested; route PR requests to$pull-requestand report the result.