From plugin-curator
Create a new skill following the standard template. Handles SKILL.md creation, README update, and parent agent cross-reference.
npx claudepluginhub hpsgd/turtlestack --plugin plugin-curatorThis skill is limited to using the following tools:
Create a new skill for $ARGUMENTS.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
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