auditing-progress
Use when an iteration has just finished and you need to verify behavior evidence quality in three tiers — deep evidence for current stories, impacted behavior…
Use when starting an iterative-development run on human spec collateral — reads the spec, produces per-epic requirement files with proof obligations and behavior scenario cards with stable IDs.
$ npx -y skills add prime-radiant-inc/iterative-development --skill extracting-requirements --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/extracting-requirementsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when starting an iterative-development run on human spec collateral — reads the spec, produces per-epic requirement files with proof obligations and behavior scenario cards with stable IDs.
name: extracting-requirements description: Use when starting an iterative-development run on human spec collateral — reads the spec, produces per-epic requirement files with proof obligations and behavior scenario cards with stable IDs.
Reads arbitrary human spec collateral and produces two artifact sets: 1. **Per-epic requirement files** in `docs/superpowers/iterations/requirements/` — story cards with proof obligations per AC 2. **Behavior scenarios** in `docs/superpowers/iterations/behavior-scenarios.md` — reusable observable-behavior contracts with stable IDs
Uses a chunking + parallel-dispatch + aggregation pipeline so that no single agent holds the entire spec in context. Handles specs from a single page up to ~100K tokens across dozens of files.
Invoked by `iterative-development` during bootstrap, or standalone when you need to regenerate requirements from human spec collateral.
All scripts referenced below live in this skill's `scripts/` directory, next to this SKILL.md file.
The spec directory structure drives proof seam classification. See `skills/shared/behavior-evidence-formats.md` for the full taxonomy. Summary:
| Spec directory | Default proof seam | |---|---| | `test-vectors/` | unit | | `contracts/` | integration | | `domains/` | integration or app-level | | `journeys/` | e2e |
Extraction subagents use the appropriate prompt variant based on source file location.
Enumerate the spec files without reading full contents:
python3 "scripts/chunk_spec.py" <spec-path>
This produces a JSON array of chunks. Each chunk has `source_file`, `heading`, `start_line`, `end_line`, `content`, and `estimated_tokens`. Small files (< 4K tokens) are kept whole. Larger files are split by `##` headings, or `###` if sections are still too large.
**Classify each chunk by spec taxonomy:** note whether the source file is under `journeys/`, `contracts/`, `domains/`, or `test-vectors/`. This determines which extraction prompt variant to use.
For each chunk (or batch of small chunks), dispatch an extraction subagent using the appropriate template from `extraction-subagent-prompt.md`:
Pass the chunk content inline — do NOT make the subagent read the file.
**Payload integrity:** If your platform has output token limits that could truncate the chunk before it reaches the subagent prompt, stage each chunk individually and verify the subagent received the complete content (e.g., by checking that the extracted stories reference lines from the full range of the chunk). Partial payloads are easy to miss and cause silent under-extraction.
**Dispatch strategy:**
Before aggregation, run a PAR omission review. The sole job of this review is to find requirements AND scenarios that the extraction subagents dropped.
For each chunk (or batch of chunks), dispatch two reviewers in parallel following `skills/shared/parallel-adversarial-review.md`:
1. Give each reviewer the **original chunk text** and the **extracted stories + scenarios** for that chunk 2. Prompt: "Compare the source text against the extracted stories and scenarios. Find every requirement, acceptance criterion, behavioral constraint, or observable behavior in the source that is NOT represented by any extracted story or scenario. Score 5 points for each omission found. Pay special attention to: (a) ACs missing proof obligations, (b) observable behavior with no scenario, (c) journey steps that were summarized or skipped." 3. Aggregate findings across both reviewers 4. For each confirmed omission: either add a new story/scenario to the extraction output or document why it's intentionally excluded
This pass is required, not optional. Extraction subagents optimize for what they notice; omission reviewers optimize for what's missing.
Run the story aggregation script on all extracted story JSONs (including any added by the omission review):
python3 "scripts/aggregate_stories.py" -o docs/superpowers/iterations/requirements/ <json-file-1> <json-file-2> ...
The script combines, deduplicates by title, groups into epics, assigns stable STORY/EPIC IDs, and outputs per-epic files with proof obligations preserved.
Run the scenario aggregation script:
python3 "scripts/aggregate_scenarios.py" \ -o docs/superpowers/iterations/behavior-scenarios.md \ --stories-dir docs/superpowers/iterations/requirements/ \ <json-file-1> <json-file-2> ...
The script combines, deduplicates by title, assigns stable SCENARIO/JOURNEY IDs, resolves story title references to STORY-IDs, and outputs `behavior-scenarios.md`.
Same as before: review the epic list, merge near-duplicates, re-run aggregation. See the consolidation rules in the or
A Claude Code plugin that drives an autonomous, audited implementation loop for projects with large, comprehensive, or ambiguous specs. Pairs with superpowers.
Use when an iteration has just finished and you need to verify behavior evidence quality in three tiers — deep evidence for current stories, impacted behavior…
Use when executing a batch of TDD-sized tasks inside a running-an-iteration call — dispatches an implementer subagent per task following red-green-refactor…
Use when implementing a project with a large, comprehensive, or ambiguous spec — extracts requirements with proof obligations, defines a walking skeleton with…
Use when executing the next pending iteration from an iterative-development roadmap — picks the iteration, decomposes into code and evidence tasks, runs…
Use when turning extracted requirements into a roadmap — selects the walking skeleton iteration with its first journey scenario, orders remaining work into…