/toolkit:claude-code-skill-developmentfrom toolkit
Guides creation of Claude Code skills (SKILL.md files) with best practices, structure, and testing. Use when building or improving skills.
Ships in toolkit. 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.
Create effective Claude Code skills that are concise, discoverable, and well-structured.
You MUST read these references for detailed guidance:
Define 2-3 concrete use cases before writing anything:
Use Case: [Name]
Trigger: User says "[phrase]" or "[phrase]"
Steps:
1. [First action]
2. [Second action]
Result: [What gets produced]
Then identify which category your skill falls into — this determines which techniques to use. See Skill Categories & Patterns.
references/skill-name/
├── SKILL.md # Main instructions (< 500 lines)
├── scripts/ # Optional: executable code (Python, Bash, etc.)
├── assets/ # Optional: templates, fonts, icons
└── references/ # Detailed docs (loaded on demand)
├── guide.md
└── examples/
---
name: my-skill-name
description: This skill should be used when the user asks to "do X", "create Y", or mentions Z. Be specific about triggers.
context: fork # Optional: run in isolated context (prevents side effects)
user-invocable: true # Optional: show in slash command menu (default: true)
---
Name rules:
Description rules:
Optional fields:
context: fork - Run skill in isolated sub-agent context, preventing unintended side effects on main agent stateuser-invocable: false - Hide from slash command menu (skills are visible by default)allowed-tools - Restrict which tools the skill can use (e.g., "Bash(python:*) Bash(npm:*) WebFetch"). Skills with references/ directories should include allowed-tools: Read, Grep to avoid permission prompts when accessing bundled files (claude-code#15757)license - e.g., MIT, Apache-2.0compatibility - Environment requirements (1-500 chars)metadata - Custom key-value pairs (author, version, mcp-server)Structure: [What it does] + [When to use it] + [Key capabilities]
# Good - specific triggers
description: This skill should be used when the user asks to "create a hook", "add a hook", or mentions Claude Code hooks.
# Bad - vague
description: Helps with automation tasks.
Keep SKILL.md under 500 lines. Link to details:
# My Skill
## Quick start
[Essential info here]
## Advanced features
See [detailed-guide.md](./references/detailed-guide.md)
## API reference
See [api-reference.md](./references/api-reference.md)
Claude loads reference files only when needed.
Validate across three dimensions before sharing:
See Testing Guide for test examples and success criteria.
Common issues and fixes:
| Symptom | Fix |
|---|---|
| Doesn't trigger | Add specific trigger phrases to description |
| Triggers too often | Add negative triggers, narrow scope |
| Instructions ignored | Make instructions concise, use explicit headers |
| Slow responses | Move content to references/, reduce SKILL.md size |
See Troubleshooting for detailed solutions.
After creating or modifying skills, inform the user:
No restart needed. Skill changes take effect immediately - skills are hot-reloaded.
Before finalizing a skill:
references/references/best-practices.md (opens in a new tab)references/complete-guide-to-building-skills.md (opens in a new tab)references/examples.md (opens in a new tab)references/patterns.md (opens in a new tab)references/testing.md (opens in a new tab)references/troubleshooting.md (opens in a new tab)skill-tests.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
16 skills in this plugin
/agent-developmentThis skill should be used when the user asks to "create an agent", "write an agent", "build an agent", or wants to add new agent capabilities to Claude Code./anthropic-evaluationsThis skill should be used when the user asks to "create evals", "evaluate an agent", "build evaluation suite", or mentions agent testing, graders, or benchmarks. Also suggest when building coding agents, conversational agents, or research agents that need quality assurance./claude-code-agent-teamsThis skill should be used when the user asks to "create an agent team", "run a multi-agent team", "coordinate multiple Claude sessions", "use agent teams", or wants to parallelize work across multiple Claude Code instances.npx claudepluginhub dwmkerr/claude-toolkit --plugin toolkitOther plugins' skills for the same job