Reference · Matt Pocock's Skills

Build Card

/implement, /tdd and /code-review: one ticket, one run.

Sources: implement (guide), tdd (guide), code-review (guide), commit 5beb35b.

One /implement run

  1. Fetch the ticket, state its title, and work out the seams. There's no interview and no re-planning.
  2. /tdd at the pre-agreed seams, one red → green slice at a time
  3. Typecheck often, and run single test files
  4. Run the full suite once, at the end
  5. /code-review, then commit to the current branch

One ticket per run, with /clear between runs. You create the branch, and you close the ticket, which is what opens the frontier. For parallel work, use /implement-spec (worktrees), not several sessions in one checkout. A non-trivial ticket can use over 100k tokens. If it's much more than that, split the ticket.

/tdd

Anti-patternTell
Implementation-coupledIt breaks on a rename even though behaviour didn't change. Look for mocked internals, call counts, or DB queries used to verify.
TautologicalThe expected value is recomputed the way the code computes it. Use a literal, a worked example, or the spec.
Horizontal slicingA batch of tests landed before any code.

/code-review <fixed-point>

StandardsSpec
AsksBuilt right?Right thing?
FindsDocumented breaches (can be hard) and smells (always judgement calls)Missing or partial requirements, scope creep, and requirements done wrong
CitesThe rule and its file, or the smell plus the hunkThe spec line

Each axis runs in its own parallel subagent. The axes are never merged or re-ranked, and the report gives a worst issue per axis. The repo overrides the smell baseline.

Smell baseline (Fowler, Refactoring ch. 3): Mysterious Name · Duplicated Code · Feature Envy · Data Clumps · Primitive Obsession · Repeated Switches · Shotgun Surgery · Divergent Change · Speculative Generality · Message Chains · Middle Man · Refused Bequest

Gotchas

← Course index · Skill Map · Planning Card

Related ideas