Week 3: The brief I gave Claude Code, as a template
Last week I said the brief was the work. Here's the structure, cut down so you can fill it in for your own build.

Last week I said the 14 KB brief mattered more than the code. As promised, here it is, cut down to a template.
The engine shipped Issue 2 on schedule. One thing broke (the cover image, more on that below), and it's now a rule in the template.
How to use it
Write it in a chat with Claude before you open Claude Code. Let it ask you questions. Compare notes on anything you're unsure about, then make the call yourself and write it down.
When it's done, save it as BUILD_PROMPT.md in an empty folder, open Claude Code there and send one line: read BUILD_PROMPT.md and follow it.
The template
# BUILD_PROMPT.md
## 1. What we're building
One paragraph. Who it's for, what it does, what "done" looks like.
## 2. What it does NOT do
The features you'll be tempted to add. Write them down so the model doesn't.
## 3. Decisions already made
Stack, hosting, database, email/payments, domain.
Anything not listed here: ask me, don't pick.
## 4. Data model
The main tables or objects and the fields that matter.
## 5. Safety rules
- Never commit secrets. Keys live in env vars only.
- Keys go in request headers, never in URLs.
- Anything that emails, charges or deletes needs my explicit OK.
## 6. How we test
- Write each phase's tests first and confirm they fail.
- Build until they pass.
- Never weaken or delete a test without asking me.
## 7. Phases
Phase 1: ...
Phase 2: ...
(Keep each one small enough to check in one sitting.)
After every phase: STOP. Report what you built, what tests
pass, and any questions. Wait for me to say "go".
## 8. Deploy checklist
- Every env var the app needs, and where each one comes from
- Domain and DNS steps
- Email sender setup and verification
- One real end-to-end test before calling it live
## 9. Images (if the app sends or shows them)
- Reject any upload that won't open. Return its width and
height so you can check it's the right picture.
- Convert WebP to PNG or JPEG for email. Some mail apps
won't show WebP.
- Block send and publish if an image fails to load.
- Generate standard covers on the server from text, so no
image file has to pass through the AI.
- Take 2 or 3 screenshots while you build and keep them in
one folder. Real images beat made-up graphics.
Why each part is there
- What it does NOT do. Out of scope is where most of the time goes if you don't name it.
- Decisions already made. Every decision you leave open is one the model makes for you.
- Safety rules. I learned the header one the hard way, with a leaked key in a screenshot.
- How we test. This one rule caught the bugs I'd never have spotted at 1 AM.
- Phases with a STOP. Small chunks mean you always know where it stands.
- Deploy checklist. Last week's lesson. Everything that broke happened after the build was done, and my brief didn't cover it.
- Images. Issue 2 went out with a broken cover image. The file got corrupted on upload and nothing checked that it actually opened. A test send would have caught it if I'd trusted what I saw over "it'll probably be fine once it's live."
Claude news, my take
Agent Skills is now an open standard under the Linux Foundation. Anthropic donated Skills to the Agentic AI Foundation, the same home MCP moved to. Does it matter? Yes, if you write skills. A skill is just a folder with instructions, and now it's not tied to one company. The skills you write today should keep working as other tools pick up the standard. Will I use it? I already lean on skills every day, so this mostly means I worry less about building on them.
Claude Code cloud sessions are generally available. You can start a session from your browser, phone, desktop app or terminal, close the lid, and it keeps running. You pick it up later from wherever you are. Does it matter? For anything long, yes. You stop babysitting a laptop while it works. Will I use it? I already am. The Friday check that tells me whether this newsletter actually went out runs in a cloud session while I'm away from my desk.
What I'm building
The engine behind this newsletter. It drafts, previews, test-sends and publishes each issue from one chat, and nothing goes out until I say "send it." I've stopped adding automation to it until shipping every Friday is a habit. The code goes public once it's run a month without babysitting.
Next week: the tools I actually use every week, and the ones I dropped.
Jove