Lesson 8 · Matt Pocock's Skills · Capstone

Capstone: Your First Real Run

Install the skills, set up one repo, and plan one feature through the whole flow. After this, the teacher is the run itself.

Your win for this lesson

The plugin is installed, Flask/habit-tracker is set up, and you have a written plan for the daily streaks feature. The plan says which skill runs at each step and which boundary move comes after it. Then you run it.

0. Warm-up: everything, mixed

These are drawn from all seven lessons and set in the project you're about to build. No lesson labels.

1. The target: why habit-tracker

A good target is a small app you own, with nothing to lose: a stub, not a finished project. Finished code has history to respect, exercise folders have no single app to grow, and a teaching workspace has no code at all. The target here is habit-tracker, a 17-line Flask app: two routes, templates, and a venv with Flask 3.0. No storage and no tests.

It's a stub with a clear domain (habits, check-ins, streaks). That gives grilling real decisions to make, gives /tdd a real seam (the streak logic), and makes the feature big enough for a few tracer-bullet tickets. It also has no test runner and no guardrail, which /retro will rightly flag. That's useful for you to see.

The feature

Daily streaks: add a habit, check in for today, and see each habit's current streak. Hold the details loosely. Grilling will settle what "a day" means, what breaks a streak, and where data lives. Your job is to answer its questions, not to arrive with a spec.

2. Install and set up (once)

  1. Install the plugin (it updates itself):[1]
    claude plugin install mattpocock-skills@claude-plugins-official
    Check it with claude plugin list. You'll now see a second teach, because the plugin ships one too. That's harmless.
  2. Open Claude Code in the project:
    cd habit-tracker && claude
  3. Run /setup-matt-pocock-skills. It explores, proposes, waits for you, then writes.[2] Start with one sentence of context: "Treat Flask/habit-tracker as the project root." If the app lives inside a larger repo, the git root is that parent, so without that sentence it may write its files there.

Your expected answers:

It asksIt will proposeYour answer
Issue trackerGitHub (it sees the parent's remote)Local markdown. A solo project inside a shared learning repo shouldn't fill the parent repo's issues. Tickets go to .scratch/<feature>/issues/, as in Lesson 3.
Triage labelsKeep the five defaultsYes. With a local tracker there's nothing to create.
Domain docsSingle-context (it shouldn't ask)Accept. One GLOSSARY.md plus docs/adr/.
Which instruction fileNeither file exists, so it asksCLAUDE.md, because you're on Claude Code.

It's working if[3]

One discrepancy, as of commit 5beb35b: the guide says setup never creates tracker labels, but the skill file now says it creates missing ones on GitHub and GitLab. It doesn't matter here (the tracker is local), but if you use GitHub later, check the labels exist after setup.

3. The run plan

This is the whole flow, with the boundary move written between steps. Print it, or keep it beside the terminal.[4]

#RunWhat good looks likeThen
1/grill-with-docs "daily streaks for habits"One question at a time. It reads app.py itself instead of asking you facts. GLOSSARY.md gains Habit, Check-in, and Streak. Maybe one ADR (storage?), but only if it passes all three tests.Continue
1bOnly if a question won't settle on paper (for example "does a 00:30 check-in count for yesterday?")/handoff out, then /prototype (logic branch) in its own directory, then /handoff backBack to the thread
2/to-specNo new interview. Nothing in it you didn't decide. Seams first, ideally one: the streak calculation.Continue
3/to-ticketsAbout 3–5 vertical slices, each one demoable. Look for something like: add and list a habit (stored) → check in today → show the streak → a missed day breaks it. Blocking edges are declared. Setting up pytest is folded into the first slice, not a ticket of its own./clear
4/implement on the frontier ticket (blockers first)Red → green at the agreed seam. Mocks only at real system boundaries. A commit, then the two-axis review inside the run./clear, then the next ticket
5Optional: a whole-branch review with mattpocock-skills:code-review (not the built-in /code-review)Standards and Spec reported separately, never mergedSubagent, or a fresh session
6/retro, after the roughest ticket's session, before you clearEvery candidate traces to a moment in the session. Expect "no guardrail": wire pytest into a pre-commit hook./clear
7After the feature: /improve-codebase-architecture "don't grill me, just show the report"Cards name your nouns ("the Streak module"). If they're all Speculative, the code is fine.One candidate becomes a new idea for step 1

Signals to stop and correct (each comes from an earlier lesson):

4. Practice: rehearse the run

Drill A: boundary moves on this run

These are the same five questions as Lesson 5, now at your run's real boundaries.

Drill B: the mission, from memory

Write the four failure modes and the fix for each. Then write the main flow with its branches and both on-ramps, without looking at the run plan above.

Failures → fixes: 1. It didn't do what I want → grilling (/grill-with-docs). 2. Way too verbose → a shared language (GLOSSARY.md). 3. The code doesn't work → feedback loops (/tdd, /diagnosing-bugs). 4. Ball of mud → deep modules (/improve-codebase-architecture).

Main flow: /grill-with-docs → (prototype detour via /handoff if talking can't settle it) → multi-session? yes: /to-spec → /to-tickets → /implement per ticket with /clear between (or /implement-spec); no: /implement right there. Inside: /tdd + /code-review. Close with /retro.

On-ramps: /triage (others' issues → /implement), /diagnosing-bugs (→ fix + /retro), /wayfinder (→ /to-spec). Upkeep: /improve-codebase-architecture.

5. Mission check

Mission success criterionWhereStatus
Name the 4 failure modes and their fixesL1, Drill BDone (8/8 in L1)
Walk the main flow and its branchesL2–L4, L6, Drill BDone
Pick the right phase-boundary moveL5, Drill ADone
Install, set up, and take one real feature through the flowThis lesson, then the runYours to do

After the run (the real feedback loop)

Come back to this workspace and tell me how it went. Good things to report: where grilling surprised you, how many tickets /to-tickets made, the first moment you overrode the agent, and what /retro found. I'll write it up as a learning record and decide with you what's next. Candidates include /implement-spec with parallel worktrees, wayfinder on a bigger effort, or nothing at all, if the flow just works.


Primary source

Read ask-matt/SKILL.md in full (8 minutes). It's Pocock's own map of everything you've learned, and you can now read every line of it. Keep the setup guide open while you run setup.

Stuck on something?

Ask me in Claude Code, during the run too. Good questions: "grilling asked me X, is that a fact or a decision?", "are these tickets vertical?", or "which boundary move now?". In the project you can also run /ask-matt, the plugin's own router.

Keep these beside the terminal: the Skill Map, the Context Card, the Planning Card, the Build Card, the On-ramps Card, and the Health Card.

Related ideas