/theseus:develop-storyfrom theseus
Specs of Theseus Development — work a story's reviewed tasks through a loop (Pick Next Task, Red/Green/Refactor, Migrate to Property Testing, Run Full Eval Suite), then Complete Story, Run Mutation Tests on the subsystems it touched, Run Controls & Checks, and Tag Repo. Use whenever a story has an Implementation Plan with unchecked tasks, or the user asks to build, implement or finish a story, run the dev loop, or tag a completed story — even if they just say "go" or "keep going" on a story in progress.
Ships in theseus. 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.
Read when SKILL.md points to them; scripts run unread.
Each task goes through the same fast loop; the finished story then gets the slower checks. Any failure sends the work back to Red/Green/Refactor, so nothing moves on until it's solid. Each numbered step is a box in the Specs of Theseus diagram.
You do every step. A developer oversees: they answer issues and read a short summary after each task, but don't approve each step — the evals are the gate, and they already reviewed the tasks. So work steadily without asking permission, and stop only to raise an issue.
You don't change evals or their tests in this stage. They were written with the developer in Update Evals, and they grade your work.
Say which skill is running. Start by telling the person: "Specs of Theseus — Development (theseus:develop-story)", and the story or epic you're on. Say so again whenever you hand off to another skill, naming it.
Check the project's CLAUDE.md or AGENTS.md for a command for each step below. If one is missing, ask the developer and record the answer there before going on (see references/working-agreements.md). Don't guess a command and don't skip a step — a skipped step is a gate that silently stopped guarding.
For each unchecked task in the story's Implementation Plan, in order:
Pick Next Task 🧞 — take the next unchecked task. Note which subsystems it touches. When the task list is empty, go to Complete Story (step 5).
Red/Green/Refactor in Subsystems 🧞 — write a failing test, confirm it fails for the right reason, make it pass with the simplest code, refactor while the context is fresh. Use the developer's TDD skill if one is installed (such as superpowers:test-driven-development). These are internal tests — including contract tests between subsystems — and may be deleted in a future redesign. Move @subsystem markers in the same change as the code they mark. Internal tests go under the project's test directory, like every other test.
When a task removes behavior, delete its code and the internal tests that covered it. Don't write tests that check it's gone — Run Full Eval Suite is what shows nothing else depended on it.
Migrate to Property Testing 🧞 — turn the task's example tests into property tests where a rule exists. A property replaces the examples it fully covers; keep a few examples where they document behavior well. This applies only to your internal tests — eval tests already exist. Failing property tests go back to Red/Green/Refactor. See references/property-testing.md.
Run Full Eval Suite 🧞 — every invariant, contract, end-to-end test and monitor that can run under test — the whole system, not just this story's evals. While a project is still being adopted, the existing tests run too and must pass. Failing evals go back to Red/Green/Refactor.
When everything passes: check off the task, commit, and give the developer a short summary — what changed, which subsystems, anything surprising. Then go back to Pick Next Task.
The slower, story-wide checks run once, on the finished story. A failure in either goes back to Red/Green/Refactor — through Migrate to Property Testing and Run Full Eval Suite again — and then on through Pick Next Task, whose list is still empty, back here.
Complete Story 🧞 — confirm every task is checked and the full eval suite passes. List the subsystems the story touched, from its tasks and the code that changed; that list is the scope for the next step.
Run Mutation Tests 🧞 — on the story's subsystems, and only those. Every surviving mutant is either killed by a new test (back to Red/Green/Refactor) or recorded as equivalent — a change no test could notice — with a one-line reason. If you can't tell which, raise an issue. See references/mutation-testing.md.
Run Controls & Checks 🧞 — linters, type checks, security scanners, dependency audits — and the eval-link check, scripts/check-eval-links.sh, which confirms every eval has a test and every @spec tag names a real eval. Failing checks go back to Red/Green/Refactor.
Tag Repo 🧞 — tag the final commit with the story's path: story/<epic>/<story>, such as story/0001-user-authentication/0010-login-form. Push the tag. The tag marks where every eval passes, and it's what Deploy picks up — so only tag a green commit.
Tell the developer the story is complete and tagged, with a short summary of the mutation testing — survivors killed, and any equivalent mutants recorded. The tagged story now goes to the team's Acceptance process, which is outside these skills. Once it's deployed, the work queue is empty and the next story can start in update-evals.
Commit straight to main. If work-in-progress commits help, use a short-lived branch and squash and rebase it onto main before it lands, so main's history stays linear. No merge commits. Start each commit message with the story's short ID, such as e0001.s0010: add the login form (see "Commits and story tags" in references/working-agreements.md).
In the story's Issues section, then stop, when:
references/evals.md (opens in a new tab)references/mutation-testing.md (opens in a new tab)references/project-layout.md (opens in a new tab)references/property-testing.md (opens in a new tab)references/subsystems.md (opens in a new tab)references/working-agreements.md (opens in a new tab)scripts/check-eval-links.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub infews/specs_of_theseus --plugin theseus6 skills in this plugin
/adopt-projectBring an existing ("legacy") project into Specs of Theseus — Survey Project (edges, existing tests, constraints), Record Tools, Mark Subsystems, and Write Adoption Epic, with one characterization story per product area so its first evals can be written. Use whenever the user wants to start using Specs of Theseus on a codebase that has no docs/evals/, asks to characterize or onboard an existing system, write the first evals for legacy code, or figure out what a system already promises before changing it./product-planningSpecs of Theseus Product Planning — with the product manager in charge — Prioritize Ideas and Choose Epic (people only), then Break Down Epic into small stories with Gherkin acceptance criteria and Prioritize Stories into the backlog. Use whenever the user wants to write or refine an epic, slice an epic into stories, prioritize or reorder the backlog, re-rank a story the product manager rejected, or when the backlog has run out — even if they just say "let's plan the next chunk of work" or "break this feature down"./redesign-systemSpecs of Theseus Redesign System — given a story's updated evals and failing eval tests, plan the smallest change that makes them pass, look for a subsystem worth deleting and regrowing into a better design, redraw @subsystem boundaries, and turn it into tasks reviewed with the developer. Use whenever a story has its evals written but no implementation plan, or the user asks to plan a story, break it into tasks, redesign or regrow a subsystem, extract shared code, or decide whether a rewrite is safe./specs-of-theseusEntry point for the Specs of Theseus method — evals as the durable spec, disposable code, and a team of people and agents working through Product Planning, Update Evals, Redesign System, and Development. Use whenever a project has docs/epics/ or docs/evals/, or the user mentions Specs of Theseus, evals, the backlog, the next story, raising an issue, @spec or @subsystem markers, or asks "what's next?" in such a project. Also use when the user wants to start using the method on a project. Figures out which stage the work is in and hands off to the right stage skill./update-evalsSpecs of Theseus Update Evals — choosing the top story from the backlog, then changing the system's evals (invariants, contracts, end-to-end tests, monitors) to describe it as EARS requirements, writing a failing test for each, and stopping for the developer's review, before any design or code. Use whenever the user wants to start the next story, pick up work from the backlog, write or change evals, write acceptance or characterization tests for a story, or work through a Characterize story ("characterize the cart") — even if they just say "what's next?" or "let's start on login".