From Approved Requirement to Tested Handover

Output

A skill that builds, tests and hands over a small change, a reviewer agent, and two changes made with it.

Synthetic result after REQ-1 and REQ-2. Fictional records only.

CheckResult
npm test15 pass, 0 fail
CLI, 14 to 15 Oct (eval-04)New: R004 to R007. Continuing: R003. Resolved: none. Changed since yesterday: R003
ReviewerPASS on your change; FIX on the planted version (EVAL-04)
Role
Developers and engineers
Time
About 15 minutes hands-on (our estimate, not yet timed with learners), plus setup
Prerequisites
  • Claude Pro, Max or Team, with the desktop app's Code tab
  • Node.js 22.18 or later, no packages to install
  • Comfortable reading TypeScript
Data
Fictional exercise. All people and records are invented.

You'll automate Dan's routine for small approved changes, then prove the routine works by using it on a second one.

The pain

Dan, a developer (fictional): "Every week I turn an approved requirement into a change someone else has to accept. They need evidence it does what was agreed, not my word for it."

Before: an unfinished function and nothing to show for it.

After: two changes built, tested and handed over, with an independent review on record.

How it fits together

  1. InputRequirementOne approved criterion
  2. AISkillClaude builds only what was approved
  3. Fixed rulesTestsCheck the exact behaviour of each covered case
  4. CheckReviewerChecks the handover matches the evidence
  5. You decideDanApproves the scope before and the change after

Why this shape? The skill repeats the routine and the tests check the behaviour for every case they cover. The reviewer checks what tests can't: that the change stayed in scope and the handover is honest.

What stays human? Dan approves the scope before and the change after.

Build it

01Do.

Download the starter pack, unzip it and open the folder in the Code tab. Keep the answer key somewhere else for now. Want to look first? View the files on GitHub.

First time in the Code tab?

Open the Claude desktop app and choose Code. Select the folder you unzipped as the project folder, then paste the prompt. When Claude asks to run a command, read what it wants to run and click Allow if it matches the step.

Paste into the Code tab
Read docs/ and implement the approved criterion REQ-1 in classify() only, without changing the tests or fixtures. Run npm test before and after, tell me the real results, and write a short handover in docs/handoff.md.

Before the change, 12 of the 15 tests fail. After it, you should see:

āœ” 7 REQ-1 tests and 3 safety checks        10 pass
āœ– 5 REQ-2 tests: Not implemented: REQ-2     5 fail, your next change

If it goes wrong: if Claude edits a test or fixture to make it pass, reject it. Only src/lifecycle.ts and docs/handoff.md should change.

02Reuse.

Paste into the Code tab
Turn what we just did into a skill called implement-to-acceptance. It must stay within the approved scope, run the tests and write the handover. Show me what you wrote.

Where it's saved: .claude/skills/implement-to-acceptance/SKILL.md. Claude asks before saving into the hidden .claude folder; allow it. Then ask Claude to show you the file. In short:

name: implement-to-acceptance
Change only what was approved. Keep tests and fixtures unchanged.
Run the tests, report the real results, write the handover.

03Repeat.

Now use the skill on a different change. REQ-2 flags records that are still open but whose values changed overnight. Predict first: eval-04 is a copy of the 15 October report where one amount has changed. Which record will REQ-2 flag?

Paste into the Code tab
Use the implement-to-acceptance skill for REQ-2. Then run the CLI with the 14 October report as yesterday and eval-04 as today.
Check your prediction

R003. All 15 tests pass, and the CLI prints New: R004, R005, R006, R007, Continuing: R003, Resolved: None and Changed since yesterday: R003. R003 stays Continuing: its amount changed, but it's the same record.

Now test the guard:

Paste into the Code tab
Run the CLI with fixtures/eval-10-missing-baseline.json as yesterday. That file is deliberately missing.

It should print only a STOP message and no results. Stopping is the guard working.

You've now made two changes with one routine: the skill keeps to scope, the tests prove the behaviour, and the guard stops on bad input. You can stop here, or add a reviewer that checks it.

04Trust.

The pack includes a planted version: a deliberately wrong classify() in extra/planted/. npm run check-planted tests it; npm test tests yours.

Paste into the Code tab
Create a reviewer agent called acceptance-reviewer. It never edits files, and the only commands it may run are npm test and npm run check-planted. It checks REQ-1 and REQ-2 against their criteria and reports both test runs separately, with PASS or FIX.

Where it's saved: .claude/agents/acceptance-reviewer.md. If Claude can't find it, start a new session and say: "Use the acceptance-reviewer agent to check REQ-1 and REQ-2." The tools line can't limit which commands it runs; your approvals do. When it asks, allow only those two. In short:

name: acceptance-reviewer
tools: Read, Grep, Glob, Bash   (no editing; Bash only for the two test commands)
Check every criterion against the code and tests. Answer PASS, or FIX with evidence.

The planted version should get this (its REQ-2 tests are skipped, because it only covers REQ-1):

FIX: the planted check fails EVAL-04. A changed amount makes R003 New; it must stay Continuing.

The tests catch that bug on their own. The reviewer adds what tests can't: it checks the handover matches the evidence and names anything outside the approved files. You confirm the final diff. If it asks for a fix, correct and check again; after two rounds, a person decides. A PASS is evidence, not proof or permission.

What you now have: a routine for any small approved change, proved on two, and a reviewer that checks scope and handover before anyone merges. The same shape fits any step where evidence matters more than speed.

Design your own

Pick a development step you repeat every week. What starts it, what goes in, what must be exact, where does AI help, and what evidence would let someone approve it?

Similar jobs: test-failure triage, a release-notes draft, an acceptance-check handover.

Paste into the Code tab
Help me design a small workflow for a development step I repeat, using fictional or cleared data only. Separate what tests can prove from what needs AI judgement, say how we check it and who approves, and stop if a decision is missing.
Going furtherGo further

Check your work. Compare your skill and reviewer with the reference/ folder in the answer key.

Make it yours. Adapt the skill to a small task of your own. Test a good case, a broken input and a hostile one.

Run it without you. See agentic workflows for scheduled runs and small teams of agents, with the agent files on GitHub.

Next

Back to Riley's operations workflow, or see how the three roles hand work to each other.

Reviewed