by devcxl
Matt Pocock 技能集的中文翻译版 — 地道中文,原汁原味的技术术语。基于 mattpocock/skills 复刻。每日中午12点钟同步
# Add to your Claude Code skills
git clone https://github.com/devcxl/mattpocock-skills-zhGuides for using ai agents skills like mattpocock-skills-zh.
Last scanned: 7/28/2026
{
"issues": [
{
"type": "npm-audit",
"message": "js-yaml: JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases",
"severity": "high"
}
],
"status": "WARNING",
"scannedAt": "2026-07-28T06:26:01.476Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}mattpocock-skills-zh is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by devcxl. Matt Pocock 技能集的中文翻译版 — 地道中文,原汁原味的技术术语。基于 mattpocock/skills 复刻。每日中午12点钟同步. It has 341 GitHub stars.
mattpocock-skills-zh returned warnings in SkillsLLM's automated security scan. It has no critical vulnerabilities, but review the flagged issues in the Security Report section before adding it to your workflow.
Clone the repository with "git clone https://github.com/devcxl/mattpocock-skills-zh" and add it to your Claude Code skills directory (see the Installation section above).
mattpocock-skills-zh is primarily written in Shell. It is open-source under devcxl on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh mattpocock-skills-zh against similar tools.
No comments yet. Be the first to share your thoughts!
Requires a passing catalog security scan. Resolve the flagged issues and resubmit to enable featuring.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
我每天都在用的智能体技能:做真正的工程,不是 vibe coding。
开发真正的应用很难。GSD、BMAD、Spec-Kit 等方法试图通过接管流程来帮忙。但在这么做的同时,它们剥夺了你的控制权,并且让流程中的 bug 极难排查。
这些技能的设计原则是:小巧、易定制、可组合。它们兼容任何模型。它们基于数十年的工程经验打磨而成。尽管折腾、改造成你自己的。Enjoy。
如果你想跟进这些技能的更新以及我新发布的技能,可以加入我的 Newsletter,已有约 60,000 名开发者订阅:
两种方式,两种理念。Claude Code 插件 将整套技能集作为受管理的只读 bundle 安装,在我发布新版本时自动更新:你订阅而非 fork。skills.sh 将可编辑的技能文件复制到你的项目中,这样你可以随意修改,变成自己的东西。二选一:两者都装会导致每个技能出现两次。
claude plugins install mattpocock-skills
或者在会话中:
/plugin install mattpocock-skills
它在 Claude Code 的官方市场中,无需额外添加,更新自动送达。
npx skills@latest add mattpocock/skills
选择你想要的技能,以及要安装到哪些编程智能体上。安装器会让你选择要装的技能:务必把 setup-matt-pocock-skills 选上。
原生 Codex 插件已在规划中:详见 .agents/adr/0002-ship-as-a-claude-code-plugin.md。
使用同样的安装器,在任何智能体上安装:包括 Claude Code:
npx skills@latest add mattpocock/skills
这会将技能作为普通文件写入你的仓库,归你所有,你可以自由编辑。不会有任何东西在后台偷偷更新;想获取最新变更时,运行 npx skills update 即可。
/setup-matt-pocock-skills在你的智能体中运行它,每个仓库执行一次。它会:
/triage 会用到)我建立这些技能是为了修复我在 Claude Code、Codex 以及其他编程智能体上看到的常见失败模式。
"No-one knows exactly what they want"
David Thomas & Andrew Hunt,《程序员修炼之道》(The Pragmatic Programmer)
问题所在。软件开发中最常见的失败模式是错位。你以为开发者知道你想要什么。然后你看到他们构建的东西:你意识到他们根本没理解你。
在 AI 时代也是一样的。你和智能体之间存在沟通鸿沟。修复办法是盘问会话(grilling session):让智能体就你要构建的东西向你提出详细的问题。
修复就是使用:
/grill-me:用于非代码场景/grill-with-docs:和 /grill-me 一样,但增加了更多内容(见下文)这些是我最受欢迎的技能。它们帮你和智能体在你开始之前先对齐,并就你正在做的修改深入思考。每次你想做修改时都用它们。
With a ubiquitous language, conversations among developers and expressions of the code are all derived from the same domain model.
Eric Evans,《领域驱动设计》(Domain-Driven-Design)
问题所在:在一个项目的开始,开发者和他们正在为之构建软件的人(领域专家)通常说的是不同的语言。
我在和我的智能体之间感受到了同样的张力。智能体通常被丢进一个项目,要去现场弄懂那些行话。所以它们用 20 个词的地方,一个就够。
修复是建立一套共享语言。它是一份帮助智能体解码项目中使用的行话的文档。
这是一个 CONTEXT.md 的例子,来自我的 course-video-manager 仓库。哪一份更容易读?
这种简洁在一场又一场会话中都会奏效。
这套东西已经内置到 /grill-with-docs 里。它是一场盘问会话,但帮你和 AI 建立共享语言,并把难以解释的决定记录到 ADR 里。
要解释这东西有多强大很难。它可能是这个仓库里最酷的一项技术。试一下就知道了。
[!TIP] 一套共享语言除了减少冗长之外还有很多好处:
- 变量、函数和文件的命名一致,使用共享语言
- 因此代码库对智能体来说更容易导航
- 智能体也花更少 token 来思考,因为它能用到更简洁的语言
"Always take small, deliberate steps. The rate of feedback is your speed limit. Never take on a task that's too big."
David Thomas & Andrew Hunt,《程序员修炼之道》(The Pragmatic Programmer)
问题所在:假设你和智能体已经就构建什么对齐了。当智能体仍然产出垃圾时怎么办?
是时候看看你的反馈循环了。没有对它产出的代码实际运行情况的反馈,智能体会是盲飞。
修复:你需要那批通常的反馈循环:静态类型、浏览器访问,以及自动化测试。
对自动化测试来说,红绿重构循环至关重要。这是先让智能体写一个失败测试,再修复测试的环节。它能给智能体持续一致的反馈,从而产出好得多的代码。
我建了一个 /tdd 技能,你可以放进任何项目。它鼓励红绿重构,并给智能体充分指引,什么是好测试、什么是坏测试。
对调试,我也建了一个 /diagnosing-bugs 技能,它把最佳调试实践包成一个按阶段把关、有纪律的循环。
"Invest in the design of the system every day."
Kent Beck,《解析极限编程》(Extreme Programming Explained)
"The best modules are deep. They allow a lot of functionality to be accessed through a simple interface."
John Ousterhout,《A Philosophy Of Software Design》(A Philosophy Of Software Design)
问题所在:大多数用智能体构建的应用都很复杂、难以修改。因为智能体可以显著加速编码,它们也加速了软件熵。代码库以空前的速度变得更复杂。
修复是一种全新的 AI 驱动开发方式:关心代码的设计。
这一点已内置到这些技能的每一层:
/to-spec 在创建规格之前先测验你要触及哪些模块而关键的是,/improve-codebase-architecture 会扫描一份代码库里的深化机会,然后把候选摆给你。我建议你在你的代码库上每隔几天跑一次。它是一次扫描而不是一次救援:在一份真正老的代码库上它会找到真实的候选,但它不会替你把泥团解开。
软件工程的基本功比以往更重要。这些技能是我把这些基本功压缩成可重复实践的最大努力,帮你做出你职业生涯中最好的应用。Enjoy。
这些按一个维度划分:谁能触发它们。用户调用的技能只有在你键入它们时才可达(例如 /grill-me);它们的职责是编排。模型调用的技能可以由你触发,或者在任务契合时由智能体自动拿起来用;它们承载着可复用的纪律。一个用户调用的技能可以触发模型调用的技能,但永远不能触发另一个用户调用的技能。
我每天用的编码工作技能。
用户调用
CONTEXT.md 和 ADR。/tdd,并在提交前以 /code-review 收尾。模型调用
CONTEXT.md 与 ADR。--abort。通用工作流工具,不限于代码。
用户调用
CONTEXT.md 的词汇重新讲一遍。模型调用
grill-me、grill-with-docs、triage、wayfinder 和 improve-codebase-architecture 背后的可复用访谈原语。