Dispatches 3 independent skeptic agents to aggressively find defects in a spec or design doc—ambiguity, missing requirements, contradictory requirements, and untestable acceptance criteria—keeping only findings confirmed by a 2-of-3 majority.
Ships in plan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Dispatch a panel of independent skeptic agents whose only job is to break a spec before anyone writes a plan or code against it. At spec stage there is no code to test, so the attack surface is the language of the spec itself: ambiguity, gaps, contradictions, and acceptance criteria that cannot actually be verified.
A skeptic plays the role of a hostile or careless implementer who will satisfy the letter of the spec while violating its intent. Anything they can twist is a defect in the spec, not the implementer.
Announce at start: "I'm using the spec-validator skill to attack this spec with an independent skeptic panel."
plan-validator) or code (use implementation-validator).Three things turn an ordinary review into adversarial findings. All three are required:
Aggressive framing raises recall (catches more real holes) but lowers precision (more noise). The majority quorum restores precision. One without the other is a bad trade.
Fill the template in Skeptic Prompt Template below. Keep the framing verbatim — the "default to reject" and "your final message MUST be JSON" clauses are load-bearing.
Spawn the 3 skeptics in parallel via invoke_subagent so they run concurrently and
independently. Use TypeName: research (or research-google / self instructed to stay
read-only if the spec lives in files they must read). Do not let them share a
scratchpad — independence is what makes the vote mean something.
Each agent's final message is a fenced JSON block (see Output Contract). Parse all three. If an agent returns prose instead of JSON, re-dispatch that one — do not hand-guess its findings.
Three skeptics will phrase the same hole three different ways. Group findings by a stable
identity, not by exact wording. Use id (a kebab-case slug each agent assigns) plus the
quoted clause. If you tally on raw text you get three 1-vote findings and nothing reaches
quorum.
Tuning the gate: 2-of-3 is the default. For a high-stakes or security-sensitive spec, drop to any-one (1 of 3) for maximum recall and triage the noise yourself. When fix-churn is expensive, raise to unanimous (3 of 3).
Write the aggregated result as a Markdown report to
plans/active_milestones/{moniker}/adversarial-reviews/spec-validation.md (create the
folder if it does not exist). Derive {moniker} from the spec's path — the spec you
reviewed lives at plans/active_milestones/{moniker}/spec.md; if you were handed a bare
spec with no milestone, write to plans/adversarial-reviews/spec-validation.md and say so.
Always write this file, even on a clean pass — "zero confirmed findings, here is what
was attacked" is itself the evidence the gate produced. A re-run after a material revision
goes to spec-validation-r2.md, -r3.md, … so every round is preserved for comparison.
Fill the The Review Document template below verbatim.
tightening to the spec (or surface it to the user if it changes intent).Dispatch this three times, unchanged, via invoke_subagent. Replace only {SPEC}
(and {CONTEXT} if any).
You are an adversarial spec reviewer. You will implement this spec as literally and
lazily as a hostile or careless engineer could. Your goal is to find every way the
letter of this spec can be satisfied while its intent is violated, and every place it
is ambiguous, incomplete, contradictory, or untestable.
SPEC:
{SPEC}
ADDITIONAL CONTEXT (constraints the spec relies on but may not restate):
{CONTEXT}
Attack the spec across these categories:
- Ambiguity: a requirement readable two ways — pick the damaging reading.
- Missing requirements: error behavior, empty/null/huge inputs, concurrency and
ordering, auth, limits, units, time, backward compatibility.
- Contradictions: two requirements that cannot both hold; architecture vs. features.
- Untestable acceptance criteria: vague words with no measurable threshold.
- Malicious compliance: the laziest implementation that passes every stated criterion
yet is useless.
Be skeptical. DEFAULT TO REJECT: if you are unsure whether something is a hole, report
it. The spec is "ready" only if you genuinely cannot find a damaging interpretation —
and if so you must still list what you attacked and why each attack failed.
For each finding assign a STABLE id: a short kebab-case slug naming the hole
(e.g. "empty-input-undefined", "timeout-no-threshold"). Two reviewers describing the
same hole should plausibly choose the same slug.
Your final message MUST be exactly one fenced JSON block and nothing else, matching:
```json
{
"findings": [
{
"id": "kebab-case-stable-slug",
"clause": "verbatim quote of the offending requirement, or \"<MISSING>\" if absent",
"interpretation": "the malicious or literal reading this permits",
"harm": "the user-facing or downstream consequence",
"severity": "high|medium|low",
"tightening": "a concrete reworded/added requirement that closes the gap"
}
],
"attacks_that_failed": ["short note for each serious attack you tried that did NOT find a hole"]
}
## Output Contract
Each skeptic returns the JSON above. The orchestrator (you) aggregates into:
```json
{
"confirmed": [ { "id": "...", "votes": 3, "severity": "high", "clause": "...", "tightening": "..." } ],
"unconfirmed": [ { "id": "...", "votes": 1, "...": "..." } ]
}
This is what step 7 writes to
plans/active_milestones/{moniker}/adversarial-reviews/spec-validation.md. It is the
human-readable face of the JSON above — a reviewer should grasp the verdict without ever
opening an agent transcript. Use date +%Y-%m-%d for the date. Severity icons: 🔴 high ·
🟠 medium · 🟡 low. Order confirmed findings highest-severity first. Keep every section,
even when empty (write _None._).
# Spec Adversarial Review — {spec title}
> `spec-validator` · 3 independent skeptics, no shared scratchpad · default-to-reject · {2-of-3} majority gate
| Field | Value |
|---|---|
| Milestone | `{moniker}` |
| Artifact | `plans/active_milestones/{moniker}/spec.md` |
| Date | {YYYY-MM-DD} |
| Gate | {2-of-3 · any-one · unanimous} |
| Result | **{N} confirmed · {M} unconfirmed** — highest severity **{high}** |
## Verdict
{1–3 plain-language sentences: is the spec ready to plan against, or what blocks it?}
## Confirmed Findings (≥ 2 votes)
> Fold each **Tightening** into the spec before any plan is drafted.
### 🔴 `{id}` — {one-line name} · {votes}/3
- **Clause:** "{verbatim quote, or `<MISSING>`}"
- **Malicious reading:** {the damaging interpretation this permits}
- **Harm:** {user-facing or downstream consequence}
- **Tightening:** {the concrete reworded / added requirement that closes it}
_(repeat per confirmed finding)_
## Unconfirmed (FYI · 1 vote)
| `id` | severity | clause | note |
|---|---|---|---|
| `{id}` | 🟠 medium | "{clause}" | surfaced for the author to confirm intent |
## Attacks That Failed
- {short note per serious attack that found no hole} — corroborates the spec holds here.
## Actions Taken
- [x] Folded `{id}` tightening into spec §{n}
- [ ] Surfaced `{id}` (unconfirmed) to the user
- [ ] Re-ran panel on revision → `spec-validation-r2.md` _(or: not needed)_
Spec excerpt: "The export endpoint returns the user's records as a downloadable file."
Three skeptics dispatched. Results after dedup + majority gate:
Confirmed (≥2 votes):
format-unspecified (3 votes, high) — "downloadable file" names no format. Malicious read: return an empty .txt. Tightening: "returns a UTF-8 CSV with header row matching the schema in §2; one record per row."no-pagination-limit (2 votes, high) — no bound on record count. Malicious read: stream 10M rows, OOM the server. Tightening: "records exceeding 50k are paginated via ?cursor=; a single response returns ≤ 50k rows."Unconfirmed (1 vote, FYI):
auth-on-export (1 vote, medium) — spec doesn't restate that export honors row-level access. Surfaced for the author to confirm intent.The two confirmed holes get written into the spec before any plan is drafted.
| Thought | Reality |
|---|---|
| "The spec looks thorough, one skeptic is enough." | One agent trends toward agreement. The vote needs ≥3 independent runs. |
| "I'll let the three agents collaborate." | Shared context collapses them toward consensus; the vote becomes meaningless. |
| "Only 1 skeptic flagged it, so ignore it." | Log it as unconfirmed. That tail is the recall you paid for. |
| "I'll paraphrase their findings together." | Dedup on stable id + quoted clause, not by re-summarizing — or real holes vanish in the merge. |
| "An agent returned prose, I'll interpret it." | Re-dispatch for valid JSON. Don't guess the contract. |
The quorum's value is not only deletion. Skeptics frequently over-rate severity under adversarial framing. When agreeing skeptics disagree on severity, the aggregation step is doing real work: a hole two reviewers call "high" and one calls "medium" lands at high, but the spread itself tells you the finding is real and the impact is debatable — worth a sentence to the user rather than a silent edit.
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/architectThe Chief Software Architect. Manages the roadmap, prioritizes tasks, and creates detailed implementation plans./auditorThe Quality & Consistency Gatekeeper. Verifies tests, checks for regression, and ensures the active Plan matches the Codebase reality./engineerThe Expert Builder. Implements changes using TDD, Strangler Fig, and Gather-Calculate-Scatter patterns./implementation-validatorUse after code is written and before merge, to confirm the implementation actually does what it claims. Dispatches independent skeptic agents that read the diff and surrounding code with a default-to-reject posture, hunt for real defects (or refute explicit acceptance claims), and assign a corrected severity — keeping only findings confirmed by a 2-of-3 majority. Symptoms - "validate this implementation", "did this actually work", "review this diff adversarially", "verify these findings are real", after completing a feature/task, before merging to main./ddobrin-plan-plugins-plan:spec-validatorfrom plan
Generated from the plugin's indexed repository (ddobrin/plan-skills) — no native marketplace selected
npx claudepluginhub p/ddobrin-plan-plugins-planOther plugins' skills for the same job