adversarial-qa
Exploratory QA of a running feature through its UI (Playwright) and/or API (curl) to find issues the plan and committed tests…
Critiques a draft implementation plan with pre-mortem, inversion, load-bearing-assumption and consistency checks; returns findings, suggested amendments, and a confidence verdict. Use when the user asks to review, challenge, or stress-test a plan before implementation.
Claude Code
$ npx -y skills add cunhaax/ai-workflow --skill plan-critic --agent claude-code
Codex
$ npx skills add cunhaax/ai-workflow --skill plan-critic -a codex -y
Cursor
$ npx skills add cunhaax/ai-workflow --skill plan-critic -a cursor -y
Gemini CLI
$ npx skills add cunhaax/ai-workflow --skill plan-critic -a gemini-cli -y
GitHub Copilot
$ npx skills add cunhaax/ai-workflow --skill plan-critic -a github-copilot -y
OpenCode
$ npx skills add cunhaax/ai-workflow --skill plan-critic -a opencode -y
Windsurf
$ npx skills add cunhaax/ai-workflow --skill plan-critic -a windsurf -y
name: plan-critic description: > Critiques a draft implementation plan with pre-mortem, inversion, load-bearing-assumption and consistency checks; returns findings, suggested amendments, and a confidence verdict. Use when the user asks to review, challenge, or stress-test a plan before implementation. license: MIT metadata: author: André Cunha
Find weaknesses in a draft plan before code is written. Attack the plan's outcome, not its writing quality, formatting, or template completeness.
when given, also judge whether the plan still applies, and return LOW confidence if not
module-level `AGENTS.md`
Lenses direct extra attention while applying the methods (step 3). They are not a separate checklist; no severity or structure required.
— new data or rendering paths reaching public surfaces, logs, analytics, or URLs
1. Repo-root `AGENTS.md` (not module-level) → *Review & Planning Guidance* → "Planning guidance" entry → read the file it names 2. No such section/entry → `docs/agent-rules/plan-critic.md` 3. Entry names a missing file → treat as no file found, and say so specifically in Confidence
applies the same way
<!-- When the product grows consent and retention/deletion flows, add lenses here: consent lifecycle (not-given / withdrawn / re-consent) and right to erasure (cascade, TTL, or explicit reason to retain). -->
Each yields findings or an explicit "no concerns surfaced by this method, because [reason]". Never skip silently.
1. **Pre-mortem**: assume it shipped 30 days ago and caused a production incident, support escalation, or regulatory complaint
2. **Inversion**: read the plan as a recipe for failure
following the plan that yield a broken or unsafe feature 3. **Load-bearing assumptions**: list the 3 most load-bearing (user behaviour, data shape, system state, regulation, third-party behaviour, scale)
4. **Consistency**: check ADRs and product docs/vision
Markdown, concerns first, in this format:
### Pre-mortem Scenarios - [scenario]: [whether the plan handles it; if not, the specific gap] ### Inversion Findings - [gap]: [how the plan permits the broken outcome; suggested constraint] ### Load-bearing Assumptions - [assumption]: [what happens if wrong; whether the plan is robust] ### Consistency Issues - [contradiction]: [the relevant ADR/doc and the conflict] ### Suggested Plan Amendments [Concrete amendments, phrased as suggestions, not edits — the developer decides.] ### Confidence [HIGH / MEDIUM / LOW, with one sentence of justification.]
*Suggested Plan Amendments*
Turns Claude Code into a small development team instead of one agent guessing alone — with a git-level gate that keeps the humans in charge of what actually ships.
Exploratory QA of a running feature through its UI (Playwright) and/or API (curl) to find issues the plan and committed tests…
Reviews code changes against project standards and the approved plan; returns PASS/FAIL/NEEDS_DECISION per checklist item plus…
Runs the full AI-assisted workflow for a non-trivial feature or change: plan, plan critique, user approval, implementation with…
Sets up and checks the AI workflow in a project that has this plugin installed: scaffolds missing AGENTS.md, CLAUDE.md, hooks,…
Drafts a structured implementation plan (approval summary with acceptance criteria, contract, files, edge cases, test strategy)…
Computes a PR's Tier floor and unplanned-changes list with a bundled read-only script, then writes the PR's Tier line and Review…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.