Skip to main content
Execute qualquer Skill no Manus
com um clique

commit-defense-loop

Estrelas1
Forks0
Atualizado11 de maio de 2026 às 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.

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

SKILL.md
readonly