skills/critique/SKILL.md
Critique all unpushed commits before pushing to remote
npx skillsauth add RobinNorberg/oh-my-copilot critiqueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<Use_When>
/critique<Do_Not_Use_When>
/review or code-reviewer agent instead/deep-review insteadsecurity-reviewer agent directly
</Do_Not_Use_When><Why_This_Exists> Claude writes code confidently. Too confidently. Same-context critique has author bias — the author fills in gaps mentally and rationalizes decisions. An independent subagent only sees the artifact and the codebase, catching flaws the author is blind to. This is the last line of defense before code reaches the remote. </Why_This_Exists>
<Execution_Policy>
Gather context (run in parallel):
git log <range> --format="%h %s" git diff <range> --statgit diff <range>git diff <range> --stat plus targeted git diff <range> -- <file> for the most critical files (prioritize: security-sensitive, core logic, new files)Spawn independent devils-advocate agent:
Task(subagent_type="oh-my-copilot:devils-advocate", model="opus", name="critique", prompt="
INDEPENDENT PRE-PUSH CRITIQUE
Review the following unpushed commits for flaws, suboptimal code, insufficient implementation,
faults, and broken behavior. You are an independent reviewer — the author cannot see your
investigation process, only your final report.
## Commits
[paste commit log here]
## Changed Files
[paste diff stat here]
## Full Diff
[paste diff here]
Produce a structured Pre-Push Critique report with PASS/FAIL for each criterion,
file:line citations and proposed fixes for every FAIL, and a clear PUSH or FIX FIRST recommendation.
")
Present results: Display the structured critique report to the user exactly as returned by the agent.
Ask the user: Based on the recommendation:
<Tool_Usage>
git log and git diff to gather commit and diff dataTask(subagent_type="oh-my-copilot:devils-advocate", ...) to spawn the independent reviewer<Output_Format> [Display the full Pre-Push Critique report from the devils-advocate agent]
Recommendation: PUSH / FIX FIRST [If FIX FIRST, list the critical FAILs that need attention]
Proceed with push, or fix the issues first? </Output_Format>
<Final_Checklist>
tools
Durable multi-goal workflow that persists plan/ledger artifacts under .omcp/ultragoal and prints Claude /goal handoff text for the active session
tools
testing
Evidence-driven tracing lane that orchestrates competing tracer hypotheses in Claude built-in team mode
tools
Consensus planning entrypoint that auto-gates vague ralph/autopilot/team requests before execution