From plugin-curator
Create a new skill following the standard template. Handles SKILL.md creation, README update, and parent agent cross-reference.
How this skill is triggered — by the user, by Claude, or both
Slash command
/plugin-curator:create-skillThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create a new skill for $ARGUMENTS.
Create a new skill for $ARGUMENTS.
Read(file_path="${CLAUDE_PLUGIN_ROOT}/templates/skill-template.md")
Read(file_path="CLAUDE.md")
The template defines the MANDATORY structure. Every field is required unless explicitly marked optional.
find plugins -path "*/{agent-name}/agents/*.md"
find plugins -path "*/{agent-name}/skills/*/SKILL.md"
Before writing, understand what the skill should cover:
mkdir -p plugins/{category}/{agent}/skills/{skill-name}
Skill names are kebab-case, matching the directory name.
Follow the template structure. Every section is mandatory:
Frontmatter (all fields required):
---
name: {kebab-case — matches directory}
description: "{What it produces — when to use it. Specific enough for auto-invocation}"
argument-hint: "[{what the user provides}]"
user-invocable: true
allowed-tools: {minimal set — principle of least access}
---
Frontmatter rules:
description is CRITICAL — Claude may only read this to decide whether to invoke. Must include (1) what it produces, (2) when to use itallowed-tools: only include tools the skill actually needs. Read-only skills: Read, Glob, Grep. Skills that create files: add Write, Edit. Skills that run commands: add Bashargument-hint: wrapped in [brackets], specific enough to guide the userpaths (optional): add if the skill should auto-trigger on specific file patternsBody structure:
| Section | Required | Purpose |
|---|---|---|
| Opening paragraph | Yes | What this skill does for $ARGUMENTS. Reference related skills |
| Sequential steps | Yes | Numbered, mandatory, blocking. Each produces a verifiable output |
| Rules / Anti-patterns | Yes | Specific imperatives ("Always X", "Never Y because Z") |
| Output format | Yes | Exact markdown template with all fields defined |
Quality targets:
Read the skill as if you've never seen the parent agent. Can you execute it?
| Check | Pass criteria |
|---|---|
| Understandable | A reader can understand what to do without the parent agent |
| Executable | Steps are specific enough to follow |
| Complete | No "see the agent for details" references |
| Bounded | Clear scope — doesn't try to be the whole agent |
Add the skill to the parent agent's row in the agent table in README.md.
Run the audit criteria mentally:
allowed-tools. Read-only skills don't need Write, Edit, or BashThe output is the skill directory and file itself:
plugins/{category}/{agent}/skills/{skill-name}/SKILL.md
After creation, report:
## Created: {skill-name} ({parent-agent})
- **Path:** `plugins/{category}/{agent}/skills/{skill-name}/SKILL.md`
- **Lines:** {count}
- **Description:** {frontmatter description}
- **Self-contained:** {yes/no}
- **README updated:** {yes/no}
- **Quality score:** {X}/12 criteria met
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub hpsgd/turtlestack --plugin plugin-curator