agentleFS
prime-radiant-incprime-radiant-inc/iterative-development/skills/scoping-the-simplest-core/SKILL.md

scoping-the-simplest-core

Skill179 starsChanged 7 months agoApache-2.0View on GitHub

Use when turning extracted requirements into a roadmap — selects the walking skeleton iteration with its first journey scenario, orders remaining work into follow-on iterations, and applies story splitting when ACs have different dependency profiles.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All scripts referenced below live in this skill's scripts/ directory, next to this SKILL.md file.

    line 18
  2. Very specific:

    Read the epic files in docs/superpowers/iterations/requirements/ — scan epic headers and story titles first, then dip into specific epic …

    line 24
  3. Distinctive:

    Story splitting rule: when assigning stories to iterations, check each story's ACs for dependency profiles.

    line 47
  4. Distinctive:

    Create a version with only the satisfiable ACs for iteration N

    line 52
  5. Distinctive:

    Create a version with the remaining ACs for iteration N+M

    line 53
  6. Very specific:

    Update the requirements index with both versions (append a/b to the story ID)

    line 54
  7. Distinctive:

    Update scenario refs in both versions

    line 55
  8. Distinctive:

    Every iteration must cite only valid STORY-IDs from the index.

    line 63
  9. Distinctive:

    If REVISE recommended: adjust and re-review until APPROVE

    line 80
  10. Very specific:

    Write the result to docs/superpowers/iterations/roadmap.md using this format:

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Scoping the Simplest Core

Overview

Reads the per-epic requirement files in docs/superpowers/iterations/requirements/ and docs/superpowers/iterations/behavior-scenarios.md, and produces docs/superpowers/iterations/roadmap.md: a walking-skeleton iteration (ITER-0000) plus ordered follow-on iterations. The walking skeleton must produce the first runnable journey scenario. Runs citation and scope review via PAR before committing the roadmap.

When to Use

Invoked by iterative-development during bootstrap after extracting-requirements.

Script Location

All scripts referenced below live in this skill's scripts/ directory, next to this SKILL.md file.

Scoping Process

1. Read the backlog

Read the epic files in docs/superpowers/iterations/requirements/ — scan epic headers and story titles first, then dip into specific epic files for ACs when selecting.

Also read docs/superpowers/iterations/behavior-scenarios.md to understand which scenarios exist and which stories they cover.

2. Define the walking skeleton (ITER-0000)

Select a small cohesive set of stories from as many distinct epics as possible. The walking skeleton should prove the end-to-end shape of the product works.

Scenario requirement: the walking skeleton MUST include stories that close at least ONE journey scenario chain. Prefer the core product journey (e.g., "normal dictation" over "debug investigation"). The skeleton is not done until that journey scenario is runnable as an automated or scripted-reproducible test.

The walking skeleton must also produce:

  • The first stable scenario IDs
  • The first executable behavior harness (the E2E test infrastructure)
  • A small sentinel corpus that can be rerun every iteration

Harness-first task: The walking skeleton's FIRST task should be designing and building the E2E test harness — before implementing any product features. Use the test infrastructure checklist in skills/shared/behavior-evidence-formats.md to guide the design. Document the harness design decisions in the project's docs. The harness is a first-class deliverable, not an afterthought — every subsequent iteration extends it.

Selection rule: "if someone ran just these stories, they should see a demo that proves the product exists AND have at least one passing journey scenario that proves the demo works."

3. Order remaining stories into iterations

Each iteration is a sprint's worth of cohesive work. Iteration granularity is judgment-based — no hardcoded story count.

Story splitting rule: when assigning stories to iterations, check each story's ACs for dependency profiles. If a story has ACs where:

  • Some ACs can be satisfied in iteration N (their dependencies exist)
  • Other ACs require subsystems from iteration N+M (their dependencies don't exist yet)

Then SPLIT the story:

  1. Create a version with only the satisfiable ACs for iteration N
  2. Create a version with the remaining ACs for iteration N+M
  3. Update the requirements index with both versions (append a/b to the story ID)
  4. Update scenario refs in both versions

Why this matters: moving a whole story to a later iteration because one AC has a late dependency causes the other ACs to be re-interpreted through the receiving iteration's theme, and they get silently dropped.

4. Run citation check

Run: python3 "scripts/check_citations.py" docs/superpowers/iterations/roadmap.md docs/superpowers/iterations/requirements/

Every iteration must cite only valid STORY-IDs from the index.

5. Scope review via PAR

Following skills/shared/parallel-adversarial-review.md:

  1. Build scope reviewer prompts using skills/running-an-iteration/scope-reviewer-prompt.md
  2. Wrap in PAR competitive framing
  3. Dispatch paired scope reviewers focused on:
    • Is ITER-0000 really the thinnest possible walking skeleton?
    • Does ITER-0000 close at least one journey scenario?
    • Could anything be deferred from ITER-0000 to a follow-on?
    • Does ITER-0000's design box in any follow-on iteration?
    • Are any stories over-broad (mixing skeleton-level concerns with later integrations)?
    • Are there stories with heterogeneous-dependency ACs that should be split?
    • Does any iteration leave observable behavior without planned scenario coverage?
  4. If stories need splitting: apply the splitting rule from step 3, update requirements, re-scope.
  5. If REVISE recommended: adjust and re-review until APPROVE

6. Write and validate roadmap

Write the result to docs/superpowers/iterations/roadmap.md using this format:

# Roadmap

## Walking skeleton (ITER-0000)

**Intent:** <one-line description of the thinnest end-to-end slice>
**Design rationale:** <why these stories, what they prove together>
**Journey scenario:** <JOURNEY-NNNN that the skeleton must pass>
**Stories committed:**
- STORY-NNNN (EPIC-NNN)
- ...
**Status:** pending

## Iteration list

### ITER-0001 — <name>

**Stories:** STORY-NNNN, STORY-NNNN, ...
**Rationale:** <why these stories belong together>
**Status:** pending
**Impacted scenarios:** <SCENARIO-NNNN, JOURNEY-NNNN that this iteration touches>
**Look-ahead check:** <does this block or get blocked by neighbors?>

Run: python3 "scripts/validate_roadmap.py" docs/superpowers/iterations/roadmap.md

Note: The validator checks format only. The PAR scope review is the real structural gate.

7. Commit

git add docs/superpowers/iterations/roadmap.md
git commit -m "docs: add roadmap — walking skeleton with journey scenario + iteration plan"

Quick Reference

StepTool/SkillPurpose
Citation checkscripts/check_citations.pyAll cited stories exist
Scope reviewPAR + scope reviewer promptWalking skeleton minimal, journey scenario included, story splitting applied, no boxing-in
Story splittingManual (if PAR or dependency analysis finds heterogeneous ACs)Split stories by dependency profile
Validatescripts/validate_roadmap.pyFormat check only

References

  • skills/shared/parallel-adversarial-review.md — PAR methodology
  • skills/shared/behavior-evidence-formats.md — scenario and proof obligation formats
  • skills/running-an-iteration/scope-reviewer-prompt.md — scope reviewer prompt (reused)
  • scripts/check_citations.py — mechanical citation check

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.