mattpocock-skills-zh-CN README

The project's README from github.com/vinvcn/mattpocock-skills-zh-CN. As one markdown file: README.md.

给真正工程师用的 Skills(简体中文版)

skills.sh

Matt Pocock 的 mattpocock/skills:第三方简体中文本地化,非官方仓库。这些 agent skills 是他每天用于真实工程工作的,不是 vibe coding:小、易改、可组合,适用于任何模型。

本仓库定期同步上游,并额外支持 DeepSeek Harness(dsh)插件安装,安装后以 /zh-<name> 调用任意技能(上游没有的能力,详见 dsh-plugin/README.md)。

30 秒安装

支持的 AI 工具

npx skills@latest add vinvcn/mattpocock-skills-zh-CN

选择你想安装的 skills,以及要安装到哪些 coding agents。首次安装时请确保选择 /setup-matt-pocock-skills,然后在 agent 中运行它来完成 issue tracker、labels 和 docs 目录配置。

skills.sh 与 plugin 方式每个 agent 只选其一:两种都装会让每个 skill 被安装两次。

或者在 Claude Code 中运行:

/plugin marketplace add vinvcn/mattpocock-skills-zh-CN
/plugin install mattpocock-skills@mattpocock

或者在 DeepSeek Harness(dsh) 中安装为插件(上游没有的安装路线):

dsh plugin --profile web add @vinvcn/dsh-mattpocock-skills-zh

安装后以 /zh-<name> 调用任意技能,例如 /zh-grilling。详见 dsh-plugin/README.md。

关于这个中文版

文档和技能说明已翻译;目录名、技能名、命令、代码块、路径和工具标识保持不变,以免破坏安装和运行行为。

中文版本不只是为了阅读方便。对中文母语用户来说,中文说明能减少概念转换成本;对以中文为主要交互语言或中文语料优化的模型来说,中文 prompt 和 skill instructions 也更容易贴合中文上下文,减少中英混杂带来的歧义。

本仓库按内容刷新方式同步上游,不同步上游 Git 历史或仓库管理状态。同步翻译由 Codex 执行,人工审核每一次更新后由维护者通过 PR 纳入 main;维护规则见 .skills/translate-skill/SKILL.md。

翻译策略是 skill-guided content localization:把上游 mattpocock/skills 当作英文内容来源,只翻译自然语言说明,保留目录名、skill name、frontmatter key、命令、代码块、路径、URL、package/tool/API identifiers 和行为关键 labels。用户可见的安装路径统一保持为 vinvcn/mattpocock-skills-zh-CN。

想请求翻译仓库里的英文术语,或认领翻译 PR?先读贡献指南;已请求与已决定的译法记录在翻译术语表。

贡献软件工程 Skills

欢迎分享经过真实工程实践检验的 Skills。无论是新的软件工程 Skill,还是对现有 Skill 的修复与改进,都可以通过 Pull Request 提交。

推荐流程为:先通过 Discussion 或 Issue 明确问题,再提交本仓库 PR;评审合并后继续在真实使用中验证,有上游分享价值时再评估贡献渠道。

Discussion 和 Issue 不构成预先批准;本仓库合并不构成上游收录承诺。当前上游不接受外部新增 Skill 的贡献,因此上游阶段通常是分享实践,而不是直接提交新 Skill PR。

流程图、提交要求、验证命令和上游边界详见贡献指南与收录范围。

本仓库新增 Skills

这些 Skills 由本仓库独立新增,不代表已经收录到上游 mattpocock/skills。

Skill 来源 简介
暂无条目 新 Skill 通过评审并合入后,将在这里列出。

Skills

原版 README 翻译

我每天用于真实工程工作的 agent skills,不是 vibe coding。

开发真实应用很难。GSD、BMAD、Spec-Kit 这类方法试图通过接管流程来帮你。但它们在接管流程的同时,也拿走了你的控制权,并让流程里的 bug 更难解决。

这些 skills 被设计得小、易改、可组合。它们适用于任何模型,背后是数十年的工程经验。你可以 hack 它们,让它们变成自己的东西。

如果你想跟进这些 skills 的更新,以及我后续创建的新 skill,可以加入大约 60,000 名开发者订阅的 newsletter:

订阅 Newsletter

安装(30 秒 setup)

Plugin 会自我更新;skills.sh 把可编辑文件复制进你的项目,更新由你手动完成。每个 agent 只选一种方式:两种都装会让每个 skill 被安装两次。

1. 获取 skills

Claude Code
claude plugin marketplace add vinvcn/mattpocock-skills-zh-CN
claude plugin install mattpocock-skills@mattpocock

默认自动更新。上游英文原版位于官方 marketplace(claude plugin install mattpocock-skills@claude-plugins-official);中文版通过本仓库自己的 marketplace 安装。

Codex
codex plugin marketplace add vinvcn/mattpocock-skills-zh-CN
codex plugin add mattpocock-skills@mattpocock

启动时自动更新。

GitHub Copilot(CLI 与 VS Code)
copilot plugin marketplace add vinvcn/mattpocock-skills-zh-CN
copilot plugin install mattpocock-skills@mattpocock

然后一次性地把下面内容加进 ~/.copilot/settings.json:

{
  "extraKnownMarketplaces": {
    "mattpocock": { "source": { "source": "github", "repo": "vinvcn/mattpocock-skills-zh-CN" }, "autoUpdate": true }
  }
}

在 VS Code 中运行 Chat: Install Plugin From Source,输入 https://github.com/vinvcn/mattpocock-skills-zh-CN。它会每日更新。

Gemini CLI(手动更新)
gemini skills install https://github.com/vinvcn/mattpocock-skills-zh-CN.git --path skills/engineering
gemini skills install https://github.com/vinvcn/mattpocock-skills-zh-CN.git --path skills/productivity

更新时重新运行这两条命令。

其他任何 agent,或想要可编辑文件(手动更新)
npx skills@latest add vinvcn/mattpocock-skills-zh-CN -a <agent>  # cursor, opencode, devin, windsurf, amp, pi; omit -a to choose

安装器询问要取哪些 skills 时,确保包含 setup-matt-pocock-skills。更新:运行 npx skills@latest update,并重新运行 add 以获取新增的 skills。

2. 运行 /setup-matt-pocock-skills

在你的 agent 中,每个 repo 运行一次。它会:

3. 完成,即可开始使用。

为什么这些 Skills 存在

我创建这些 skills,是为了解决我在 Claude Code、Codex 和其他 coding agents 中反复看到的常见失败模式。

#1: Agent 没有做我想要的东西

"No-one knows exactly what they want"

David Thomas & Andrew Hunt, The Pragmatic Programmer

问题:软件开发中最常见的失败模式是 misalignment。你以为开发者理解了你想要什么;等看到做出来的东西,才发现对方完全没理解。

AI 时代也是一样。你和 agent 之间存在沟通缺口。修复方式是一次 grilling session,让 agent 针对你要构建的东西提出详细问题。

解决方式是使用:

这些是我最常用的 skills。它们帮助你在开始前和 agent 对齐,并深入思考你要做的变更。每次想做变更时都值得使用。

#2: Agent 太啰嗦

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

问题:项目开始时,开发者和真正使用软件的人(domain experts)通常说着不同语言。

我在 agents 身上也感受到同样张力。Agents 往往被丢进一个项目,然后被要求边做边弄懂术语。于是它们用 20 个词解释本来 1 个词就够的东西。

解决方式是 shared language。它是一份帮助 agents 解码项目术语的文档。

示例

这是我 course-video-manager repo 中的一个 glossary 示例(文件在该 pinned commit 中仍名为 CONTEXT.md,出自这些 skills 重命名这一约定之前)。哪一个更容易读?

  • BEFORE: "There's a problem when a lesson inside a section of a course is made 'real' (i.e. given a spot in the file system)"
  • AFTER: "There's a problem with the materialization cascade"

这种简洁性会在一次又一次 session 中持续回报。

这已经内置在 /grill-with-docs 中。它是一场 grilling session,同时帮助你和 AI 建立 shared language,并把难解释的决策记录到 ADR 中。

很难解释这件事有多强。它可能是这个 repo 里最酷的技术之一。试试看就知道。

[!TIP] Shared language 除了减少啰嗦,还有很多其他好处:

  • 变量、函数和文件命名更一致,因为都使用 shared language
  • 因此 agent 更容易浏览 codebase
  • Agent 也会 花更少 tokens 思考,因为它能使用更简洁的语言

#3: 代码跑不起来

"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

问题:假设你和 agent 已经对要构建什么达成一致。那如果 agent 仍然产出一堆不能用的东西呢?

这时要看你的 feedback loops。没有对生成代码真实运行情况的反馈,agent 就是在盲飞。

解决方式:你需要常规的一组 feedback loops:static types、browser access 和 automated tests。

对 automated tests 来说,red-green-refactor 循环非常关键。Agent 先写一个失败测试,再修到测试通过。这能给 agent 稳定反馈,最终得到更好的代码。

我做了一个可以放进任何项目的 /tdd skill。它鼓励 red-green-refactor,并给 agent 足够多关于好测试和坏测试的指导。

调试方面,我也做了一个 /diagnosing-bugs skill,把最佳调试实践包装成一个纪律化、逐阶段把关的循环。

#4: 我们做出了 Ball Of Mud

"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

问题:大多数用 agents 构建的应用都复杂且难以修改。因为 agents 能极大加速编码,它们也会以空前速度加速软件熵增。Codebase 会变得越来越复杂。

解决方式是 AI-powered development 的一种新办法:关心代码设计。

这些 skills 的每一层都内置了这种思路:

更重要的是,/improve-codebase-architecture 会扫描 codebase 中的 deepening opportunities,把候选项交到你手上。我建议每隔几天就在你的 codebase 上跑一次。它是一次 survey,不是 rescue:在一个真正老旧的 codebase 上它能找出真实的候选项,但不会替你把 mud 解开。

摘要

软件工程基本功比以往任何时候都更重要。这些 skills 是我把这些基本功压缩成可重复实践的一次尝试,目标是帮你交付职业生涯中最好的应用。

参考

这些 skills 按一个维度区分:谁能调用它们。User-invoked skills 只有在你输入名称时才能触达(例如 /grill-me);它们的工作是编排。Model-invoked skills 可以由你调用,也可以在任务匹配时由 agent 自动触达;它们承载可复用纪律。User-invoked skill 可以调用 model-invoked skills,但不能调用另一个 user-invoked skill。

Engineering

我每天用于代码工作的 skills。

User-invoked

Model-invoked

Productivity

通用工作流工具,不限于代码。

User-invoked

Model-invoked

Misc

本地保留但很少使用的工具。

User-invoked

Model-invoked

mattpocock-skills-zh-CN (vinvcn/mattpocock-skills-zh-CN)

Searching Database…

What is this?This is a Simplified Chinese localization of mattpocock/skills, a collection of Agent Skills for coding agents like Claude Code and Codex that help with software engineering practices (TDD, code review, spec writing, architecture review, etc).
Is this a rewritten toolset or just a translation?It is a faithful translation: natural-language docs and skill instructions were translated into Chinese, but directory names, skill names, commands, code blocks, paths and tool identifiers were kept unchanged so installation and runtime behavior aren't broken.
How do I install these skills?Run the skills.sh installer, pick which skills to install and which coding agents to target (be sure to also select /setup-matt-pocock-skills), then run /setup-matt-pocock-skills inside your agent to configure the issue tracker, triage labels and docs location.
Which coding agents can I use these skills with?The skills.sh installer supports Claude Code, Codex, and other harnesses compatible with the Agent Skills format; Claude Code additionally has a native plugin installation path, but there is no native Codex plugin yet.
Does this repo stay in sync with the upstream project?It syncs by refreshing content from upstream mattpocock/skills, not by mirroring upstream's Git history or repository management state, and the latest translation pass was done by Claude and merged by the maintainer via PR.
Who benefits most from the Chinese version?Chinese-native developers get lower concept-conversion overhead, and models optimized for Chinese interaction or Chinese-heavy training data fit the localized prompts and skill instructions more naturally, avoiding mixed-language ambiguity.
What is the difference between installing via skills.sh and via the Claude Code plugin?skills.sh copies editable skill files into your project so you can tweak and own them, while the plugin installs a managed read-only bundle that updates automatically with new releases. The README warns against installing both, since each skill would end up duplicated.
What kinds of skills are included?Engineering skills like grill-with-docs, triage, tdd, code-review and implement for day-to-day coding work; Productivity skills like grill-me, handoff and teach for general workflows; and a small Misc set of rarely-used tools such as git-guardrails-claude-code.
What problems were these skills designed to fix?They target four recurring agent failure modes: agents misunderstanding what you actually want, agents being overly verbose, agents producing code that doesn't run, and codebases degrading into unmanageable 'balls of mud' as agents speed up development.
Is this an official Matt Pocock project?No — it is a community-maintained localization repository that tracks the original mattpocock/skills content and translates it into Simplified Chinese, keeping all functional identifiers untouched.
Creator
vinvcn
Size
1.1 MB
Stars
5.9K
Age
7mo
Commits · 90 Days