Skill Writer
Create powerful Claude skills with best practices and validation
✨ The solution you've been looking for
Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.
See It In Action
Interactive preview & real-world examples
AI Conversation Simulator
See how users interact with this skill
User Prompt
I want to create a skill that helps me analyze log files and extract error patterns. Can you help me build this?
Skill Processing
Analyzing request...
Agent Response
Complete SKILL.md file with proper frontmatter, clear instructions, examples, and validation checklist
Quick Start (3 Steps)
Get up and running in minutes
Install
claude-code skill install skill-writer
claude-code skill install skill-writerConfig
First Trigger
@skill-writer helpCommands
| Command | Description | Required Args |
|---|---|---|
| @skill-writer create-your-first-agent-skill | Build a new skill from scratch following best practices and validation requirements | None |
| @skill-writer convert-existing-workflow-to-skill | Transform manual processes or prompts into reusable Agent Skills | None |
| @skill-writer debug-skill-discovery-issues | Fix skills that aren't being activated by Claude when expected | None |
Typical Use Cases
Create Your First Agent Skill
Build a new skill from scratch following best practices and validation requirements
Convert Existing Workflow to Skill
Transform manual processes or prompts into reusable Agent Skills
Debug Skill Discovery Issues
Fix skills that aren't being activated by Claude when expected
Overview
Skill Writer
This Skill helps you create well-structured Agent Skills for Claude Code that follow best practices and validation requirements.
When to use this Skill
Use this Skill when:
- Creating a new Agent Skill
- Writing or updating SKILL.md files
- Designing skill structure and frontmatter
- Troubleshooting skill discovery issues
- Converting existing prompts or workflows into Skills
Instructions
Step 1: Determine Skill scope
First, understand what the Skill should do:
Ask clarifying questions:
- What specific capability should this Skill provide?
- When should Claude use this Skill?
- What tools or resources does it need?
- Is this for personal use or team sharing?
Keep it focused: One Skill = one capability
- Good: “PDF form filling”, “Excel data analysis”
- Too broad: “Document processing”, “Data tools”
Step 2: Choose Skill location
Determine where to create the Skill:
Personal Skills (~/.claude/skills/):
- Individual workflows and preferences
- Experimental Skills
- Personal productivity tools
Project Skills (.claude/skills/):
- Team workflows and conventions
- Project-specific expertise
- Shared utilities (committed to git)
Step 3: Create Skill structure
Create the directory and files:
1# Personal
2mkdir -p ~/.claude/skills/skill-name
3
4# Project
5mkdir -p .claude/skills/skill-name
For multi-file Skills:
skill-name/
├── SKILL.md (required)
├── reference.md (optional)
├── examples.md (optional)
├── scripts/
│ └── helper.py (optional)
└── templates/
└── template.txt (optional)
Step 4: Write SKILL.md frontmatter
Create YAML frontmatter with required fields:
1---
2name: skill-name
3description: Brief description of what this does and when to use it
4---
Field requirements:
name:
- Lowercase letters, numbers, hyphens only
- Max 64 characters
- Must match directory name
- Good:
pdf-processor,git-commit-helper - Bad:
PDF_Processor,Git Commits!
description:
- Max 1024 characters
- Include BOTH what it does AND when to use it
- Use specific trigger words users would say
- Mention file types, operations, and context
Optional frontmatter fields:
- allowed-tools: Restrict tool access (comma-separated list)Use for:
1allowed-tools: Read, Grep, Glob- Read-only Skills
- Security-sensitive workflows
- Limited-scope operations
Step 5: Write effective descriptions
The description is critical for Claude to discover your Skill.
Formula: [What it does] + [When to use it] + [Key triggers]
Examples:
✅ Good:
1description: Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.
✅ Good:
1description: Analyze Excel spreadsheets, create pivot tables, and generate charts. Use when working with Excel files, spreadsheets, or analyzing tabular data in .xlsx format.
❌ Too vague:
1description: Helps with documents
2description: For data analysis
Tips:
- Include specific file extensions (.pdf, .xlsx, .json)
- Mention common user phrases (“analyze”, “extract”, “generate”)
- List concrete operations (not generic verbs)
- Add context clues (“Use when…”, “For…”)
Step 6: Structure the Skill content
Use clear Markdown sections:
1# Skill Name
2
3Brief overview of what this Skill does.
4
5## Quick start
6
7Provide a simple example to get started immediately.
8
9## Instructions
10
11Step-by-step guidance for Claude:
121. First step with clear action
132. Second step with expected outcome
143. Handle edge cases
15
16## Examples
17
18Show concrete usage examples with code or commands.
19
20## Best practices
21
22- Key conventions to follow
23- Common pitfalls to avoid
24- When to use vs. not use
25
26## Requirements
27
28List any dependencies or prerequisites:
29```bash
30pip install package-name
Advanced usage
For complex scenarios, see reference.md.
### Step 7: Add supporting files (optional)
Create additional files for progressive disclosure:
**reference.md**: Detailed API docs, advanced options
**examples.md**: Extended examples and use cases
**scripts/**: Helper scripts and utilities
**templates/**: File templates or boilerplate
Reference them from SKILL.md:
```markdown
For advanced usage, see [reference.md](reference.md).
Run the helper script:
\`\`\`bash
python scripts/helper.py input.txt
\`\`\`
Step 8: Validate the Skill
Check these requirements:
✅ File structure:
- SKILL.md exists in correct location
- Directory name matches frontmatter
name
✅ YAML frontmatter:
- Opening
---on line 1 - Closing
---before content - Valid YAML (no tabs, correct indentation)
-
namefollows naming rules -
descriptionis specific and < 1024 chars
✅ Content quality:
- Clear instructions for Claude
- Concrete examples provided
- Edge cases handled
- Dependencies listed (if any)
✅ Testing:
- Description matches user questions
- Skill activates on relevant queries
- Instructions are clear and actionable
Step 9: Test the Skill
Restart Claude Code (if running) to load the Skill
Ask relevant questions that match the description:
Can you help me extract text from this PDF?Verify activation: Claude should use the Skill automatically
Check behavior: Confirm Claude follows the instructions correctly
Step 10: Debug if needed
If Claude doesn’t use the Skill:
Make description more specific:
- Add trigger words
- Include file types
- Mention common user phrases
Check file location:
1ls ~/.claude/skills/skill-name/SKILL.md 2ls .claude/skills/skill-name/SKILL.mdValidate YAML:
1cat SKILL.md | head -n 10Run debug mode:
1claude --debug
Common patterns
Read-only Skill
1---
2name: code-reader
3description: Read and analyze code without making changes. Use for code review, understanding codebases, or documentation.
4allowed-tools: Read, Grep, Glob
5---
Script-based Skill
1---
2name: data-processor
3description: Process CSV and JSON data files with Python scripts. Use when analyzing data files or transforming datasets.
4---
5
6# Data Processor
7
8## Instructions
9
101. Use the processing script:
11\`\`\`bash
12python scripts/process.py input.csv --output results.json
13\`\`\`
14
152. Validate output with:
16\`\`\`bash
17python scripts/validate.py results.json
18\`\`\`
Multi-file Skill with progressive disclosure
1---
2name: api-designer
3description: Design REST APIs following best practices. Use when creating API endpoints, designing routes, or planning API architecture.
4---
5
6# API Designer
7
8Quick start: See [examples.md](examples.md)
9
10Detailed reference: See [reference.md](reference.md)
11
12## Instructions
13
141. Gather requirements
152. Design endpoints (see examples.md)
163. Document with OpenAPI spec
174. Review against best practices (see reference.md)
Best practices for Skill authors
- One Skill, one purpose: Don’t create mega-Skills
- Specific descriptions: Include trigger words users will say
- Clear instructions: Write for Claude, not humans
- Concrete examples: Show real code, not pseudocode
- List dependencies: Mention required packages in description
- Test with teammates: Verify activation and clarity
- Version your Skills: Document changes in content
- Use progressive disclosure: Put advanced details in separate files
Validation checklist
Before finalizing a Skill, verify:
- Name is lowercase, hyphens only, max 64 chars
- Description is specific and < 1024 chars
- Description includes “what” and “when”
- YAML frontmatter is valid
- Instructions are step-by-step
- Examples are concrete and realistic
- Dependencies are documented
- File paths use forward slashes
- Skill activates on relevant queries
- Claude follows instructions correctly
Troubleshooting
Skill doesn’t activate:
- Make description more specific with trigger words
- Include file types and operations in description
- Add “Use when…” clause with user phrases
Multiple Skills conflict:
- Make descriptions more distinct
- Use different trigger words
- Narrow the scope of each Skill
Skill has errors:
- Check YAML syntax (no tabs, proper indentation)
- Verify file paths (use forward slashes)
- Ensure scripts have execute permissions
- List all dependencies
Examples
See the documentation for complete examples:
- Simple single-file Skill (commit-helper)
- Skill with tool permissions (code-reviewer)
- Multi-file Skill (pdf-processing)
Output format
When creating a Skill, I will:
- Ask clarifying questions about scope and requirements
- Suggest a Skill name and location
- Create the SKILL.md file with proper frontmatter
- Include clear instructions and examples
- Add supporting files if needed
- Provide testing instructions
- Validate against all requirements
The result will be a complete, working Skill that follows all best practices and validation rules.
What Users Are Saying
Real feedback from the community
Environment Matrix
Dependencies
Framework Support
Context Window
Security & Privacy
Information
- Author
- pytorch
- Updated
- 2026-01-30
- Category
- productivity-tools
Related Skills
Skill Writer
Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, …
View Details →Skill Builder
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and …
View Details →Skill Builder
Create new Claude Code Skills with proper YAML frontmatter, progressive disclosure structure, and …
View Details →