Use cases by size
Each size of Size the issue takes its own route through the skills. The S, M and L runs below come from this site’s build; it has met no Fog yet, so Fog gets the skills’ own route.
S: a small fix
Section titled “S: a small fix”mattpocock-skills:code-review, run on the landing ticket, found a bug: a page restored by the browser’s Back button did not record the visit, so the resume panel pointed one page too far. The fix, one item of the review’s fix batch, fits in a sentence: record the visit again when the page comes back from the cache. Its test runs in Google Chrome, since Playwright starts Chromium with --disable-back-forward-cache (source: Playwright: Chromium switches), where no page comes back from the cache; it failed before the fix and passes now.
- What you type. Nothing, in this run. Alone, a fix like it starts with
/tdd, “on its own when you just want to build a concrete behaviour test-first without a full spec” (source: Matt Pocock: the ask-matt skill file), or with/diagnosing-bugsfor a bug that resists a first glance. - What comes back. Here, the test and the fix in one batch.
/tddnames the seams it means to test and “stops for your confirmation” (source: Matt Pocock: tdd);/diagnosing-bugsfirst builds “one named command, already run once, that goes red on this bug” (source: Matt Pocock: diagnosing-bugs). - Where you step in. Here, nobody did: the fix merged with the landing ticket, without my green light. On a fix of your own, at the seams, then at the diff.
M: a medium feature
Section titled “M: a medium feature”The first ticket of this site, the landing and the first page on a preview, fit one context and one pull request.
- What you type. For an issue that fits one session,
/grill-with-docs, then “straight to implement” (source: Matt Pocock: grill-with-docs) in the same context. For a ticket already cut,/implementalone: I typed/mattpocock-skills:implementwith no argument, and the agent took the next ticket in order. - What comes back. Browser tests, each failing before the code that made it pass; the code; then
mattpocock-skills:code-reviewon two axes, which sent back a section the ticket had not asked for and claims without a source. Writing the browser tests first departs from the tdd docs: “browser tests come after the behaviour works” (source: Matt Pocock: tdd), since “browser tests are slow enough that the red-green feedback loop stops paying for itself” (source: Matt Pocock: tdd). It held here because a static site’s behaviour is its built page, and a build and one spec run in seconds. - Where you step in. On the page, once it runs. The ticket asked for a line under the page title with the date and versions it was checked against. When I saw it, I removed it, with its test and its code, and the spec and the tickets were updated to match.
L: this pivot
Section titled “L: this pivot”The pivot that turned the first version of this site into these docs could not fit one session, so it took the whole main flow.
- What you type.
/ask-mattfirst: I wanted the router to choose the route. Then, as the route said,/grill-with-docs,/to-specand/to-ticketsin one context window, and/implementfor the skeleton ticket. From the landing ticket on, no command was typed per ticket: a background agent took each one from a written brief, thenmattpocock-skills:code-reviewreviewed it and CI ran. - What comes back. From the router, a route and nothing done: it “does not grill, write a spec, open a file or fire the skill it just named” (source: Matt Pocock: ask-matt). Then each step leaves what the next one reads: the glossary and the decision record, the spec, the tickets with their blocking links, and per ticket a pull request and its journal entry.
- Where you step in. At each boundary: the route ended every step on a checkpoint, where the agent showed what it produced and waited for my go, and the grill put the open questions to me, such as the voice of these pages. Those background tickets merge without my green light, as Ship and record explains.
Fog: a foggy effort
Section titled “Fog: a foggy effort”- What you type.
/wayfinderfor an effort too big for one session whose route you cannot see;/prototypewhen you are blocked by a question that “talking cannot settle” (source: Matt Pocock: wayfinder). - What comes back. From
/wayfinder, a map: one issue on the tracker, its decision tickets as children, resolved one at a time until “nothing is left to decide before someone builds the thing” (source: Matt Pocock: wayfinder). From/prototype, an answer, and the throwaway kept on a branch. - Where you step in. At every decision, since a ticket worked with you “resolves only through the live exchange. An agent that answers its own grilling questions has broken it.” (source: Matt Pocock: wayfinder) When the map clears, the work merges at
/to-spec, and you size again.
The proof habit
Section titled “The proof habit”Every run above ends on a check that could fail, and the skills hold the same line: /tdd writes “one failing test, then just enough code to pass it” (source: Matt Pocock: tdd). When this site’s first browser gates went in, each got a temporary break to show it could fail: a check that never failed proves nothing yet. The habit is the proof, with or without TDD, as Build on a branch quotes Matt Pocock.
Two common frictions
Section titled “Two common frictions”Too many tickets. /to-tickets tends to cut too fine, the problem Plan the tickets calls the most reported: “the model defaults to atomic units and loses the grouping that would make them meaningful” (source: Matt Pocock: to-tickets). Fix it at the quiz: “ask it to merge tickets, and it will” (source: Matt Pocock: to-tickets), and if the whole change fits one context window, skip the skill. The same quiz catches tickets cut by layer: ask what each one lets you demo, since “a ticket with no answer is a horizontal slice” (source: Matt Pocock: to-tickets).
Merge the tickets that are too fine. For each ticket left, name what can be demoed once it is done.
A plan too early. Plan mode writes its plan before you and the agent understand each other, the failure Align on done quotes, which is why the grill comes first. This pivot arrived with a plan of its own, a proposed map of these docs, and the map went to the grill before any spec. A spec can look finished too early as well, because “later steps soften precise answers” (source: Matt Pocock: grill-with-docs): re-read it against your own answers.