← ClaudeAtlas

creating-skillslisted

Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill, build a skill, write SKILL.md, update an existing skill, or needs skill creation guidelines. Provides structure, frontmatter fields, naming conventions, and new features like dynamic context injection and subagent execution.
fvadicamo/dev-agent-skills · ★ 63 · Code & Development · score 83
Install: claude install-skill fvadicamo/dev-agent-skills
# Creating skills Guide for creating Claude Code skills following Anthropic's official best practices. ## Quick start ```bash # 1. Create skill directory mkdir -p ~/.claude/skills/<skill-name> # 2. Create SKILL.md with frontmatter cat > ~/.claude/skills/<skill-name>/SKILL.md << 'EOF' --- name: <skill-name> description: <What it does>. Use when <trigger phrases>. <Key capabilities>. --- # <Skill title> <Instructions for the skill workflow> EOF # 3. Add optional resources as needed mkdir -p ~/.claude/skills/<skill-name>/{scripts,references,assets} ``` ## SKILL.md structure ### Frontmatter (YAML between `---` markers) | Field | Required | Description | |-------|----------|-------------| | `name` | No | Display name. Defaults to directory name. Lowercase, hyphens, max 64 chars. | | `description` | Recommended | What + when + capabilities. Max 1024 chars. Determines when Claude activates the skill. | | `allowed-tools` | No | Tools Claude can use without asking permission when skill is active. | | `argument-hint` | No | Autocomplete hint for arguments. Example: `[issue-number]` | | `disable-model-invocation` | No | `true` to prevent auto-invocation (manual `/name` only). | | `user-invocable` | No | `false` to hide from `/` menu (background knowledge only). | | `model` | No | Model override when skill is active. | | `context` | No | `fork` to run in isolated subagent context. | | `agent` | No | Subagent type when `context: fork`. Built-in: `Explore`, `Plan`, `general-purpo