Matt Pocock’s Agentic Engineering Workflow (just copy him)
Overview
Matt Pocock argues that AI multiplies engineering skill, so developers should focus less on chasing models and more on strategic programming, well-designed codebases, useful skills, and reliable agent environments. He demonstrates a stateful teaching skill, describes an AFK workflow using Claude Code, Sandcastle, and GitHub Actions, and explains why task queues, human review, and product judgment matter more than unattended agent loops.
Key takeaways
- AI increases the value of strategic engineering: developers who can scope work, define interfaces, design tests, and maintain a legible codebase can direct many tactical agents more effectively.
- A stateful teaching agent can personalize instruction by recording a learner’s mission and progress, then generating practical lessons such as Git exercises in HTML.
- Treat agent skills as either explicit procedures or model-invoked abilities; procedures preserve human control, while many automatically available skill descriptions can consume context.
- Improving codebase architecture and agent guardrails can reduce token waste enough to let cheaper models perform tasks that would otherwise require stronger models.
- AFK agent workflows are better organized around a prioritized task queue with scoped work and review checkpoints than around an uncontrolled loop that runs indefinitely.
- When an agent uncovers a security flaw, use the finding to strengthen recurring tests, monitoring, and review systems rather than relying on a one-time model discovery.
Chapters
- Matt Pocock contrasts tactical programming, such as writing code and fixing bugs, with strategic programming, such as designing architecture and improving velocity.
- AI can take on much of the tactical work, making a developer’s ability to scope tasks, design module interfaces, and plan tests more important.
- Good documentation and change-friendly codebases give agents the context and guardrails they need to implement work effectively.
- Pocock argues that domain knowledge sets the ceiling on what AI can accomplish, and that senior developers can gain a much larger productivity boost than less experienced developers.
- Effective delegation requires strategic judgment: identify the hard parts, define bounded tasks, and specify interfaces and tests.
- He recommends improving engineering ability alongside AI tool proficiency rather than treating model access as the main source of advantage.
- Pocock’s teach skill applies principles from his decade of teaching, including the zone of proximal development and the distinction between knowledge, skills, and wisdom.
- In a demonstration, David Ondrej poses as a beginner building a scheduling app for voice students and asks what engineering fundamentals to learn.
- The skill clarifies the learner’s mission before selecting a starting point, prioritizing Git, debugging, testing, and shipping over additional syntax.
- The teach skill stores a mission, resources, and a learning record locally so later lessons can build on what the learner has already done.
- It creates an HTML lesson with practical Git exercises, retrieval questions, and links to primary references such as the Pro Git book.
- Pocock prefers evaluating new models after their initial release excitement settles, and says he often waits about a month before switching.
- Pocock distinguishes procedures, which users explicitly invoke, from abilities, which an agent may load automatically, such as React coding standards.
- His short “grill me” procedure interviews a developer about an idea before implementation, surfacing decisions and edge cases before planning or coding.
- He prefers procedures that keep the human in control, while noting that many ability descriptions can consume context; a skill can disable model invocation to avoid that overhead.
- He frames expertise as knowledge, practiced skills, and wisdom, with wisdom depending on experience in the specific real-world context.
- Pocock uses Claude Code with Opus 4.8 at medium effort for planning and some local implementation.
- His Sandcastle tool runs agents inside Docker or Podman sandboxes, reducing risks such as destructive file access or exposure of environment variables.
- Sandcastle can run agents locally or in remote Vercel sandboxes, allowing parallel work and commits to be brought back into a local workspace.
- GitHub Actions can launch a review agent on a pull request to check the branch, run checks such as type-checking, and report its findings.
- Pocock says prompts, skills, sandboxing, and codebase quality deserve as much attention as the model because developers have more control over the harness.
- He favors agent-agnostic setups and durable software fundamentals over repeatedly switching tools to match the latest model release.
- A well-structured codebase can reduce exploration and token use, allowing cheaper or less capable models to complete work with fewer wasted attempts.
- When an agent finds a security issue, he recommends adding recurring checks and improving tests and review processes instead of treating the discovery as a one-off model benefit.
- Pocock separates collaborative, human-in-the-loop work such as planning from AFK work that agents can execute independently.
- His Sandcastle workflow lets multiple agents take scoped tasks from a backlog, implement changes, and return work for review.
- He prefers thinking in terms of a queue of issues rather than an agent loop that runs indefinitely; GitHub labels can trigger exploration or implementation.
- Automation can connect telemetry or Sentry reports to issue creation, agent exploration, proposed fixes, and a human checkpoint when needed.
- Pocock says the decision to remove a review checkpoint depends on what the review provides, including protection from production risks and insight into agent behavior.
- Even if an agent classifies a change as a harmless refactor, humans should sample its decisions to verify that the classification system is reliable.
- Review can become easier through richer artifacts; one example is an AI-generated walkthrough video with text-to-speech attached to a pull request.
- The goal is to reduce repetitive review effort without losing visibility into the system that produces and approves changes.
- Pocock argues that building a business still requires talking to customers, discovering their problems, and prototyping solutions that address real needs.
- AI can accelerate implementation and help carry out product procedures, but it cannot replace conversations with people in the real world.
- He recommends asking AI how to simplify an app or improve its UX rather than continually adding features.
- Product vision and feature priorities should remain with the person who understands why the product exists and whom it serves.
- Pocock sees enthusiastic AI users with solid software fundamentals as valuable, whether they are junior or senior, because an experimental mindset supports rapid learning.
- He distinguishes developer experience (DX) from agent experience (AX), the ease with which an agent can understand and change a codebase.
- Senior developers can improve AX by applying software design practices that already make systems easier for human developers to work in.
- His conclusion is that tactical-only coding is increasingly vulnerable, while strategic judgment and the ability to direct agents remain valuable.
- Pocock’s first practical recommendation is to remove existing skills, plugins, MCP servers, and instruction files such as CLAUDE.md, then observe the agent from a clean slate.
- Add only the procedures that solve observed problems, and install them in a form that can be customized and tested.
- Delegate implementation to AFK agents when tasks are sufficiently scoped, while keeping responsibility for priorities and review.
- Pocock points viewers to aihero.dev and aihero.dev/skills for his work and skill updates.
Transcript excerpt
0:00 Everyone's obsessed with the uh model and I think they should be more interested in the harness, what you can do to get the most out of the harness, giving it the right prompts, giving it the right skills to work with and improving the environment in which the model runs. As I sort of said with Fable, like the model is useful, but I think the harness has an equal amount of work and you have much more control of the harness than you do the model. People are focused on the wrong thing. They're looking at the big shiny new thing when in fact just focus on the stuff that's been working for 30 40 years, you know, and it really does work. Like people ask me all the time, how do you optimize for token spend? Have a code base that's easier to make changes in, >> right, Matt? So what's going to be the main difference between people who use AI to get insanely ahead and the
0:48 majority of people who only get a small boost from it? So in his book philosophy of software design, John Asterout talks about the difference between tactical and strategic programming. So I find this distinction so useful when thinking about AI because tactical programming is all about the on the ground day-to-day stuff, the actual writing of the code, the actual messing about with the syntax, figuring out bugs as they come up, and actually creating the code, creating the commits. Strategic programming is winning the war, not the battle. It's longer term thinking. It's the general sitting right at the top. How does the codebase need to look what um strategies can I use to improve our velocity? And for me, strategic programming has always been the most
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, David Ondrej.