Matt Pocock 谈 AI Skills:编码智能体商品化战术编程,grill-me 与 Ralph 循环重塑战略工程
原题AI Skills with Matt Pocock
推荐理由Matt Pocock 讲清:编码 Agent 正在商品化战术编程;grill-me、Ralph 循环与多会话规格把工作抬回战略层。人负责约束与架构,Agent 负责可复用的短循环。还在堆 diff 的团队,可直接改工作流。
看前速览
Matt Pocock 讲解 AI 编码智能体如何商品化战术编程、为何软件基本功仍然重要,以及 grill-me、Ralph 循环与多会话规格如何把智能体工作转化为战略工程。
AI 商品化了战术编码,战略仍属人类
Pocock 认为前沿模型已能处理样板代码与语法,工程师的价值转向系统设计、约束与长期架构,而非死记实现细节。
Ralph 循环把智能体状态留在上下文窗口之外
与其依赖一份脆弱的长计划,每次迭代只迈一小步、把状态持久化到文件,再清空上下文,让模型从零开始、避免漂移。
Grill-me 弥合人与智能体的沟通鸿沟
该技能在写代码前强制对边界情况与权衡做穷尽追问,让智能体弄清用户的价值优先级,从而交付更对齐的工作。
规格加工单把工作保持在聪明区
即便窗口巨大,模型也在早期表现最佳;grilling 会产出共享规格,再拆成许多单会话工单,让大型功能落在可靠的注意力范围内。
AI skills 把可复用智能体工作流封装为 Markdown
Pocock 把个人循环分发为含提示词与说明的 skill 文件夹,可通过斜杠命令调用或自动加载,他的峰会演讲后该 skills 仓库迅速走红。
完整摘要
在这期 Pragmatic Engineer 访谈中,Matt Pocock 回顾了从语音教练到 TypeScript 教育与开源 AI skills 的路径,并论证前沿编码智能体已自动化战术编程,而战略设计仍是人类核心。他讲述了在 Stately 之后创办 Total TypeScript、短暂加入 Vercel 的经历,以及生成式 AI 如何削弱语法密集型课程的需求,但架构判断力依然稀缺。对话聚焦实用智能体工作流:Geoffrey Huntley 式 Ralph 循环把状态保存在代码库中并在每步重置上下文;把提示词封装为可通过斜杠调用或自动加载的 Markdown AI skills;以及 grill-me——迫使智能体在写代码前先追问约束。Pocock 还区分了上下文窗口的「聪明区」与「愚笨区」,建议用一份共享规格加上在全新会话中执行的许多小工单,让「白班规划」与「夜班智能体执行」保持对齐。现有转录在日夜分工的说明中途截断,因此目录后半如 Wayfinder、leading words、熵治理等主题在可用文本中未涉及。
文字稿
简要描述Brief Description
Total TypeScript 的创作者、风靡一时的“grill-me”AI 智能体技能开发者 Matt Pocock,与 Gergely Orosz 一同探讨了在 AI 编程智能体时代,经典的软件工程基础为何比以往任何时候都更加重要。Pocock 回顾了自己从声乐教练到前端工程师,再到全职技术教育者的职业历程,剖析了 AI 智能体如何使战术性编程趋于商品化,并将工程师的核心价值彻底转移到战略性系统设计和上下文工程上。他详细阐述了数十年前工程学著作中的概念——例如示踪弹、软件熵、无处不在的语言以及深模块——为何能作为高杠杆的“引导词”来驾驭前沿模型,并分享了他利用规范、Ralph 循环和 Wayfinder 映射图开展多会话规划的工作流,以维护整洁且具韧性的代码库。Matt Pocock, creator of Total TypeScript and the viral "grill-me" AI agent skill, joins Gergely Orosz to discuss how classic software engineering fundamentals are more vital than ever in the age of AI coding agents. Drawing on his journey from voice coaching to frontend engineering and full-time technical education, Pocock breaks down how AI agents have commoditized tactical programming, shifting the engineer's core value entirely to strategic system design and context engineering. He details why concepts from decades-old engineering texts—such as tracer bullets, software entropy, ubiquitous language, and deep modules—act as high-leverage "leading words" to steer frontier models, and shares his multi-session planning workflows using specs, Ralph loops, and Wayfinder maps to maintain clean, resilient codebases.
目录Table of Contents
- 从声乐教练到自学成才的开发者From Voice Coach to Self-Taught Developer
- 状态图、XState,以及加入 Vercel ટીમStatecharts, XState, and Joining Vercel
- Total TypeScript 的发布与数百万美元的成功 достижениеThe Launch and Multi-Million Dollar Success of Total TypeScript
- 人工智能如何颠覆技术教育How AI Disrupted Technical Education
- 战略型编程与战术型编程:进入 Ralph 循环Strategic vs. Tactical Programming: Enter Ralph Loops
- 将智能体工作流打包成 AI 技能Packaging Agent Workflows into AI Skills
- Grill-Me 技能:弥合人与智能体之间的沟通鸿沟The Grill-Me Skill: Bridging the Human-Agent Communication Gap
- 管理智能区域:上下文窗口与规格Managing the Smart Zone: Context Windows and Specs
- Wayfinder:使用有向图进行复杂规划♀♀♀Wayfinder: Navigating Complex Planning with Directed Graphs
- 为什么软件基础知识和 20 年前的书籍至今仍然重要Why Software Fundamentals and 20-Year-Old Books Still Matter
- 领域驱动设计中的引导词与通用语言Leading Words and Ubiquitous Language from Domain-Driven Design
- 备忘录驱动开发:为健忘型智能体优化代码库Memento-Driven Development: Optimizing Codebases for Amnesic Agents
- 战略性反馈循环,以及说服利益相关者重视基本原则Strategic Feedback Loops and Convincing Stakeholders to Value Fundamentals
- 从本地开发转向远程开发:远程机器与协作代理Moving Away from Local Dev: Remote Boxes and Collaborative Agents
- 何时进行严格审查,何时快速发布When to Grill vs. When to Ship Fast
- 在智能体时代重新审视测试驱动开发Reassessing Test-Driven Development in the Age of Agents
- 使用自动化审查器和代码园丁对抗软件熵Combating Software Entropy with Automated Reviewers and Code Gardeners
- 给初级工程师的建议与必读内容Advice for Junior Engineers and Essential Reading
从声音教练到自学成才的开发者From Voice Coach to Self-Taught Developer
Gergely Orosz:使用 grill-me 技能构建一个相当简单的 API 端点时,我遭遇了人生中最严苛的一次拷问。它问了我 35 个问题。过程很高强度,也很令人恼火,但它迫使我进行了更深入的思考。今天的嘉宾正是这一热门技能的创建者 Matt Pocock。Matt 曾是一名开发者,后来转型为教育者,因其 Total TypeScript 系列而广为人知,如今则专注于 AI 技能和教育视频。今天我们将聊聊 Matt 进入科技行业的非寻常经历:在多年担任声乐教练后,他构建了自己的 DIY 教练软件;还会谈到他广受欢迎的 grill-me 和 Wayfinder 等技能,以及为什么从几十年前的编程书籍中汲取灵感,能帮助我们借助 AI 构建更优秀的软件。Gergely Orosz: I got the grilling of my life when building a pretty simple API endpoint using the grill-me skill. It asked me 35 questions. It was intense, annoying, and it forced me to think more deeply. Today's guest is the creator of this popular skill, Matt Pocock. Matt is a developer turned educator, well known for his Total TypeScript series and now for his AI skills and educational videos. Today we cover Matt's unusual path into tech after years of being a voice coach, building his own DIY coaching software, his popular skills like grill-me and Wayfinder, and why taking inspiration from decades-old programming books helps us build better software with AI.
Matt,很高兴你能来参加我们的播客。Matt, it is great to have you on the podcast.
Matt Pocock:终于来到这里,真是太棒了。我是你们的超级粉丝,已经看过很多期节目了。我觉得这里就是软件工程界的 Tiny Desk,所以很高兴能来到这里。Matt Pocock: It is great to finally be here. I am a huge fan and have watched so many of these episodes. I feel like this is the Tiny Desk of software engineering, so I am glad to be here.
Gergely Orosz:很高兴在 Microsoft Build 交流之后再次联系。首先,和科技行业的许多人不同,你并没有学习计算机科学,对吗?Gergely Orosz: It is great to reconnect after catching up at Microsoft Build. To start off, unlike many people in tech, you did not study computer science, right?
Matt Pocock:完全不是。在成为开发者之前的六年里,我是一名在伦敦和埃克塞特工作的声音教练和声乐教师;我曾在埃克塞特上大学。我教授口音、歌唱和声音相关课程。我还取得了相关领域的硕士学位,并花了很长时间认定这就是我将要从事的职业。我当时完全没有想过要进入科技行业。我自己运营了一个网站,但也仅此而已。那段经历对我的生活和性格产生了极其重要的影响。Matt Pocock: Absolutely not. For six years before becoming a developer, I was a voice coach and singing teacher working in London and in Exeter, where I went to university. I was teaching accents, singing, and voice. I completed a master's degree in it and spent a lot of time thinking that was what my career was going to be. I did not have any inkling of entering tech. I ran my own website, but that was about it. That background has been an extremely important influence on my life and personality.
Gergely Orosz:声音辅导是从何而来的?又有哪些人来向你寻求帮助?Gergely Orosz: Where did the voice coaching come from, and what kind of people came to you for help?
Matt Pocock:我最初是一名声乐教师。我大学时在乐队里演出过,也有一些歌唱经验,后来创办了自己的公司。大多数客户只是想唱得更好,在合唱团中运用自己的声音,或把唱歌作为一种爱好。完成硕士学位后,我在戏剧学校教授莎士比亚,并开始指导人们进行公开演讲,其中包括为咨询公司提供演讲表达方面的培训。Matt Pocock: I started as a singing teacher. I was in a band at university, had some singing experience, and set up my own business. Most clients were people who simply wanted to sing better, use their voice in choirs, or pursue it as a hobby. After completing my master's degree, I taught Shakespeare in drama schools and started coaching people in public speaking, including sessions for consulting companies on presentation delivery.
我最终决定放弃那份职业,因为要在这一领域做到高水平,就必须住在伦敦。我在那里生活了两年,结果非常讨厌那种生活。我想回到自己长大的乡村。为了做一份可以远程进行的工作,我决定自学软件开发。I eventually decided to leave that career because doing it at a high level required living in London. I tried living there for two years and hated it. I wanted to return to the countryside where I grew up. To do something remotely, I decided to teach myself software development.
Gergely Orosz:你当时在寻找一种可以在伦敦以外从事、并且能提供可行职业前景的职业?Gergely Orosz: You were looking for a profession that you could pursue outside London that offered a viable career future?
Matt Pocock:没错。我自学了基础 JavaScript,因为我想让给学生上的课更好。我制作了一些小型闪卡应用,而我尝试开发的第一个主要应用是一个网页音频分析器。它会分析学生声音的声谱图,以检查共振频率,并查看他们的共振峰是否得到了适当的平衡。它运行得很糟糕,但确实让我的课程变得更好了。Matt Pocock: Exactly. I had taught myself basic JavaScript because I wanted to make lessons better for my students. I built little flashcard apps, and the first major app I attempted was a web audio analyzer. It analyzed the spectrogram of a student's voice to inspect resonant frequencies and see whether their formants were properly balanced. It ran terribly, but it made my lessons better.
大约在 2017 年,我开始浏览招聘信息,并意识到自己掌握了足够的 JavaScript 和 Sass,可以尝试申请职位。于是我辞掉了工作,抽出几个月的时间学习,最终获得了第一份相关工作。当时在英国,对工程师的需求很高,训练营毕业生也能获得机会。由于我多年来一直从事专业沟通工作,我在面试时能够像一个正常且善于表达的人那样交流,而不是像一个沟通能力欠佳的人。起初,我的技术知识很有限,但我解释技术概念的能力很强。后来,我将这种能力与强烈的热情和快速提升技术水平的学习能力结合起来,因此得以迅速进步。Around 2017, I started looking at job postings and realized I knew enough JavaScript and Sass to try applying. I quit my job, took a couple of months off to study, and landed my first role. In the UK back then, demand for engineers was high, and boot camp graduates were getting opportunities. Because I had spent years communicating professionally, I could interview like a reasonable, articulate person rather than someone who struggled with communication. My technical knowledge was limited initially, but my ability to explain technical concepts was strong. Once I paired that with intense passion and accelerated technical learning, I was able to progress quickly.
状态图、XState 以及加入 VercelStatecharts, XState, and Joining Vercel
Gergely Orosz:在担任第一份职务后,你是如何在职业阶梯上更进一步的?Gergely Orosz: How did you take the next steps on the ladder after that first role?
Matt Pocock:我的第一份工作是在一家小公司,那里有一些令人深受鼓舞、技术能力极强的开发者。指导我的那位工程师让我在 Windows 电脑上安装 CentOS 6,因为生产环境运行的就是它。遗憾的是,公司陷入了财务困境,于是我转到了一家代理机构。在接下来的几年里,我辗转于不同的代理机构之间,最终深入投入到 TypeScript 和开源领域。Matt Pocock: My first role was at a tiny company with some inspiring, hardcore developers. The engineer who mentored me got me to set up CentOS 6 on my Windows PC because that was what ran in production. Unfortunately, the company ran into financial trouble, so I moved to an agency. Over the next few years, I moved between agencies, eventually diving deeply into TypeScript and open source.
在我的第二份工作中,我已经开始阐述 TypeScript 的重要性。我们当时正在为一家汽车制造商构建学习管理系统,前端团队规模较小,后端团队则在葡萄牙。后端团队不断更改 API 契约,却不通知我们,导致出现漏洞并拖慢了我们的开发速度。引入 TypeScript 解决了这种脱节,加快了交付速度,还让前端团队的开发效率超过了后端团队。In my second job, I was already presenting on the importance of TypeScript. We were building a learning management system for an automobile manufacturer with a small frontend team and a backend team in Portugal. The backend team kept changing API contracts without telling us, causing bugs and slowing our velocity. Introducing TypeScript solved that disconnect, accelerated our delivery, and made the frontend team faster than the backend team.
Gergely Orosz:你是如何迈入开源领域的?Gergely Orosz: How did you make the jump into open source?
Matt Pocock:我当时积极利用业余时间钻研开源项目,并在 Twitter 上关注开发者。我偶然发现了创建 XState 的 David Khourshid。在一个客户项目中,我们需要为一款应用构建复杂的状态机,让视频通话中的两名用户能够实时浏览一个 3D 房屋模型。我们使用了 XState 4 版,取得了巨大成功。Matt Pocock: I was actively tinkering with open-source projects on the side and following developers on Twitter. I came across David Khourshid, who created XState. On a client project, we needed a complex state machine for an application where two users on a video call could navigate a 3D house model in real time. We used XState version 4, and it was a massive success.
我开始思考如何让这种集成具备更强的类型安全性。我围绕 XState 构建了一些工具和 CLI,这引起了 David 的注意。他邀请我加入 XState 核心团队。通过参与问题处理和架构讨论,我得以与 Mateusz Burzyński 等世界级工程师交流。当 David 筹集资金,将 Stately 转型为一家专注于状态图和可视化编程的商业公司时,他聘用了我。这是我第一次获得按美国水平支付的薪酬,这彻底改变了我的财务观念和灵活性。I started wondering how to make the integration more type-safe. I built some tooling and a CLI around XState, which caught David's attention. He invited me onto the XState core team. Contributing to issues and architectural discussions brought me into contact with world-class engineers like Mateusz Burzyński. When David raised funding to turn Stately into a commercial company focused on statecharts and visual programming, he hired me. That was my first role being paid US-level compensation, which completely transformed my financial perspective and flexibility.
在 Stately 工作期间,我一边从事工程工作,一边开展开发者倡导,因为我对这款产品深信不疑。这些倡导活动引起了 Vercel 的注意。当时,Lee Robinson 与 Delba de Oliveira 和 Lydia Hallie 一起负责开发者教育。我在 Jared Palmer 的带领下加入 Vercel,担任工程师。While at Stately, I did developer advocacy alongside engineering because I believed deeply in the product. That advocacy caught the attention of Vercel. At the time, Lee Robinson was leading developer education alongside Delba de Oliveira and Lydia Hallie. I took an engineering role at Vercel under Jared Palmer.
Total TypeScript 的发布与数百万美元的成功The Launch and Multi-Million Dollar Success of Total TypeScript
Gergely Orosz:在全职转向教育之前,你在 Vercel 工作了多久?Gergely Orosz: How long were you at Vercel before transitioning to education full-time?
Matt Pocock:我在 Vercel 只工作了大约三个月。我谈下了一份不同寻常的每周工作三天的合同,因为我很想念教学。在开始编程之前,我曾花了六年时间教授声乐,因此我又想重新制作教育内容。在 Stately 研究类型安全的状态图期间,我开发出了一些用于实现极其高级 TypeScript 类型的技术。Matt Pocock: I was only at Vercel for about three months. I had negotiated an unusual three-day-a-week contract because I missed teaching. Having spent six years teaching voice before coding, I wanted to create educational content again. While working on type-safe statecharts at Stately, I had developed techniques for extremely advanced TypeScript typing.
我开始制作两分钟的 TypeScript 技巧视频,并将它们发布到 Twitter 上。它们迅速走红。有个星期天,我录制了大约 15 个简短技巧,并将它们排好发布队列。我的粉丝数量快速增长,我意识到大家对高阶 TypeScript 内容有着极大的需求。I started producing two-minute TypeScript tips and posting them on Twitter. They exploded. One Sunday, I recorded about 15 short tips and queued them up. My following shot up rapidly, and I realized there was tremendous appetite for high-level TypeScript material.
Vercel 曾向我提供一份全职职位,但我请求以兼职合同的形式加入,以便尝试制作一门教育课程。两个月后,在 Turbopack 发布期间,我参与编写了最初的文档;与此同时,我为 Total TypeScript 发起了一次预售。这次预售带来的收入,是同期我在 Vercel 所赚收入的三十到四十倍。显然,我必须全职投入其中。Vercel had offered me a full-time role, but I asked for a part-time contract to test building an educational course. Two months in, during the release of Turbopack where I helped write the initial documentation, I ran a pre-release sale for Total TypeScript. The pre-sale generated thirty to forty times what I was earning at Vercel in that time frame. It became obvious that I had to commit full-time.
我与 Egghead 联合创始人 Joel Hooks 合作过,他此前曾与 Kent C. Dodds 共事。Joel 鼓励我将这件事视为一个高杠杆业务,目标是企业教育预算。我们于 2023 年初推出了完整课程,发布后不久收入就突破了七位数,最终总收入超过 250 万美元。这一成功让我能够完全围绕家庭来安排自己的工作生活,避开 996 这样的过劳文化,也很少在周末工作。I partnered with Joel Hooks, the co-founder of Egghead who had previously worked with Kent C. Dodds. Joel encouraged me to treat this as a high-leverage business targeting enterprise education budgets. We launched the full course in early 2023, and it crossed seven figures in revenue shortly after launch, eventually passing $2.5 million in total revenue. That success gave me the freedom to design my work life entirely around my family, avoiding grind culture like 996 schedules and rarely working weekends.
人工智能如何颠覆技术教育How AI Disrupted Technical Education
Gergely Orosz:Total TypeScript 取得了巨大成功,但随后现代生成式 AI 出现了。随着开发者转而使用大语言模型(LLM),而不是完整的视频课程,许多在线教育者都发现流量和课程收入有所下降。AI 如何影响了你的业务以及你对教学的看法?Gergely Orosz: Total TypeScript was a massive success, but then modern generative AI arrived. Many online educators have seen traffic and course revenues decline as developers turn to LLMs instead of comprehensive video courses. How did AI impact your business and your view of teaching?
Matt Pocock:人工智能彻底改变了哪些知识形式具有价值。在教学时,知识可分为两个截然不同的层次:语法,即“是什么”;以及底层架构原则,即“为什么”。如果不展示“是什么”,就很难教授“为什么”;但纯粹获取知识实际上已经变得不需要成本。任何人都可以询问大语言模型,或使用 AI 技能,立即获取确切的语法或实现某种模式。Matt Pocock: AI has completely shifted which forms of knowledge are valuable. When teaching, there are two distinct layers: the syntax, which is the "what", and the underlying architectural principles, which is the "why". You cannot easily teach the why without demonstrating the what, but pure knowledge acquisition has become practically free. Anyone can ask an LLM or use an AI skill to retrieve exact syntax or implement a pattern instantly.
然而,架构方面的智慧并没有因此变得更容易获得。当开发者缺乏架构判断力时,即使有 AI 助手,他们仍然会遇到完全相同的系统性故障模式。由于开发者觉得没有那么需要记住复杂的语法,Total TypeScript 的收入自然逐渐减少。However, architectural wisdom has not become easier to acquire. Developers still encounter the exact same systemic failure modes when they lack architectural judgment, even with AI assistants. Revenue for Total TypeScript naturally tapered off because developers feel less need to memorize intricate syntax.
最初,在 2023 年末,我尝试制作关于将 AI 集成到 Web 应用中的课程,但那感觉像是押错了方向。真正的转折点大约出现在 2024 年 12 月前后。在那段时间,Claude 3.5 Sonnet 和 Opus 等前沿模型达到了一个临界点,你可以可靠地将大量实现任务交给它们。Initially, in late 2023, I tried building courses about integrating AI into web applications, but that felt like the wrong bet. The real turning point came around December 2024. During that period, frontier models like Claude 3.5 Sonnet and Opus reached a threshold where you could reliably delegate substantial implementation tasks to them.
我意识到,AI 实际上已经将战术编程自动化了——编写样板代码、构造函数以及调整语法。人类剩下的职责是战略编程:系统设计、约束条件以及代码库的长期架构。I realized that AI had effectively automated tactical programming—writing boilerplate, constructing functions, and adjusting syntax. The remaining human responsibility is strategic programming: system design, constraints, and long-term codebase architecture.
战略型编程与战术型编程:进入 Ralph 循环Strategic vs. Tactical Programming: Enter Ralph Loops
Gergely Orosz:这种区分与 John Ousterhout 在《软件设计哲学》中的理念相呼应。你是如何开始围绕这一划分来组织工作的?Gergely Orosz: That distinction mirrors John Ousterhout's concepts in A Philosophy of Software Design. How did you begin structuring work around that division?
Matt Pocock:John Ousterhout 的书对我影响巨大。一旦 AI 让战术编程变得商品化,我们的工作就是管理战略层。Matt Pocock: John Ousterhout's book is a massive influence on me. Once AI commoditizes tactical programming, our job is managing the strategic layer.
我开始探索 Ralph 循环这一概念,它由 Geoffrey Huntley 推广开来。Ralph 循环不会预先生成完整计划,然后希望代理在执行三十个步骤的过程中不偏离方向;相反,它会为代理分配一个高层次目标,并要求它做出能够推动项目进展的最小可行修改。代理会修改文件、更新自身状态,然后在下一次迭代之前彻底清空其上下文窗口。I started exploring Ralph loops, a concept popularized by Geoffrey Huntley. Instead of generating an entire plan upfront and hoping an agent executes thirty steps without drifting, a Ralph loop assigns the agent a high-level goal and tells it to make the smallest viable change that moves the project forward. The agent modifies the files, updates its state, and then completely clears its context window before the next iteration.
由于状态存在于代码库、文件系统和环境中,而不是存在于逐渐恶化的上下文窗口里,因此模型在每一步开始时都完全是全新的状态。我花了多年时间在 XState 中构建状态机,因此这个过程让我立刻感到熟悉。它本质上是一个编排智能体操作的有限状态机。Because the state lives in the codebase, file system, and environment rather than inside a deteriorating context window, the model starts each step completely fresh. Having spent years building state machines in XState, this process felt immediately familiar. It is essentially a finite state machine orchestrating agent operations.
当我在自己的内部工具(比如定制的视频编辑器)上试验这些结构化循环,并将其与默认的智能体工具框架进行比较时,差异非常巨大。When I experimented with these structured loops on my internal tools—like my custom video editor—and compared them to default agent harnesses, the difference was massive.
将智能体工作流打包为 AI 技能Packaging Agent Workflows into AI Skills
Gergely Orosz:你是如何从这些单独的工作流实验转向创建可复用的技能的?Gergely Orosz: How did you move from these individual workflow experiments to creating reusable skills?
Matt Pocock:我想要一种简单的分发机制。AI 技能本质上只是包含 Markdown 文件的文件夹,这些文件定义了结构化提示词、系统指令和工作流。用户可以通过斜杠命令直接调用它们,或者由代理在相关时自动加载。Matt Pocock: I wanted a simple distribution mechanism. AI skills are fundamentally just folders of Markdown files that define structured prompts, system instructions, and workflows. They can be invoked directly by the user via slash commands or loaded automatically by the agent when relevant.
我将自己的一系列个人工作流程作为一个技能仓库开源了。起初,我只是把它放到网上,并没有进行太多推广。没过多久,它获得星标的速度就超过了我之前构建的任何项目。I open-sourced a collection of my personal workflows as a skills repository. At first, I simply put it online without much promotion. Soon after, it accumulated stars faster than anything I had previously built.
四月,我在伦敦举行的 AI Engineer Summit 上发表了题为《软件基础仍然重要》的演讲。该演讲的观看次数超过了 100 万次,技能仓库也增长到超过 23 万个 GitHub Star,成为 GitHub 上获得 Star 数量最多的仓库之一。这是我职业生涯中第二次感受到业界自发掀起的巨大关注浪潮。In April, I gave a talk titled "Software Fundamentals Still Matter" at AI Engineer Summit in London. That talk reached over a million views, and the skills repository grew to over 230,000 GitHub stars, becoming one of the most starred repositories on GitHub. It was the second time in my career where I felt a massive, organic wave of industry interest.
Grill-Me 技能:弥合人与智能体之间的沟通鸿沟The Grill-Me Skill: Bridging the Human-Agent Communication Gap
Gergely Orosz:让我们谈谈那个代码库中最著名的技能:grill-me。当我尝试用它来设计一个 API 端点时,它就令我回答几十个尖锐的技术问题,涉及令牌、速率限制和故障模式。是什么启发了你开发它?Gergely Orosz: Let's talk about the most famous skill from that repository: grill-me. When I tried using it to design an API endpoint, it interrogated me with dozens of pointed technical questions about tokens, rate limiting, and failure modes. What inspired it?
Matt Pocock:人们在使用 AI 智能体时犯的最大错误,是低估了沟通鸿沟。由于智能体是一个拥有广泛通用知识的大语言模型,人们往往以为它天然理解自己的思维模型和隐含的优先级。当你只是输入类似 /go 的命令,让它构建一项功能时,它会凭空臆测各种前提,并生成偏离预期的代码,因为它不知道你的边界。Matt Pocock: The biggest mistake people make with AI agents is underestimating the communication gap. Because the agent is an LLM with vast general knowledge, people assume it inherently understands their mental model and implicit priorities. When you simply type a command like /go and ask it to build a feature, it hallucinates assumptions and produces misaligned code because it does not know your boundaries.
grill-me 技能要求代理在编写一行代码之前不断地对你进行询问。它会向你了解边界情况、范围、约束条件和架构。它迫使你提前有意识地做出工程权衡。The grill-me skill instructs the agent to interview you relentlessly before writing a single line of code. It asks you about edge cases, scopes, constraints, and architecture. It forces you to make conscious engineering trade-offs upfront.
模型涌现出的行为令人印象深刻。它会像一位经验丰富的首席工程师那样挑战你。它让我想起职业生涯早期指导过我的高级工程师,他们迫使我为每一个架构决策进行论证。一旦代理理解了你确切的价值层级,其后续实现的质量就会提升一个数量级。The emergent behavior from the model is striking. It challenges you like a seasoned principal engineer. It reminds me of the senior engineers who mentored me early in my career, forcing me to justify every architectural decision. Once the agent understands your exact value hierarchy, the quality of its downstream implementation increases by an order of magnitude.
管理智能区域:上下文窗口与规格Managing the Smart Zone: Context Windows and Specs
Gergely Orosz:完成一次彻底的拷问式讨论后,你如何将这次讨论转化为实际的生产代码,同时又不让模型的记忆不堪重负?Gergely Orosz: Once you finish a thorough grilling session, how do you convert that discussion into actual production code without overwhelming the model's memory?
Matt Pocock:你必须围绕上下文窗口的限制进行设计。Dex Horothy 之前讨论过“智能区”与“愚笨区”的概念。当上下文窗口被数万个 token 填满时,每个 token 都在争夺注意力。当你在提示中塞入太多 token 时,模型会忽略细微的关联,并开始犯下粗心的错误。Matt Pocock: You have to design around context window limits. Dex Horothy previously discussed the concept of the "smart zone" versus the "dumb zone." As a context window fills up with tens of thousands of tokens, every token competes for attention. When you cram too many tokens into a prompt, the model loses track of subtle relationships and begins making careless mistakes.
即使拥有数百万 token 的上下文窗口,前沿模型在最初的 150,000 个 token(智能区)内的表现也最佳。要完成超过这一阈值的工作,必须将其拆分到多个彼此隔离的会话中。Even with multi-million token windows, frontier models perform best within their initial 150,000 tokens—the smart zone. To complete work larger than that threshold, you must break it across multiple isolated sessions.
我的工作流程使用两个关键工件:My workflow uses two key artifacts:
- 规范(Spec):描述目标结果和验收标准的唯一事实来源。A Specification (Spec): A single source of truth describing the target destination and acceptance criteria.
- 单个工单:从规范中提取的细粒度、自包含的工作单元,旨在于单次专注的会话中完成。Individual Tickets: Granular, self-contained units of work derived from the spec, designed to be executed in a single, focused session.
你会进行一轮详尽的盘问,以确定所有架构约束,将调查结果整理成规范文档,把该规范拆分为 30 或 40 个工单,然后在干净的上下文会话中逐一执行每个工单。You conduct a grilling session to establish all architectural constraints, compile the findings into a spec, break that spec into 30 or 40 tickets, and then execute each ticket in a clean context session.
这种方法能够在“白班”和“夜班”之间实现理想的分工。白天,你将高度专注的时间投入到规划、完善This approach enables an ideal division between the "day shift" and the "night shift." During the day, you invest high-focus time into planning, refining