Matt Pocock shares decision framework for AI coding agent workflows
The framework frames process weight as a cost model: clarification overhead should scale with the cost of building the wrong thing, not be applied uniformly. Practitioners using the Skills tooling can adopt an escalation pattern — start light, upgrade to mapping only when complexity emerges — rather than defaulting to heavyweight planning. This applies to any agentic coding setup where upfront planning competes with iteration speed.
Matt Pocock, author of the 281K-star open-source Skills project, shared a framework for choosing between workflow commands when working with AI coding agents.
He recommends one-shotting small changes directly, since the cost of an agent building the wrong thing drops to nearly zero for tiny diffs.
For medium-to-large expected changes, he suggests starting with the lightweight /grill-with-docs command, where the agent clarifies requirements before coding.
The heavyweight /wayfinder command, which maps the codebase and generates tickets, should only be used when planning visibly spirals out of control.
He warns that starting with /wayfinder creates sunk costs in unneeded maps and tickets when the solution turns out simple.
Matt Pocock 分享了「AI Coding Agent 该用多重流程」的决策框架,按改动规模匹配流程重量,小改动直接写,中大型改动先澄清需求,规划失控时才升级到重型规划 Matt Pocock 是 281K ⭐️「Skills For Real Engineers」开源 Skills 项目作者: github.com/mattpocock/ski… 这次他分享的是工作流中两个 / 命令的使用时机: · /grill-with-docs 轻量澄清流程:agent 在动手前“拷问”你(grill),结合文档把需求问清楚,目的是避免“agent 把东西建错了”。 · /wayfinder 重型规划流程:先给代码库画“地图”(map)、拆工单(tickets),再按图施工。 1. 改动很小 → 不要 grill,直接 one-shot。 背后的推理是一个成本模型:前置澄清流程的价值 = 避免返工的损失。如果 diff 本身很小,“建错东西”的代价趋近于零,那么为它付出的流程成本就是纯浪费。流程的重量应该与错误成本成正比,而不是无脑套用。 2. 永远不要从 /wayfinder 开始。 他描述的典型失败模式是:一上来就跑重型规划,结果发现方案其实很简单,但此时 map 和 tickets 已经生成了,沉没成本之下反而被一套不必要的规划绑架。 正确姿势是渐进升级:预期中大型改动时,先从 /grill-with-docs 这种轻流程开始;只有当对话中发现规划明显失控、问题确实复杂时,再说一句 "let's turn this into a map" 切换到 /wayfinder。 Matt Pocock @mattpocockuk Should you /grill-with-docs, /wayfinder, or just one shot the code? 1. If the diff is tiny, DON'T grill /grill-with-docs saves you from situations where the agent built the wrong thing. But if the thing it's building is tiny, that cost drops to nothing. So one-shotting is absolutely fine when you're only making small changes. 2. Never start with /wayfinder A failure mode of /wayfinder is that you start grilling and the solution turns out to be way simpler than you thought. Why is this bad? Because you've created the map and tickets, and you realise you don't need them. So if the expected diff is medium-large, always start with a /grill-with-docs session. Then, if planning starts to get out of hand, just say "/wayfinder let's turn this into a map". 🔗 View Quoted Tweet📊 2 ⚡
This report is categorized under AITOP's "How-to" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include AI Coding Agent, Matt Pocock, prompt engineering, coding assistants.
Source attribution: curated from shao__meng (@shao__meng).