skill-creator 精选
Design and author DeepTutor skills (SKILL.md packages). Use when the user wants to create a new skill, improve an existing skill, or asks how skills work.
安装方式
cp -r deeptutor/skills/builtin/skill-creator ~/.claude/skills/skill-creator把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/HKUDS/DeepTutor/6cf793bd868ba5ecbe64722936d4be8fab5a01df/deeptutor/skills/builtin/skill-creator/SKILL.md下载后另存为 ~/.claude/skills/skill-creator/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/HKUDS/DeepTutor.git
依赖与权限
- 无需 API Key
- 需要联网访问外部服务
- 依赖外部命令:
git - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
Skill Creator
Guidance for authoring effective DeepTutor skills.
What a skill is
A skill is a self-contained capability package: a SKILL.md playbook plus
optional references/ files. The system prompt only carries each skill's
name + description; the model fetches the full body with the read_skill
tool when a task matches. Skills teach procedural knowledge — workflows,
domain expertise, format conventions — that no model fully possesses.
Behaviour/voice presets (tone, teaching style) are NOT skills — those are
personas, managed separately.
Anatomy
my-skill/
├── SKILL.md (required: frontmatter + instructions)
└── references/ (optional: docs loaded on demand via read_skill)
Frontmatter schema:
---
name: my-skill # lowercase, digits, hyphens; max 64 chars
description: One line stating WHAT it does and WHEN to use it.
tags: [tool] # optional, user-facing organisation
always: false # optional: eager-inject into every turn
requires: # optional availability gates
bins: [git] # host CLI binaries
env: [GITHUB_TOKEN] # environment variables
sandbox: shell # needs the shell execution sandbox
---
Core principles
- The description is the trigger. It is the only text the model sees
before deciding to read the skill. State both what the skill does and
the situations that should trigger it. Put ALL "when to use" guidance
here — a "When to Use" section in the body is read too late.
- Concise is key. The context window is shared. Assume the model is
already smart; only add what it doesn't know. Challenge every paragraph:
does it justify its token cost?
- Match freedom to fragility. Open-ended tasks → heuristics and
principles (high freedom). Fragile, error-prone sequences → exact steps
to follow (low freedom).
- Progressive disclosure. Keep
SKILL.mdunder ~500 lines. Move
schemas, long examples, and variant-specific details into
references/<file>.md, and link them from SKILL.md with a clear note
on when to read each (the model fetches them with
read_skill(name, file="references/<file>.md")).
- No auxiliary files. No README, changelog, or setup guides inside a
skill — only what the model needs to do the job.
Writing workflow
- Collect concrete usage examples. Ask the user: "What would you say
that should trigger this skill? What should it do?" Stop when the
trigger phrases and expected behaviour are clear.
- Plan reusable content. For each example, identify what knowledge is
re-derived every time — that belongs in the skill (body or references).
- Draft the skill. Imperative form throughout. Frontmatter first;
verify the description passes the trigger test: would a model reading
only this line know when to use the skill?
- Create it. Use the skill management UI (Space → Skills) or the
skills API. The name becomes the directory name.
- Iterate from real use. After the skill fires on real tasks, tighten
what the model stumbled over and delete what it never needed.
质量与来源
- 所属仓库
- HKUDS/DeepTutor
- 仓库星标
- 4.1 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- 6cf793bd868b
- 内容指纹
- sha256:158a8544c752c7a
- 文件路径
- deeptutor/skills/builtin/skill-creator/SKILL.md