Commit
[Git] Use when asked to commit, stage and commit, or save changes.
by duc01226 · MIT
The skill
[Git] Use when asked to commit, stage and commit, or save changes. --push also pushes.
- 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 two 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.
Use this skill
Connect your agent to the Skill Store MCP server and ask for it by ref: duc01226/commit-44330370729.
Details
- Publisher
- duc01226
- Category
- Software Development › Source control & code review
- License
- MIT
- Updated
- 2026-10-18
References
More from duc01226
- Template Skill [Category] Use when defining the standard skill description pattern.
- Ai Context Refresh [Documentation] Use when generating, smart-merging or refactoring the root AI context (CLAUDE.md,…
- Ai Engineering Review [Code Quality] Use when a workflow step or the user asks for AI code or plan review: LLM calls, p…
- Architecture [Architecture] Use when a workflow step or the user asks for architecture design, compliance revi…