• The six-stage loop and its files
  • How to write an intent.md
  • How to test a plan before any code

The delivery loop

In Anthropic's AI-native SDLC playbook, each stage ends by committing a file the next stage reads. Select a stage, or press play to go around.

Stage (agent drafts)Committed fileHuman judgement

Start with intent.md

An intent.md is a short file that says what you want and why, before any spec or code. You write it by brainstorming with Claude. Select each section.

intent.md

Select a section

Five short sections. The playbook says this step goes from weeks of meetings to hours.

Example content is illustrative.

Plan mode, then interrogate the plan

In plan mode Claude reads your code without editing it and writes a plan. A good plan names three things. Then you ask it hard questions.

plan.md
## Files that changereports/export.ts, worker/queue.ts, ui/ExportButton.tsx
## Order1. Queue the export. 2. Stream rows in pages. 3. Email a link when done.
## Tests that prove itexport_large_account.test: 50k rows finish without a timeout.

Ask the plan:

Select a question

Iterate until the answers hold up. Then commit plan.md.

Try it: is your plan ready?

The test from the playbook: could someone else implement from this plan alone? Tick what your plan has. Your ticks stay in this browser.

0 of 7

The chain of commits is your audit trail

Because every stage commits a file, git history tells the whole story. Switch the view to see what each commit answers.

    A personAn agentA check

    Measure it: first-pass merge rate

    First-pass merge rate is the share of pull requests that merge without a rework cycle. Better plans raise it. This is the metric the playbook pairs with plan mode.

    Plan first
    plan.mdcodegatereviewmerge
    Straight to code
    codegatereviewreworkcodegatereviewreworkcodemerge
    AgentGatePersonRework cycleIllustrative

    Key takeaways

    • Each stage commits a file the next stage reads: intent, spec, plan, PR, incident.
    • intent.md has five parts: problem, outcome, who is affected, constraints, open questions.
    • Make plan mode your default. A plan names files, order and the tests that prove it.
    • Interrogate the plan until someone else could implement from it alone.
    • Track first-pass merge rate to see if your plans are working.
    • Next: CLAUDE.md, skills and hooks hold the rules every plan follows.

    Go deeper