Skip to content

The main flow

Matt Pocock's skills, 5 min read

The plugin draws its own map: “a flow is a path through the skills. Most paths run along one main flow” (source: Matt Pocock: the ask-matt skill file), with on-ramps that merge onto it, standalones beside it and a vocabulary underneath. The Lifecycle pages hold the detail of each step on this site.

“The route most work travels” (source: Matt Pocock: the ask-matt skill file), from an idea to a merged change:

  1. /grill-with-docs sharpens the idea by interview and keeps what it learns in GLOSSARY.md and decision records. Outside a repository, /grill-me runs the same interview and saves nothing.
  2. /to-spec turns the thread into a spec, but only for a build that spans sessions; one that fits a session goes straight to /implement, in the same context window.
  3. /to-tickets splits the spec into tracer-bullet tickets, each with its blocking edges.
  4. /implement builds one ticket per fresh session, driving /tdd one red-green slice at a time. /implement-spec builds every ticket in one run instead, with subagents in parallel on one integration branch.
  5. mattpocock-skills:code-review closes the build with a review of the diff on two axes, Standards and Spec. Name it in full when you run /implement, which asks for the review by its bare name (source: Matt Pocock: the implement skill file): in Claude Code, a plugin skill’s bare name reaches it “unless another command already uses that name” (source: Anthropic: Extend Claude with skills), and Claude Code’s own /code-review does. So the closing review can be Claude Code’s own, which “looks for correctness bugs” (source: Anthropic: Code review) instead; Verify with gates tells them apart.
  6. /pr shapes the pull request body, and the agent reaches for it on its own whenever it writes one.
  7. /retro suggests changes to the agent’s environment, not the code, so that the next build starts from a better one.

On this site, Align on done runs the grill, Plan the tickets the spec and the tickets, Build on a branch the build, Verify with gates the review, and Ship and record the pull request and the retro.

One detour leaves the line: when a question needs a runnable answer, such as a UI you have to see, the flow goes through /prototype, with /handoff out to a fresh session and back. Whether to clear the context between two steps is decided at the boundary between them, “the only place this decision belongs” (source: Matt Pocock: Phase boundaries); Sessions and effort covers the options.

Each is “a starting situation that generates work, then merges onto the main flow” (source: Matt Pocock: the ask-matt skill file):

Off the main flow, each used on its own:

Two model-invoked skills sit under the others, for when the words, not the process, are the problem:

/ask-matt is the map as a command: describe your situation, and “the router places you at a step on a flow” (source: Matt Pocock: ask-matt), as Size the issue shows. Its docs list what it gets wrong:

  • It reports skills as missing. Most skills it names set disable-model-invocation: true, which keeps them out of the skill list the agent is given, so the agent reports them absent. “They are installed. Type the slash command anyway” (source: Matt Pocock: ask-matt).

  • It can describe a skill from a summary. “The router answers from its own one-line summary of each skill rather than from the skill.” (source: Matt Pocock: ask-matt) Its skill file now tells it to “read that skill’s SKILL.md” (source: Matt Pocock: the ask-matt skill file) first, while its docs still list the bug as open, so ask before you act on what it says:

    Prompt

    Open that skill's SKILL.md and check what you just said against it.

  • It lags, and it knows one set. It is “maintained by hand, so it lags behind the repo” (source: Matt Pocock: ask-matt), and it knows nothing of skills you wrote or installed elsewhere.

  • Its edits to a skill do not last. An edit to a SKILL.md does not survive an update, so “put standing behaviour in your own CLAUDE.md or AGENTS.md, or say it in the invocation” (source: Matt Pocock: ask-matt), as Build on a branch does for every /implement.

Where the router and a skill disagree, “the SKILL.md is right” (source: Matt Pocock: ask-matt).

  1. Matt Pocock: the ask-matt skill file github.com
  2. Matt Pocock: the implement skill file github.com
  3. Anthropic: Extend Claude with skills code.claude.com
  4. Anthropic: Code review code.claude.com
  5. Matt Pocock: Phase boundaries github.com
  6. Matt Pocock: triage aihero.dev
  7. Matt Pocock: diagnosing-bugs aihero.dev
  8. Matt Pocock: wayfinder aihero.dev
  9. Matt Pocock: prototype aihero.dev
  10. Matt Pocock: handoff aihero.dev
  11. Matt Pocock: wait-what aihero.dev
  12. Matt Pocock: domain-modeling aihero.dev
  13. Matt Pocock: codebase-design aihero.dev
  14. Matt Pocock: ask-matt aihero.dev