← Week 05: Assemble II: build, demo and grade SESSION 01 · TUESDAY

Small loops, checked work, honest commits

Build your first real slice with Claude Code: plan it, build it, check it, read it, save it. Then do it again.

PLAN MODEREAD THE DIFFTESTS/REWIND/SLICE
Present slides Full screen, one slide at a time · 12 slides
TONIGHT 01

By the end of tonight you can

  • Run plan → build → verify → review → commit on one slice with Claude Code
  • Read a diff and explain in plain English what changed, why, and what could go wrong
  • Ask Claude for tests by name: happy path, bad input, not allowed, edge case, regression
  • Undo safely with checkpoints (/rewind) and Git commits, and say when to use each
  • Turn a briefing you keep repeating into a custom /slice command

OUTPUT · Slice 1 working end to end, with tests and a commit history

THE IDEA 02

The build loop

  1. PLANClaude proposes files, steps and tests in plan mode; you approve or push back
  2. BUILDClaude edits in small steps; you read each permission prompt before saying yes
  3. VERIFYRun the tests and try it yourself in the browser; Claude’s summary is not proof
  4. REVIEWRead the diff: what changed, why, and anything outside the slice
  5. COMMITSave a named point in Git with a message that says why, then start the next loop

One small change, one loop, one commit. Small loops make mistakes cheap to find and cheap to undo.

WORKED EXAMPLE · TUTORDESK 03

One giant prompt vs five small loops

Starting point

“Build TutorDesk bookings: requests, confirmations, reminders, payments and a dashboard.” 40 files later…

Reframed

Slice 1 in five loops: request form → save the request → the tutor’s list → only she can see it → the learner sees “Requested”. Each is planned, tested, read and committed before the next.

Ask

  • If loop 3 breaks, how far back do you have to go?
  • Where in 40 changed files would a privacy bug hide?
  • Which loop could you show a tutor tonight?
  • What do you learn after loop 1 that changes loop 2?