/writing-skills:writing-skillsfrom writing-skills
Rules for writing and editing agent skills (SKILL.md files and their references) so they stay short, single-purpose, and change agent behavior. Use when creating a skill, editing or reviewing one, or trimming a skill that has grown. Don't use for READMEs, project docs, or CLAUDE.md/AGENTS.md files.
Ships in writing-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A skill is instructions for an agent, not documentation for a human. Every line costs context on every load, so every line must change what the agent does.
Read references/examples.md before writing or trimming a skill.
name matches the directory name: lowercase letters, digits, single hyphens.description is the only text an agent sees when deciding to load the skill. Say what it does, when to use it ("Use when..."), and when not to ("Don't use for...") if a neighbouring skill could be confused with it. Third person, no "I" or "you".pr-review-delivery and the path:line Level: problem, fix format.scripts/ (or the repository's scripts/), and the skill tells the agent to run it. Scripts print actionable errors.Every skill includes clear examples: at least one per rule that needs judgment, and one worked run for a procedure. A skill with no examples is incomplete. Put them in references/examples.md (or inline when there are only one or two short ones) and tell the agent in SKILL.md when to read them. Each example has:
Prefer real cases from past PRs over invented ones once they exist.
references/.references/examples.md, not references/a/b.md) and each is linked from SKILL.md with when to read it.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub dvcrn/skills --plugin writing-skills