From claude-code-meta
Create a new Claude Code skill with proper structure and best practices.
How this command is triggered — by the user, by Claude, or both
Slash command
/claude-code-meta:build-skillThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Build Skill Command Create a new Claude Code skill with proper structure and best practices. ## Workflow 1. **Invoke skill-builder reference** for current patterns: - Read `skills/claude-code-meta/references/skill-builder.md` - Get: anatomy, frontmatter requirements, progressive disclosure patterns 2. **Extract requirements from context**: - What should the skill do? - What tools/resources does it need? - What's the expected size/complexity? 3. **Plan structure**: - Determine if scripts/, references/, or assets/ needed - Plan progressive disclosure (SKILL.md vs r...
Create a new Claude Code skill with proper structure and best practices.
Invoke skill-builder reference for current patterns:
skills/claude-code-meta/references/skill-builder.mdExtract requirements from context:
Plan structure:
Create skill directory:
mkdir -p plugins/<plugin-name>/skills/<skill-name>
Write SKILL.md:
---
name: skill-name
description: >
{One-sentence WHAT}
USE THIS SKILL WHEN:
- {scenario 1}
- {scenario 2}
TRIGGERS ON: "{keyword1}", "{keyword2}"
NOT FOR: {anti-patterns}
---
# Skill Name
[Content following skill-builder patterns]
Create bundled resources (if needed):
scripts/ - executable codereferences/ - deep-dive docs (progressive disclosure)assets/ - templates, data filesValidate:
Return:
Description Quality:
Structure:
Best Practices (from skill-builder reference):
skills/claude-code-meta/references/skill-builder.mdskills/claude-code-meta/references/command-testing.mdnpx claudepluginhub artimath/surf-market/new-skillGenerates Claude Code skill files from a description, following best practices, archetypes, structure rules, validation, and offering eval/optimization.
/create-skillCreates a new Claude Code skill directory from skill name, description/purpose, and optional documentation URLs. Generates SKILL.md with YAML frontmatter, quick start guide, critical rules, and known issues prevention.