npx skills add ...
npx skills add growthx-club/build-sprint-skills --skill keep-it-working
Decide how much proof a piece of work needs — from just looking at it, to walking the flow, to writing a test, to writing the test first. Use right after a feature works, before changing code that already works, and every time something that used to work breaks. Also use when the builder asks whether they need tests, or when a change touches money, auth, permissions, data they can't get back, or logic with rules and edge cases.
npx skills add growthx-club/build-sprint-skills --skill keep-it-working
The goal is not tests. The goal is that the thing they got working today still works on demo day, after forty more changes and an agent that doesn't know what it isn't supposed to touch.
So the question after every feature is never "should I write tests." It's would we notice if this broke, and how bad is it if we don't. Answer those two and the level picks itself.
Pick the cheapest rung that actually catches the failure. Climbing higher than the risk deserves is how a two-week sprint turns into a testing project.
| Rung | Use when | What you do |
|---|---|---|
| 1. Look at it | The failure would be obvious on sight — layout, copy, colour, spacing | Open the page. Look. Done. No test earns its keep here |
| 2. Walk the path | Multi-step flow you can still click through — sign up → create → see it listed | Drive the running app once, end to end, and report what you saw. No setup, no files. See playwright |
| 3. Write one test | Breaking it would be silent, or checking by hand takes more than a minute — background jobs, webhooks, anything with a database round trip | One test for the happy path. Not a suite. For whole flows, playwright |
| 4. Test first | You can state the rule before the code exists, or you're fixing a bug you can reproduce | Write the failing test, watch it fail, then make it pass |
Not a principle, a calculation. Write the test first when:
Don't write the test first when:
Anything that broke once gets a test. No judgment call, no ladder. It broke, so it can break again, and now you know exactly how to trigger it.
This is what stops the sprint's worst pattern: fix something on Tuesday, agent quietly re-breaks it on Thursday, nobody notices until the demo.
The sprint stack ships without a test runner, and that's correct — most work lands on rungs 1 and 2.
The first time a change genuinely lands on rung 3 or 4, install the smallest possible runner and write that one test. Not a config, not a suite, not coverage. If setting it up is going to take more than a few minutes of their sprint, say so and offer rung 2 instead — then let them choose.
Never "you should have written tests." They're learning to ship, and the ladder exists so they don't have to carry that guilt.
Say what's worth protecting and what it costs: "the pricing rule is the kind of thing that breaks quietly — two minutes to lock it down, want me to?" Then respect the answer. If they say no, note it and move on; checkpoint is still underneath them either way.
When a test catches a regression, say so out loud. That's the moment the idea sells itself.
Ours. The red-green discipline and the test-honesty rules are adapted from obra/superpowers, MIT License — the ladder and the "when does this pay" triage are ours, because sprint builders need to ship first and prove second.