Creates effective Claude Code SKILL.md files following Anthropic's official patterns. Use when writing new skills, improving existing skills, or learning skill best practices.
View on GitHubplugins/ace/skills/writing-skills/SKILL.md
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/wayne930242/Reflexive-Claude-Code/blob/main/plugins/ace/skills/writing-skills/SKILL.md -a claude-code --skill writing-skillsInstallation paths:
.claude/skills/writing-skills/# Writing Skills Create skills that extend Claude's capabilities with specialized knowledge and workflows. ## Core Principles 1. **Concise is key** - Context window is shared; only add what Claude doesn't know 2. **Progressive disclosure** - SKILL.md is overview; Claude loads `references/` only when needed 3. **Description triggers** - Include "Use when..." in description (third person) 4. **Scripts for precision** - Use scripts for deterministic operations ## Naming Convention Use **gerund form** (verb + -ing) for skill names: - `processing-pdfs`, `analyzing-code`, `writing-documentation` - Must be lowercase, hyphens, numbers only (max 64 chars) - Avoid: `helper`, `utils`, reserved words (`anthropic`, `claude`) ## Skill Structure ``` skill-name/ ├── SKILL.md # Required (<200 lines) ├── scripts/ # Optional: executable code └── references/ # Optional: docs loaded on-demand ``` ## Creation Workflow Copy this checklist and track progress: ``` Skill Creation Progress: - [ ] Step 1: Initialize structure - [ ] Step 2: Write SKILL.md - [ ] Step 3: Validate - [ ] Step 4: Test with real usage ``` ### Step 1: Initialize ```bash python3 scripts/init_skill.py <skill-name> ``` ### Step 2: Write SKILL.md **Frontmatter** (required): ```yaml --- name: processing-pdfs description: Extracts text and tables from PDFs. Use when working with PDF files or document extraction. --- ``` **Description formula**: `[What it does]. [Key capabilities]. Use when [triggers].` Always write in third person. The description is injected into system prompt. **Body**: Instructions only. Keep lean—move details to `references/`. ### Step 3: Validate ```bash python3 scripts/validate_skill.py <path/to/skill> ``` ### Step 4: Test Restart Claude Code, trigger naturally (don't mention skill name). ## Degrees of Freedom | Level | When | Format | |-------|------|--------| | High | Multiple valid approaches | Text guidance | | Medium | Preferred pattern exists | P