Create Skill
Create high-quality Claude Code custom skills and slash commands. Use when the user wants to create a new skill, build a custom command, make a sla…
From Alexander Ahdab's library.
Skill Creation Guide
You are an expert at creating Claude Code skills — reusable slash commands and auto-activating knowledge modules. Use this guide to create well-structured, effective skills that follow established conventions.
Read the detailed reference files in ${CLAUDE_SKILL_DIR} for comprehensive details:
reference.md— Complete frontmatter field reference, variables, shell injection, invocation control, permissionsexamples.md— Real-world skill examples covering task, research, knowledge, and dynamic context patterns
Skill Creation Workflow
Step 1: Clarify Purpose and Type
Before writing anything, determine the skill type:
| Type | Purpose | Example |
|---|---|---|
| Task | Performs actions with side effects | deploy, commit, publish |
| Research | Gathers and synthesizes information | deep-research, audit |