From mattpocock-skills
Creates structured Claude Code skills with progressive disclosure, bundled resources like scripts and references, templates, and review checklists.
npx claudepluginhub vinvcn/mattpocock-skills-zh-cnThis skill uses the workspace's default tool permissions.
1. **Gather requirements** — 询问用户:
Guides creation of new Claude Code skills with SKILL.md templates, structure, progressive disclosure, review checklists, and optional scripts/references.
Guides creation of effective Claude Code skills: SKILL.md structure, YAML metadata, bundled scripts/references/assets for workflows and tools. Use when building or updating skills.
Authors a new SKILL.md with optional references, scripts, and evals following Anthropic's progressive-disclosure conventions. Triggers on requests to write, create, or draft skills.
Share bugs, ideas, or general feedback.
Gather requirements — 询问用户:
Draft the skill — 创建:
Review with user — 展示 draft 并询问:
skill-name/
├── SKILL.md # Main instructions (required)
├── REFERENCE.md # Detailed docs (if needed)
├── EXAMPLES.md # Usage examples (if needed)
└── scripts/ # Utility scripts (if needed)
└── helper.js
---
name: skill-name
description: Brief description of capability. Use when [specific triggers].
---
# Skill Name
## Quick start
[Minimal working example]
## Workflows
[Step-by-step processes with checklists for complex tasks]
## Advanced features
[Link to separate files: See [REFERENCE.md](REFERENCE.md)]
description 是 agent 决定是否加载 skill 时唯一看到的内容。它会和其他 installed skills 一起出现在 system prompt 中。agent 会读取这些 descriptions,并根据用户请求选择相关 skill。
Goal:给 agent 足够信息,让它知道:
Format:
Good example:
Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when user mentions PDFs, forms, or document extraction.
Bad example:
Helps with documents.
坏例子无法让 agent 区分它和其他 document skills。
以下情况添加 utility scripts:
相比 generated code,scripts 节省 tokens 并提升 reliability。
以下情况拆分为独立文件:
draft 完成后验证: