Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

commit-defense-loop

스타1
포크0
업데이트2026년 5월 11일 02:53

Defend a `git commit` blocked by the `second-opinion-commit-gate.sh` Claude Code hook (a non-Claude `codex review` on the staged diff). Triage each `[P0]` finding into worth-fixing / wrong-analysis / not-worth-fixing, fix the real ones with regression tests, retry the commit, and loop until it lands clean or you push back via `[skip-review]` with documented reasoning. Use this whenever the user asks to "run a commit defense loop", "fix the second-opinion findings", "address the P0s and retry the commit", "babysit this commit through the gate", "make the hook happy", or whenever a `git commit` tool call fails with `=== second-opinion BLOCKING ===` in stderr — even if the user doesn't name the skill, this is the workflow that turns hook output into real fixes instead of reflexive `[skip-review]` dismissals. Sibling to `pr-defense-loop` but tighter (single turn, no ScheduleWakeup, no /tmp state) because each iteration costs ~60s of hook latency, not minutes of waiting on external bots.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly