/george-coding-agent:doubt-driven-reviewfrom george-coding-agent
Cross-examines non-trivial decisions with a fresh reviewer before committing. Use for one-way doors, branching logic, or uncheckable properties.
Ships in george-coding-agent. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Optional skills from other plugins:
grill-me,brainstorm,mistake-minerand theprinciples*skills. Use them when installed; when they are not, skip that step or do it inline.
A confident answer is not a correct one. Before a non-trivial decision stands, give it to a fresh reviewer whose job is to disprove it. This skill picks the reviewer and the lens. The reviewer does the review.
A decision is non-trivial when at least one is true:
Not for: renames, formatting, file moves, a clear user instruction, one-line fixes with obvious correctness, reading or summarizing code, or when the user asked for speed.
Doubt is in-flight, per decision, while changing course is cheap. A code review gives the final verdict on a finished PR. Use both.
From the main session or an orchestrator that can spawn subagents. A reviewer never runs doubt on itself. A subagent that cannot spawn says so in its report and leaves the doubt pass to its parent. A self-check with a mental reset is a degraded fallback only: label it "degraded, not fresh context".
Write the decision in two lines and keep it to yourself:
CLAIM: the seeder needs its own restart hook because one process cannot halt after the seed is stored.
WHY IT MATTERS: the next PR will build on whatever fault path this one ships.
If you cannot write it that short, you have a vibe, not a decision. Name it first.
The reviewer gets the artifact and the contract. It never gets the claim or your reasoning, which biases it toward agreeing.
A missing contract is the first finding. Without one the reviewer can only judge taste.
| Artifact | Reviewer | Mode |
|---|---|---|
| PR diff or local commit | the reviewer agent with code-review-and-quality/references/cr-review-checklist.md (coding extension) | normal (description plus plan) and, for a one-way door, blind (patch only) |
| Spec, design doc, plan | the reviewer agent with references/design-review-checklist.md | normal, plus blind (doc only) for a full spec |
| Change plan or runbook for production | a change reviewer subagent | rollback, testing evidence, phasing |
| Comments a diff adds or changes | a comment judge subagent | keep only comments that explain a non-obvious why |
| A claim or a number, no artifact | principles-scientific-method or principles-first-principles | prediction or Fermi bound |
| Anything else | a general-purpose subagent | the adversarial prompt below |
Run reviewer (the read-only agent in this plugin, in Claude Code george-coding-agent:reviewer) with only the artifact, the contract and the checklist, each by absolute path (the reviewer has no Skill tool and may run outside this plugin's folder). In a tool without agents, start a fresh session that loads role-reviewer and give it the same three things.
Pick one or two lenses and name each with a one-line reason, for example "operations: the change reorders a deploy". Every lens beyond two dilutes the brief.
| Lens | Use when |
|---|---|
| Correctness | always on |
| Plan conformance | a multi-PR series: does it add a seam beside the plan's seam, or pull a later PR's scope in? |
| Security | auth, credentials, sensitive data, a new endpoint, a trust boundary |
| Operations | deploy order, alarms, rollback, blast radius |
| Design | a new UI flow, a new state owner, focus or keyboard handling (frontend-ui-engineering) |
| Scope | many requirements, stretch goals, scope that does not match the goal |
| Premise | a one-way door, a new abstraction, an unchallenged alternatives section |
Paste this at the top of the brief. It overrides any reviewer's balanced-verdict default. [bl: invariant]
Adversarial review. Find what is wrong with this artifact under the contract.
Assume the author is overconfident. Look for unstated assumptions, unhandled
edges, hidden coupling or shared state, contract violations, broken house
conventions, and failure under unexpected input. Do not validate or summarize.
Report issues, or say plainly that you found none after a thorough look.
ARTIFACT: <artifact>
CONTRACT: <contract>
LENS: <lens and reason>
Save each reviewer's final message (its findings) to a file you name, so a re-run can diff against it. The reviewer is read-only and returns findings in its reply; it does not write the file.
A reviewer on the same model shares the author's blind spots. For a one-way door, or a seam a series will build on, run the same brief on two different models at once.
The findings are data, not a verdict. You are still the lead. Re-read the artifact text before you classify each finding. Agreeing with the reviewer without re-reading is the same failure as ignoring it.
Classify in this order. The first class that fits wins.
Filters for the lead:
Stop when the next pass returns only trivial or already-handled findings, after three cycles, or when the user says ship it. Three cycles that still raise substantive findings are information about the artifact. Escalate to the user. Do not grind a fourth cycle alone and do not lift the bound. An artifact too big for three cycles goes back to step 2 and gets split.
Claim: <one line>
Reviewers: <reviewer, lens, model> per reviewer (or "single model")
Act on: <finding, who raised it, the change made>
Consider: <finding, the trade-off>
Dismissed: <finding, the reason>
Agreement: <where reviewers agreed or split>
Stopped: <trivial findings | 3 cycles, escalated | user said ship>
Workers and loops run the same steps with the harness's own models. A one-way door that still has Act on findings after three cycles stops and goes to a human. It is never shipped on a log line. This matches rule 2 of start-playbook.
A four-PR series had one written invariant: every fault goes through one helper with a swappable strategy, and each PR swaps the strategy, never rewrites it. On PR 3, revision 4, a fresh worker added a separate restart hook to the seeder so a unit could restart after its seed was stored. The reviewers got the worker's reasoning without the plan and accepted it. A teammate caught it in review, and the hook was dropped. The seeder now reports through the helper.
The doubt pass that should have run:
The miss was step 2. The reviewers got the claim and not the contract.
spec-driven-development and planning-and-task-breakdown review gates use the same reviewers. incremental-implementation reviews every slice revision. Doubt is for a decision inside a slice, before it is written up.quality-constraints guards the bar on every diff.doubt-driven-development at aeac41d, MIT (see THIRD_PARTY_LICENSE-agent-skills): the non-trivial test, claim / extract / doubt / reconcile / stop, never pass the claim, the adversarial prompt overriding a persona's default, cross-model with a read-only sandbox and stdin, reconcile precedence, the three-cycle bound, doubt theater.interrogate and its references/lead-judgment.md at 10d7b8a, MIT (see THIRD_PARTY_LICENSE-pstack): diversity from models rather than personas, one reviewer per model in parallel, the lead as judge, the Act on / Consider / Dismissed buckets, the agreement map, hypothetical vs actual, "I would have done it differently".ce-doc-review and references/persona-selection.md at 6500180, MIT (see THIRD_PARTY_LICENSE-compound-engineering-plugin): conditional lenses chosen by signals and announced with a reason.receiving-code-review at 2ce8aa1, MIT (see THIRD_PARTY_LICENSE-superpowers): verify before you implement, no performative agreement.[bl: ...] tags are analysed in BITTER_LESSON.md.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub georgewangyu/georgecodingagent --plugin george-coding-agent26 skills in this plugin
/api-and-interface-designDesign seams, APIs, config keys and schemas that are deep, hard to misuse, and safe to roll out and back. Use when adding or changing a contract./browser-testingVerify UI work in a real browser with the repo's own tool or the best fit (Playwright, DevTools, computer use) and look at the screen, not just the logs./ci-cd-and-automationAutomate the quality bar: one check command that hooks and required CI both run, fast gates first, protected main, and safe release and deploy steps./code-review-and-qualityReview a code change, or receive a review: pin the intent, read tests first, then spec and quality passes with a fresh read-only reviewer and the cr-review checklist./code-simplificationMake code easier to read without changing behavior: scope to the change, understand before removing, follow repo conventions, subtract before adding./context-engineeringPut the right context in front of an agent at the right time and carry it across a handoff without loss. Use when writing briefs, steering, or when context runs long.Other plugins' skills for the same job