这是 mattpocock/skills 的简体中文本地化版本。
> /plugin marketplace add vinvcn/mattpocock-skills-zh-cn> /plugin install mattpocock-skills@mattpocock
Repo: vinvcn/mattpocock-skills-zh-cn
What's inside
这是 mattpocock/skills 的简体中文本地化版本。文档和技能说明已翻译;目录名、技能名、命令、代码块、路径和工具标识保持不变,以免破坏安装和运行行为。
中文版本不只是为了阅读方便。对中文母语用户来说,中文说明能减少概念转换成本;对以中文为主要交互语言或中文语料优化的模型来说,中文 prompt 和 skill instructions 也更容易贴合中文上下文,减少中英混杂带来的歧义。
本仓库按内容刷新方式同步上游,不同步上游 Git 历史或仓库管理状态。维护规则见 .skills/translate-skill/SKILL.md。
本仓库的最近一次同步翻译由 OpenAI Codex(GPT-5 coding agent)执行,并由仓库维护者通过提交记录纳入 main。翻译策略是 skill-guided content localization:把上游 mattpocock/skills 当作英文内容来源,只翻译自然语言说明,保留目录名、skill name、frontmatter key、命令、代码块、路径、URL、package/tool/API identifiers 和行为关键 labels。用户可见的安装路径统一保持为 vinvcn/mattpocock-skills-zh-CN。
npx skills@latest add vinvcn/mattpocock-skills-zh-CN
选择你想安装的 skills,以及要安装到哪些 coding agents。首次安装时请确保选择 /setup-matt-pocock-skills,然后在 agent 中运行它来完成 issue tracker、labels 和 docs 目录配置。
我每天用于真实工程工作的 agent skills,不是 vibe coding。
开发真实应用很难。GSD、BMAD、Spec-Kit 这类方法试图通过接管流程来帮你。但它们在接管流程的同时,也拿走了你的控制权,并让流程里的 bug 更难解决。
这些 skills 被设计得小、易改、可组合。它们适用于任何模型,背后是数十年的工程经验。你可以 hack 它们,让它们变成自己的东西。
如果你想跟进这些 skills 的更新,以及我后续创建的新 skill,可以加入大约 60,000 名开发者订阅的 newsletter:
npx skills@latest add vinvcn/mattpocock-skills-zh-CN
选择你想安装的 skills,以及要安装到哪些 coding agents。确保选择 /setup-matt-pocock-skills。
在你的 agent 中运行 /setup-matt-pocock-skills。它会:
/triage 会使用这些 labels)完成后即可开始使用。
如果你更喜欢无需手动维护的即装即用方式,这些 skills 也以原生 Claude Code plugin 发布。与把可编辑文件复制进 repo 不同,plugin 会把整套 skills 安装为受管理的 bundle;新版本发布后可以统一更新。
在 Claude Code 中运行:
/plugin marketplace add vinvcn/mattpocock-skills-zh-CN
/plugin install mattpocock-skills@mattpocock
或在 shell 中运行:
claude plugin marketplace add vinvcn/mattpocock-skills-zh-CN
claude plugin install mattpocock-skills@mattpocock
然后像上面的 quickstart 一样,在每个 repo 中运行一次 /setup-matt-pocock-skills。
两种安装方式代表两种使用取向:
使用 Codex 或其他 agent?skills.sh installer 已经可以把这些 skills 安装到 Codex 和其他兼容 Agent Skills 的 harnesses;目前尚未提供原生 Codex plugin。
我创建这些 skills,是为了解决我在 Claude Code、Codex 和其他 coding agents 中反复看到的常见失败模式。
"No-one knows exactly what they want"
David Thomas & Andrew Hunt, The Pragmatic Programmer
问题:软件开发中最常见的失败模式是 misalignment。你以为开发者理解了你想要什么;等看到做出来的东西,才发现对方完全没理解。
AI 时代也是一样。你和 agent 之间存在沟通缺口。修复方式是一次 grilling session,让 agent 针对你要构建的东西提出详细问题。
解决方式是使用:
/grill-me - 用于非代码场景/grill-with-docs - 与 /grill-me 类似,但会加入更多文档能力(见下文)这些是我最常用的 skills。它们帮助你在开始前和 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 中的一个 CONTEXT.md 示例。哪一个更容易读?
这种简洁性会在一次又一次 session 中持续回报。
这已经内置在 /grill-with-docs 中。它是一场 grilling session,同时帮助你和 AI 建立 shared language,并把难解释的决策记录到 ADR 中。
很难解释这件事有多强。它可能是这个 repo 里最酷的技术之一。试试看就知道。
[!TIP] Shared language 除了减少啰嗦,还有很多其他好处:
- 变量、函数和文件命名更一致,因为都使用 shared language
- 因此 agent 更容易浏览 codebase
- Agent 也会 花更少 tokens 思考,因为它能使用更简洁的语言
"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,把最佳调试实践包装成一个简单循环。
"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 的每一层都内置了这种思路:
/to-spec 会在创建 spec 前追问你准备改动哪些 modules更重要的是,/improve-codebase-architecture 能帮助你拯救已经变成 ball of mud 的 codebase。我建议每隔几天就在你的 codebase 上跑一次。
软件工程基本功比以往任何时候都更重要。这些 skills 是我把这些基本功压缩成可重复实践的一次尝试,目标是帮你交付职业生涯中最好的应用。
这些 skills 按一个维度区分:谁能调用它们。User-invoked skills 只有在你输入名称时才能触达(例如 /grill-me);它们的工作是编排。Model-invoked skills 可以由你调用,也可以在任务匹配时由 agent 自动触达;它们承载可复用纪律。User-invoked skill 可以调用 model-invoked skills,但不能调用另一个 user-invoked skill。
我每天用于代码工作的 skills。
User-invoked
CONTEXT.md 与 ADRs。/tdd,并在提交前以 /code-review 收尾。Model-invoked
CONTEXT.md 与 ADRs。--abort。通用工作流工具,不限于代码。
User-invoked
Model-invoked
grill-me 和 grill-with-docs 背后的 reusable loop。本地保留但很少使用的工具。
User-invoked
Model-invoked
as 类型断言迁移到 @total-typescript/shoehorn。.claude-plugin/
marketplace.json
plugin.json
.gitignore
.out-of-scope/
mainstream-issue-trackers-only.md
question-limits.md
setup-skill-verify-mode.md
.skills/
translate-skill/
SKILL.md
AGENTS.md
CLAUDE.md
CONTEXT.md
docs/
adr/
0001-explicit-setup-pointer-only-for-hard-dependencies.md
engineering/
ask-matt.md
code-review.md
codebase-design.md
diagnosing-bugs.md
domain-modeling.md
grill-with-docs.md
implement.md
improve-codebase-architecture.md
prototype.md
research.md
resolving-merge-conflicts.md
setup-matt-pocock-skills.md
tdd.md
to-spec.md
to-tickets.md
triage.md
wayfinder.md
invocation.md
productivity/
grill-me.md
grilling.md
handoff.md
teach.md
writing-great-skills.md
LICENSE
LICENSE.zh-CN.md
README.md
scripts/
audit-english.mjs
check-translation.mjs
link-skills.sh
list-skills.sh
skills/
deprecated/
design-an-interface/
agents/
openai.yaml
SKILL.md
qa/
agents/
openai.yaml
SKILL.md
README.md
request-refactor-plan/
agents/
openai.yaml
SKILL.md
ubiquitous-language/
agents/
openai.yaml
SKILL.md
engineering/
ask-matt/
agents/
openai.yaml
SKILL.md
code-review/
agents/
openai.yaml
SKILL.md
codebase-design/
agents/
openai.yaml
DEEPENING.md
DESIGN-IT-TWICE.md
SKILL.md
diagnosing-bugs/
agents/
openai.yaml
scripts/
hitl-loop.template.sh
SKILL.md
domain-modeling/
ADR-FORMAT.md
agents/
openai.yaml
CONTEXT-FORMAT.md
SKILL.md
grill-with-docs/
agents/
openai.yaml
SKILL.md
implement/
agents/
openai.yaml
SKILL.md
improve-codebase-architecture/
agents/
openai.yaml
HTML-REPORT.md
SKILL.md
prototype/
agents/
openai.yaml
LOGIC.md
SKILL.md
UI.md
README.md
research/
agents/
openai.yaml
SKILL.md
resolving-merge-conflicts/
agents/
openai.yaml
SKILL.md
setup-matt-pocock-skills/
agents/
openai.yaml
domain.md
issue-tracker-github.md
issue-tracker-gitlab.md
issue-tracker-local.md
SKILL.md
triage-labels.md
tdd/
agents/
openai.yaml
mocking.md
refactoring.md
SKILL.md
tests.md
to-spec/
agents/
openai.yaml
SKILL.md
to-tickets/
agents/
openai.yaml
SKILL.md
triage/
AGENT-BRIEF.md
agents/
openai.yaml
OUT-OF-SCOPE.md
SKILL.md
wayfinder/
agents/
openai.yaml
SKILL.md
in-progress/
batch-grill-me/
agents/
openai.yaml
SKILL.md
claude-handoff/
agents/
openai.yaml
SKILL.md
loop-me/
agents/
openai.yaml
SKILL.md
README.md
setup-ts-deep-modules/
agents/
openai.yaml
dependency-cruiser.config.cjs
SKILL.md
to-questionnaire/
agents/
openai.yaml
SKILL.md
wizard/
agents/
openai.yaml
SKILL.md
template.sh
writing-beats/
agents/
openai.yaml
SKILL.md
writing-fragments/
agents/
openai.yaml
SKILL.md
writing-shape/
agents/
openai.yaml
SKILL.md
misc/
git-guardrails-claude-code/
agents/
openai.yaml
scripts/
block-dangerous-git.sh
SKILL.md
migrate-to-shoehorn/
agents/
openai.yaml
SKILL.md
README.md
scaffold-exercises/
agents/
openai.yaml
SKILL.md
setup-pre-commit/
agents/
openai.yaml
SKILL.md
personal/
edit-article/
agents/
openai.yaml
SKILL.md
obsidian-vault/
agents/
openai.yaml
SKILL.md
README.md
productivity/
grill-me/
agents/
openai.yaml
SKILL.md
grilling/
agents/
openai.yaml
SKILL.md
handoff/
agents/
openai.yaml
SKILL.md
README.md
teach/
agents/
openai.yaml
GLOSSARY-FORMAT.md
LEARNING-RECORD-FORMAT.md
MISSION-FORMAT.md
RESOURCES-FORMAT.md
SKILL.md
writing-great-skills/
agents/
openai.yaml
GLOSSARY.md
SKILL.mdFAQ
mattpocock-skills is a Claude Code plugin with 26 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes ask-matt, code-review, codebase-design. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.