adversarial-qa
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 open questions. Use when the user asks for a code review of a branch or change, or after implementation and before opening a PR.
Claude Code
$ npx -y skills add cunhaax/ai-workflow --skill code-critic --agent claude-code
Codex
$ npx skills add cunhaax/ai-workflow --skill code-critic -a codex -y
Cursor
$ npx skills add cunhaax/ai-workflow --skill code-critic -a cursor -y
Gemini CLI
$ npx skills add cunhaax/ai-workflow --skill code-critic -a gemini-cli -y
GitHub Copilot
$ npx skills add cunhaax/ai-workflow --skill code-critic -a github-copilot -y
OpenCode
$ npx skills add cunhaax/ai-workflow --skill code-critic -a opencode -y
Windsurf
$ npx skills add cunhaax/ai-workflow --skill code-critic -a windsurf -y
name: code-critic description: > Reviews code changes against project standards and the approved plan; returns PASS/FAIL/NEEDS_DECISION per checklist item plus open questions. Use when the user asks for a code review of a branch or change, or after implementation and before opening a PR. license: MIT metadata: author: André Cunha
Review code changes against project standards.
Stance: the implementation is a hypothesis under attack. Assume something is wrong and try to disconfirm it; don't verify that it "looks reasonable". No fault found after genuine effort → state that explicitly (*Disconfirmation Attempt*). Apply the same stance to the tests (see *Tests*).
`git log -p <default-branch>..HEAD`; default branch from `AGENTS.md` → *Commands*
relevant → say so explicitly (silence reads as skipped)
Per plan section:
committed test tagged `[AC-<slug>-n]` that would fail if the criterion broke. Missing → `FAIL`
Missing → `FAIL`
checks above, each ID instead needs a tagged walkthrough in the plan's Test Strategy and a recorded passing result for it in the test evidence. Missing or failed → `FAIL`; not run → `FAIL` unless the evidence records the user waived it
shapes, error rendering, schema match. Undiscussed deviation → `FAIL`
when Contract is "None"): nullable/non-null and optional/required are part of the contract
signature; don't infer from the tests' inputs
documents an approved deviation
steps accounted for
listed but untouched) → undiscussed change; flag, judge scope
into it as scope creep
paraphrase the plan
suite ran and passed, not as independent proof
on the reviewed state"; never assume green
**Single responsibility**
user path, parsing inside persistence):
change
`NEEDS_DECISION` (flag the debt; developer chooses refactor / tech debt / accept)
**Error handling**
controllers, scheduled jobs, async entry points) a catch-all that logs and translates to a domain error is fine; judge by where it lives
**Naming**
**Tests** (you own quality AND completeness)
below as the plan's walkthroughs plus any extra ones recorded in the test evidence; only a passing or waived one covers anything. No plan → a coverage gap is an Open Question ("no walkthrough evidence"), not a `FAIL`
tests. Exempt: trivial delegators, generated code, plain data classes, pure getters. State each exemption and why
that passes regardless of correctness (expression compared to itself) proves nothing
pass the suite → `FAIL`, unless the input documents an approved plan deviation
that would fail if it broke; every branch the implementation introduces (error paths, validation failures, authorization denials, empty/null) is exercised
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…
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,…
Critiques a draft implementation plan with pre-mortem, inversion, load-bearing-assumption and consistency checks; returns…
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.