mattpocock-skills-zh: Instructions file for Claude Code

CLAUDE.md

mattpocock-skills-zh CLAUDE.md is an instructions file for Claude Code from devcxl/mattpocock-skills-zh. It costs 1,267 tokens per session, scanned A, original, MIT.

Repository instructions for maintaining a Chinese translation of a collection of coding skills, organized into folders and published as a Claude Code plugin.

In plain words
What is it for?
Use them when adding, moving, translating, documenting, or publishing skills in the repository, especially when changing its plugin manifests.
Why use it?
They define where skills belong, how documentation and plugin lists stay synchronized, and how to validate changes before release.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions Claude Code.

This is devcxl/mattpocock-skills-zh's own configuration. It tells Claude Code how to work on mattpocock-skills-zh itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mattpocock-skills-zh configures →

Reuse

Borrowing it

Nothing to install: this file belongs to devcxl/mattpocock-skills-zh. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/devcxl/mattpocock-skills-zh/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/devcxl/mattpocock-skills-zh

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mattpocock-skills-zh CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/devcxl/mattpocock-skills-zh/claude-md/github.svg)](https://agentmods.dev/instructions/devcxl/mattpocock-skills-zh/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/devcxl/mattpocock-skills-zh/claude-md"><img src="https://agentmods.dev/badge/instructions/devcxl/mattpocock-skills-zh/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mattpocock-skills-zh CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/devcxl/mattpocock-skills-zh/claude-md"><img src="https://agentmods.dev/badge/instructions/devcxl/mattpocock-skills-zh/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,267 This file is loaded in full into every session.
When invoked 1,267 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01267 $0.01267
Opus 5.5 $0.00507 $0.00507
Sonnet 5.5 $0.00253 $0.00253
Haiku 4.5 $0.00127 $0.00127

Measured 15d ago against content hash 4c7b0a58bdf7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mattpocock-skills-zh CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 32 lines

How it starts

The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.

技能按 bucket 文件夹组织在 skills/ 下:

  • engineering/:日常编码工作
  • productivity/:日常非编码工作流工具
  • misc/:保留但很少使用,不对外推广
  • in-progress/:Beta:刻意公开、欢迎反馈、不随插件发布
  • deprecated/:已不再使用

engineering/ 或 productivity/(已推广的 bucket)中的每个技能必须在顶层 README.md 中有一处引用,并在 .claude-plugin/plugin.json 的 skills 数组中有一项(Claude Code 插件只随附已推广的集合)。misc/、in-progress/ 和 deprecated/ 中的技能不得出现在两者之中。

README 的中文版安装命令必须逐字复制自 .agents/install-block.md。本仓库由 devcxl 维护,是 Matt Pocock 的 mattpocock/skills 项目的第三方简体中文汉化版;中文版命令必须指向 devcxl/mattpocock-skills-zh,提及英文上游时须明确标注,不得把上游命令用作中文版的默认安装命令。.claude-plugin/marketplace.json 定义本仓库自己的 marketplace,不属于 Anthropic 官方市场;Claude Code 中文版须从这里安装,并默认关闭自动更新。Codex、Copilot 和 VS Code 的上游 marketplace 路线及中文版适配见 ADR 0002 和安装说明,中文版路线尚未逐项实测。触碰任一清单文件后运行 claude plugin validate . --strict。上游插件安装方式变化及本仓库的适配记录见 .agents/adr/0002-ship-as-a-claude-code-plugin.md。

顶层 README.md 中的每个技能条目必须把技能名链接到它的 SKILL.md。

每个 bucket 文件夹有一份 README.md,用一句话描述列出该 bucket 中的每个技能,技能名链接到它的 SKILL.md。已推广 bucket 的 README.md 与顶层 README.md 把条目分成 User-invoked(用户调用)与 Model-invoked(模型调用);非推广 bucket 的 README.md(misc/、in-progress/)使用扁平的列表。

engineering/ 与 productivity/ 中的技能还在 docs/<bucket>/<skill-name>.md 有一份面向人类的文档页(文档树镜像 skills/ 下的这两个 bucket 文件夹)。发布的 URL 是 https://aihero.dev/skills-<skill-name>,无论 bucket 如何:文档路径只是仓库组织形式。当你在 engineering/ 或 productivity/ 中新增、重命名或修改某个技能的行为时,按 .agents/writing-docs.md 创建或重新同步其文档页。一份完成的页面包含四个部分:它的作用、何时使用、常见问题、怎样算成功:writing-docs.md 给出模板、小节顺序以及去哪里找问题。非推广 bucket(misc/、in-progress/、deprecated/)中的技能没有文档页。唯一的例外是被整体移除的已推广技能:它的文档页保留,并以归档页方式标记(见 writing-docs.md)。

每份 SKILL.md 要么是用户调用型(disable-model-invocation: true 加上 agents/openai.yaml 中的 policy.allow_implicit_invocation: false,仅人类可达),要么是模型调用型(模型或用户均可达)。见 .agents/invocation.md。

ask-matt 是路由器,映射每一个用户可达的技能以及它们之间的关系。与重新同步文档页相同的触发条件适用于它:当你新增、重命名、移除一个用户可达技能,或修改它在流程中的位置时,重新读一遍 ask-matt 的 SKILL.md 并更新它,以保持地图准确:一个它从未提到的新技能,或一个它仍路由到的过时技能,都是在说谎的路由器。

要把所有 deprecated/ 和 misc/ 之外的技能(重新)链到本地 harness 技能目录(~/.claude/skills、~/.agents/skills),运行 scripts/link-skills.sh。每条都是一个指向本仓库的符号链接,所以 git pull 会保持已安装技能为最新;新增、移除或重命名技能后再次运行该脚本。

本仓库散文(SKILL.md 文件、文档、README.md、CHANGELOG.md、ADR、changeset、代码注释)中一律不出现 em-dash。某句话用到时,改写成逗号、冒号、句号、括号或连词中实际合适的那一个;切勿做盲目的字符替换。

Agent skills

Read the full file on GitHub · 32 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 15d ago Changed · +42 tokens per session 4c7b0a58bdf7
  2. 16d ago Changed · +6 lines · +43 tokens per session c1710c79bcf5
  3. 22d ago Changed · +76 tokens per session 2752145daaf7
  4. 24d ago Changed · +38 tokens per session 27b0fd0469cf
  5. 1mo ago Changed · +2 lines · +99 tokens per session 17db4d97bad2
  6. 1mo ago First seen · 24 lines · 969 tokens per session scan A 6eac21e78625

Subscribe to this mod's changes

mattpocock-skills-zh CLAUDE.md is an instructions file published in the GitHub repository devcxl/mattpocock-skills-zh (505 stars, last pushed yesterday), licensed MIT. It adds 1,267 tokens to every session, about $0.0051 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,581 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens