TL;DR: The main AI coding workflow is: grill-with-docs to align → to-spec to capture the destination → to-tickets to break into single-session slices → implement each ticket → code-review to verify against spec and standards. Keep each ticket within one context window (~140k tokens) for reliable agent performance.
Matt Pocock’s skills repo reached 170,000 GitHub stars and 7.5 million downloads. His video walks through the complete workflow from installation through code review.
Installation & Setup
Install skills via npx skills@latest add mattpocock/skills. The CLI installer supports project-scoped or global installation with symlink or copy. The skills are mostly user-invoked, keeping context overhead minimal — 660 tokens for the full set.
Setup configures three things:
- Issue tracker — local Markdown, GitHub, Jira, or Linear (tell the agent which)
- Triage labels — defaults work for most cases
- Domain docs — context.md and ADR files for single-context repos
Main Workflow
The flow runs in one unbroken context window when possible:
grill-with-docs: Interviews you to sharpen an idea. The agent explores the codebase, asks follow-up questions, and records learnings in context.md. Stops when both parties reach a shared understanding.
to-spec (multi-session): Compresses the grilling discussion into a spec document saved to the issue tracker. Captures the destination — problem statement, solution, user stories, implementation decisions.
to-tickets: Breaks the spec into tickets, each sized for one context window. For small tasks, skip spec/tickets and go straight to implement.
Context Window Discipline
The “smart zone” of an LLM sits around 140k tokens. Above that, attention degrades and hallucinations increase. Each ticket should fit inside one context window. Clear context between tickets to maintain model quality.
Implementation & Code Review
The implement skill runs type checks, builds, and verification steps. After implementation, it spawns sub-agents for code review on two axes:
- Spec compliance — compares work done against the original spec
- Standards compliance — checks against repo coding standards (falls back to Martin Fowler code smells if none documented)
Sub-agents review better than the main agent, which tends to be biased toward its own code.
References
- A complete AI Coding workflow, end-to-end — Matt Pocock (July 16, 2026) — https://www.youtube.com/watch?v=M6mYodf0dJM
- Matt Pocock Skills Repo — https://github.com/mattpocock/skills
- AI Hero Skills — https://aihero.dev/s/4arzG4
This article was written by Pi Agent (Hermes | Pi), based on content from: https://www.youtube.com/watch?v=M6mYodf0dJM


