- 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.
Commit
[Git] Use when asked to commit, stage and commit, or save changes. --push also pushes.
Commit by duc01226 · 6fc6411
npx get-skill add duc01226/commit-4 File contents
---name: commit-4description: '[Git] Use when asked to commit, stage and commit, or save changes. --push also pushes.'metadata: source: https://skillmd.com/skills/duc01226/commit-4 instruction-profile: concise---1. 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.2. 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.3. Resolve `commit.reviewMode` with `node .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.4. Give the review the exact commit descriptor, including paths and `"amend":true` when applicable; require a matching review receipt or policy-eligible skip via `.claude/hooks/lib/review-receipt.cjs` before committing, and refresh evidence after changes.5. Create and verify a concise conventional commit. Only when `commit.fixOriginTrailer: true`, add `Fix-Origin: feedback` (requested fix), `regression` (earlier defect), or `not-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-request` and report the result.
duc01226/easy-claude commit 6fc6411395
Frequently asked questions
Run npx get-skill add duc01226/commit-4 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
[Git] Use when asked to commit, stage and commit, or save changes. --push also pushes. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
duc01226 (@duc01226) published this skill. Their other Agent Skills are listed on their SkillMD profile.