Attack a change folder's tasks.md before the build with three fresh reviewers (can each task be built as written, what breaks, what is over-built); you decide every finding, and tasks.md changes only on your word.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Spec.Challenge?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ivan-ii-tech-digital-spec-challenge)
---
name: spec.challenge
description: Attack a change folder's tasks.md before the build with three fresh reviewers (can each task be built as written, what breaks, what is over-built); you decide every finding, and tasks.md changes only on your word.
argument-hint: <CHANGE_DIR> [--set <seat>.<field>=<value> ...]
disable-model-invocation: true
model: opus
---
## Input
```text
$ARGUMENTS
```
The plan check between `tasks.md` and the build. Three fresh agents, the `spec-challenge` team (`executor`, `breaker`,
`simplicity`; `spawn: fresh` by default, so none has seen `CLAUDE.md`, memory or this conversation), each attack the
plan from one angle and write their findings into the change folder. You read their verdict lines, the executor's
paraphrase and the finding lists, never the spec files; you put every finding to the user and change `tasks.md` only
for what the user accepts. `/spec.implement` (once it has written `tasks.md`) offers this run as one yes/no question
and never starts it unasked; then it follows this file.
## Steps
1. **Folder.** `ak-resolve-change-dir "<path>" --json`, or with no path on a change branch
`ak-resolve-change-dir --json`: read `CHANGE_DIR`, `CHANGE_SLUG` and `CHANGE_WORKTREE` (`<WT>`). No
`5-implementation/tasks.md`: say there is nothing to challenge yet (`/spec.implement` writes it and offers this
run) and stop. `baseline:` in `.change.yaml`: the build has started; say so and stop.
2. **Team.** `ak-resolve-team spec-challenge --team "${CLAUDE_PLUGIN_ROOT}/teams/spec-challenge/team.json" --project
<WT>` plus any `--set` from the input, to `<scratchpad>/team.resolved.json`; print its summary line and warnings.
Non-zero exit: print every error, spawn nothing, stop. Command not found: enable `ak-team@agent-kit` and stop.
3. **Attack, in parallel.** Spawn the `executor`, `breaker` and `simplicity` agents in one message, as the
`spawn-team-with-command-model` skill says (invoke it first): the roster's `model` and `spawn`. Each prompt names
its `readFirst`, `roleFile` and `instructionsFile`, this file (`${CLAUDE_PLUGIN_ROOT}/skills/spec.challenge/SKILL.md`,
section Procedure), `.agent-kit/stack.md` and `.agent-kit/product.md` when present (a fresh agent knows no project
rule), `CHANGE_DIR`, `<WT>`, the step (`simplicity`: "First pass") and its output path, absolute.
4. **Check each file.** Headings (`grep -n '^#'`) against the Procedure's shape, then `ak-check-citations --root <WT>
<file>` (ak-team): every finding's `path:line` exists and its Evidence line is found there. Failures go back to
that agent once (resume it with the `FAIL` lines); a finding that still fails is left out and named in the report
as unverified. Then stop the three agents.
5. **The user decides.** One `clarify-first` batch; number the findings `#1`… across the seats, the same problem
from two seats merged into one (the higher severity kept):
- the executor's paraphrase first: "Is this what the plan means? yes / what differs". A difference is an accepted
finding: what the user says differs is what `tasks.md` must make clear.
- one question per finding: its title, issue and proposed change; the answers are accept, another change (in the
user's words) or reject, with the reason.
- one per `Fails if` line: add a task for its cheapest test, accept the risk, or strike the line.
The answers go to `<CHANGE_DIR>/clarifications.md`. Nothing changes before they are in.
6. **Fold in** only what the user accepted (nothing accepted: go to step 8). First copy `tasks.md` to
`<scratchpad>/tasks.before.md`. The edit is made by the agent that wrote `tasks.md` while it still runs (in
`/spec.implement`, its Phase 1–2 architect, resumed with the accepted list), else by you: new task ids continue
the numbering, a dropped task keeps its struck line and id, and each change adds a `## Plan change log` line
`- <YYYY-MM-DD> T0NN added | changed | dropped: <why> — the user (spec.challenge #<n>)`.
7. **Second simplicity pass.** `diff -u <scratchpad>/tasks.before.md <CHANGE_DIR>/5-implementation/tasks.md
><scratchpad>/fold-in.diff`. Spawn a **new** `simplicity` agent with that diff, the step "Fold-in" and the path of
the first pass's file; check its file as in step 4. Its findings go to the user as one more batch (step 5); what
the user accepts is folded in as in step 6, with no further pass.
8. **Record and report.** In `<WT>`, one git command per call: `git -C <WT> add <CHANGE_DIR>/5-implementation`,
then, when present, `git -C <WT> add <CHANGE_DIR>/clarifications.md`, then commit `docs(<slug>): challenge` (no
attribution). Report: each seat's verdict, the task ids the user changed, the findings rejected and the lines
struck, any unverified finding left out, the paths. Delete the scratchpad files. When another skill runs this one,
return to it.
## Procedure
You are one seat of the plan challenge. This is a static check: you read files; you run no code and no test. Your
instruction file gives your angle; this section gives the rules and the output.
**Read** `<CHANGE_DIR>/5-implementation/tasks.md` in full, then what your angle needs: `4-alignment/alignment.md`
(it wins over what it modifies), `1-requirements/` (`scope.md`, `user-stories.md`, `edge-cases.md`),
`6-verification/test-cases.md`, `3-technical/`, and the code at every path a `Create`/`Modify`/`Delete` line names.
**Rules.**
- A finding changes the plan: a task missing, wrong, misordered or not needed. Never invent a weakness; no finding is
a valid result.
- Steelman each task first (its best reading, given the spec), then attack that reading.
- What the spec prescribes is not a finding; a spec line you think is wrong goes under "Could not assess" as a
question for the user. You never edit `tasks.md` or any spec file.
- One finding per problem; the same problem in several tasks is one finding that cites each of them.
- Severity: `high` — the task cannot be built as written, or the plan as built breaks a story; `medium` — rework or
a missing guard is likely; `low` — wording a developer could misread.
- An assumption is a belief the plan rests on that no file proves. Write it only as a `Fails if` line, at most five,
the ones whose failure would sink the plan; none is a valid result.
Write your output file:
```
# Challenge: <seat>
Verdict: READY | CHANGES: <n> findings
## Paraphrase (executor only)
## Findings
### Finding 1: <title>
- **Location**: `<path:line>`, from the repository root (the task's line in tasks.md; also the code line, comma-separated)
- **Evidence**: `<one line copied verbatim from a cited file>`
- **Issue**: <what goes wrong, when, for whom>
- **Change**: <the change to tasks.md: add, change or drop T0NN, and how>
- **Severity**: high | medium | low
## Assumptions
- Fails if <…> · kill: <threshold> · test: <cheapest test>
## Closing
- Holds: <what in the plan is well reasoned, one line>
- Could not assess: <what the files could not settle, one line>
```
Final message: the verdict line, the path, then `FRICTION:` (max 3 lines, or `FRICTION: none`).