AI资讯大全AIPPXP.CN搜索 ↗
图文教程 · 手把手

Tutorial: Equip the Programming Agent with Matt Pocock skills and run through the first closed loop教程:给编程智能体装上 Matt Pocock 技能并跑通第一个闭环

Install, initialize, interrogate a program with grill-me, and then implement it with TDD skills - a complete closed loop of 4 steps to experience this set of 280,000 stars for about 15 minutes.

安装、初始化、用 grill-me 逼问一个方案、再用 TDD 技能实现它——四步体验这套 28 万星技能的完整闭环,约十五分钟。

2026-10-11 更新 · 免费
教程:给编程智能体装上 Matt Pocock 技能并跑通第一个闭环
1

Step 1: Install the Skill Pack第一步:安装技能包

Fastest path: Execute claude plugin install mattpocock-skills @ claude-plugins-official in Claude Code, and the plugin agreement will be automatically updated.

Manual path: Download the source code package (0.34 MB) and copy the skills folder required in skills/engineering and skills/productivity to the client skills directory (Claude Code is ~/.claude/skills/).

Other clients: Codex uses the codex plugin marketplace to add mattpocock/skills; any agent can select npx skills @ latest add mattpocock/skills interactively, remember to check setup-matt-pocock-skills.

中文

最快路径:Claude Code 里执行 claude plugin install mattpocock-skills@claude-plugins-official,插件协议会自动更新。

手动路径:下载本站源码包(0.34MB)解压,把 skills/engineering 与 skills/productivity 里需要的技能文件夹复制到客户端技能目录(Claude Code 为 ~/.claude/skills/)。

其他客户端:Codex 用 codex plugin marketplace add mattpocock/skills;任意智能体可用 npx skills@latest add mattpocock/skills 交互式挑选,记得勾上 setup-matt-pocock-skills。

第一步:安装技能包
2

Step 2: Run an initialization to adapt your skills to your project第二步:跑一次初始化,让技能适配你的项目

Execute/setup-matt-pocock-skills in your project. It will ask in turn which ticket system to use (GitHub Issues, GitLab, local markdown file, or custom description), the routing rules for ticket tags.

After the answer is completed, it will write the adaptation configuration in the warehouse, and then the skills of to-tickets and triage will know where to open the work order and what label to use.

Run each warehouse once; the team warehouse submits the generated configuration to the repository, and the skill behavior of all employees is consistent.

中文

在你的项目里执行 /setup-matt-pocock-skills。它会依次询问:用哪个工单系统(GitHub Issues、GitLab、本地 markdown 文件,或自定义描述)、工单标签的流转规则。

回答完成后它会在仓库里写好适配配置,之后 to-tickets、triage 这些技能就知道把工单开到哪里、用什么标签。

每个仓库跑一次即可;团队仓库把生成的配置提交进版本库,全员技能行为即一致。

3

Step 3: Interrogate your program with grill-me第三步:用 grill-me 逼问你的方案

Pick a feature you're working on and say “grill me on this design” in the conversation with the key points of the solution. The intelligent experience is like a strict senior colleague asking questions one by one: boundary conditions, failure paths, data migration, rollback schemes, until each decision branch has a clear answer.

The point to be asked is the one you haven't figured out - that's the value of a million installs of this skill: putting “take it for granted” before writing code.

Ending it will output a list of decisions that have been taken, which can be converted into a formal specification document directly with the to-spec skill.

中文

挑一个你正准备动手的功能,在会话里说"grill me on this design"并附上方案要点。智能体会像严格的资深同事一样逐条追问:边界条件、失败路径、数据迁移、回滚方案,直到每个决策分支都有了明确答案。

被问住的点就是你还没想清楚的点——这正是这个技能 100 万次安装的价值:把「想当然」挡在写代码之前。

结束它会输出一份已拍板的决策清单,可以直接用 to-spec 技能转成正式规格文档。

4

Step 4: Implement it with TDD skills第四步:用 TDD 技能实现它

Say "with TDD" to the specification that has been padded. Skills force a red-green-refactoring loop: first write the failed test, then write the implementation to let the test pass, and finally refactor, each step has a verifiable output.

During the implementation process, let the code-review skill review change again, and the retro skill do a brief review, and a complete closed loop will run through.

By adhering to the "grill → to-spec → TDD → code-review" chain on a daily basis, you will find that the number of reworks has decreased significantly - this is also the design intention of this skill set: to combine rigorous engineering disciplines with small tools.

中文

对已拍板的规格说"用 TDD 实现"。技能会强制红-绿-重构循环:先写失败的测试,再写实现让测试通过,最后重构,每一步都有可验证的产出。

实现过程中再让 code-review 技能审查一遍改动、retro 技能做一次简短复盘,一个完整闭环就跑通了。

日常坚持「grill → to-spec → TDD → code-review」这条链,你会发现返工次数明显下降——这也是这套技能的设计初衷:用小工具组合出严谨的工程纪律。

Use reminder使用提醒

The accompanying resource for this tutorial is the full source code of mattpocock-skills (see the "AI Skill Package" section of this site). Skill instructions can significantly affect the behavior of the agent, and the team recommends piloting and uniformly configuring them in small projects before using them.

中文

本教程配套资源为 mattpocock-skills 全套源码(见本站「AI技能包」栏目)。技能指令会显著影响智能体行为,团队使用前建议先在小项目试跑并统一配置。

资源下载 · Download

本篇为图文教程,直接按步骤操作即可,无需下载文件。

0阅读0 条评论

阅读与点赞数据保存在你的浏览器本地,欢迎留下你的想法。

评论 文明发言,让讨论更有价值

正能量公益广告今日正能量学一点,用一点;今天种下的种子,会长成明天的能力。去免费下载专区 →广告