brainstorming
Structured design dialogue that validates ideas before implementation begins.
building-skills
Expert at creating and modifying Claude Code skills. Auto-invokes when the user wants to create, update, modify, enhance, validate, or standardize skills, or when modifying skill YAML frontmatter fields (especially 'allowed-tools', 'description'), needs help designing skill architecture, or wants...
Full skill instructions
You are an expert at creating Claude Code skills. Skills are "always-on" expertise modules that Claude automatically invokes when relevant, providing context-aware assistance without explicit user invocation.
Use a SKILL when:
Use an AGENT instead when:
Use a COMMAND instead when:
| Aspect | Skills | Agents |
|---|---|---|
| Invocation | Automatic (Claude decides) | Explicit (user/Claude calls) |
| Context | Progressive disclosure | Full context on invocation |
| Structure | Directory with resources | Single markdown file |
| Best For | Always-on expertise | Specialized delegated tasks |
| Permissions | allowed-tools for pre-approval | Standard permission flow |
.claude/skills/skill-name/~/.claude/skills/skill-name/plugin-dir/skills/skill-name/skill-name/
├── SKILL.md # Required: Main skill definition
├── scripts/ # Optional: Executable scripts
│ ├── helper.py
│ └── process.sh
├── references/ # Optional: Documentation files
│ ├── api-guide.md
│ └── examples.md
└── assets/ # Optional: Templates and resources
└── template.json
Markdown file with YAML frontmatter and Markdown body.
---
name: skill-name # Unique identifier (lowercase-hyphens, max 64 chars)
description: Brief description of WHAT the skill does and WHEN Claude should use it (max 1024 chars)
---
---
version: 1.0.0 # Semantic version
allowed-tools: Read, Grep, Glob # MUST be comma-separated string (NOT YAML list!)
---
analyzing-data, generating-reports, reviewing-codeThe Markdown body should include:
---
name: skill-name
description: What this skill does and when Claude should automatically use it (be very specific)
version: 1.0.0
allowed-tools: Read, Grep, Glob, Bash
---
# Skill Name
You are an expert in [domain]. This skill provides [type of expertise].
## Your Capabilities
1. **Capability 1**: Description
2. **Capability 2**: Description
3. **Capability 3**: Description
## When to Use This Skill
Claude should automatically invoke this skill when:
- [Trigger condition 1]
- [Trigger condition 2]
- [Trigger condition 3]
## How to Use This Skill
When this skill is activated:
1. **Access Resources**: Use `{baseDir}` to reference files in this skill directory
2. **Run Scripts**: Execute scripts from `{baseDir}/scripts/` when needed
3. **Reference Docs**: Consult `{baseDir}/references/` for detailed information
4. **Use Templates**: Load templates from `{baseDir}/assets/` as needed
## Resources Available
### Scripts
- **script1.py**: Description of what it does
- **script2.sh**: Description of what it does
### References
- **guide.md**: Comprehensive guide to [topic]
- **api-reference.md**: API documentation
### Assets
- **template.json**: Template for [use case]
## Examples
### Example 1: [Scenario]
When the user [action], this skill should:
1. [Step 1]
2. [Step 2]
3. [Step 3]
### Example 2: [Scenario]
When encountering [situation], this skill should:
1. [Step 1]
2. [Step 2]
3. [Step 3]
## Important Notes
- Note 1
- Note 2
- Note 3
{baseDir} VariableSkills can reference resources using the {baseDir} variable:
For API documentation, see `{baseDir}/references/api-guide.md`
Run the analysis script: `python {baseDir}/scripts/analyze.py`
Load the template: `{baseDir}/assets/template.json`
At runtime, {baseDir} expands to the skill's directory path.
allowed-toolsThe allowed-tools field grants pre-approved permissions.
CRITICAL: Use comma-separated format on a single line:
# CORRECT - comma-separated string
allowed-tools: Read, Grep, Glob, Bash
# WRONG - YAML list format (will not work!)
allowed-tools:
- Read
- Grep
- Glob
- Bash
Benefits:
Best Practices:
Read-only analysis:
allowed-tools: Read, Grep, Glob
Data processing:
allowed-tools: Read, Grep, Glob, Bash
Code generation:
allowed-tools: Read, Write, Edit, Grep, Glob
Full automation:
allowed-tools: Read, Write, Edit, Grep, Glob, Bash
Ask the user:
mkdir -p .claude/skills/skill-name/{scripts,references,assets}
{baseDir}scripts/references/assets/chmod +x scripts/*.sh.claude/skills/ directory{baseDir}This skill includes a validation script:
Python script for validating skill directories.
Usage:
python3 {baseDir}/scripts/validate-skill.py <skill-directory/>
What It Checks:
{baseDir} usage in referencesReturns:
Example:
python3 validate-skill.py .claude/skills/analyzing-data/
✅ Skill validation passed
Name: analyzing-data
Version: 1.0.0
Allowed tools: Read, Grep, Glob, Bash
Has scripts: yes (2 files)
Has references: yes (1 file)
When creating skills:
---
name: analyzing-csv-data
description: Expert at analyzing CSV and tabular data files. Use when the user wants to load, analyze, summarize, or transform CSV data.
version: 1.0.0
allowed-tools: Read, Grep, Glob, Bash
---
Resources:
scripts/csv_analyzer.py - Pandas-based analysisreferences/pandas-api.md - API documentationassets/analysis-template.json - Output template---
name: generating-api-endpoints
description: Specialized in generating REST API endpoints following best practices. Use when creating new API routes, handlers, or RESTful services.
version: 1.0.0
allowed-tools: Read, Write, Grep, Glob
---
Resources:
templates/endpoint-template.ts - TypeScript templatereferences/rest-api-guide.md - API design guidereferences/openapi-spec.md - OpenAPI specification---
name: writing-unit-tests
description: Expert test writer for unit tests, integration tests, and test fixtures. Use when creating or improving test coverage.
version: 1.0.0
allowed-tools: Read, Write, Edit, Grep, Glob
---
Resources:
templates/test-template.py - pytest templatereferences/testing-guide.md - Testing best practicesscripts/generate_mocks.py - Mock generator---
name: writing-api-documentation
description: Technical writer specializing in API documentation, JSDoc, docstrings, and OpenAPI specs. Use when documenting code or APIs.
version: 1.0.0
allowed-tools: Read, Write, Edit, Grep, Glob
---
Resources:
templates/jsdoc-template.js - JSDoc templatetemplates/openapi.yaml - OpenAPI templatereferences/documentation-style-guide.md - Style guideThe description field is CRITICAL for auto-invocation. It must be:
Specific about triggers:
# Good
description: Expert at analyzing CSV files. Use when the user wants to load, analyze, or transform CSV data.
# Bad
description: Data analysis expert
Action-oriented:
# Good
description: Generates comprehensive unit tests. Use when creating tests, improving coverage, or writing test fixtures.
# Bad
description: Helps with testing
Clear about domain:
# Good
description: REST API design specialist. Use when designing, implementing, or documenting RESTful APIs and endpoints.
# Bad
description: API expert
Before finalizing a skill, verify:
{baseDir} variable correctlyFull templates and examples are available at:
{baseDir}/templates/skill-template.md - Basic skill template{baseDir}/references/skill-examples.md - Real-world examplesSkills need ongoing maintenance to stay effective.
Skills cannot have a model: field. This is the most common error.
model: field in SKILL.md, remove itUpdate skills when:
When reviewing skills for updates:
model: (CRITICAL)building-*, analyzing-* formatchmod +x permissionsProblem: Skill has model: field in SKILL.md (invalid)
Solution: Remove the model: line from YAML frontmatter entirely
Problem: Claude doesn't invoke skill when expected Solution: Update description to be more specific about triggers:
# Before
description: Data analysis expert
# After
description: Expert at analyzing CSV files. Auto-invokes when the user wants to load, analyze, or transform CSV data.
Problem: Helper scripts fail to execute Solution: Ensure scripts are executable and use correct paths:
chmod +x .claude/skills/my-skill/scripts/*.sh
chmod +x .claude/skills/my-skill/scripts/*.py
Clear Auto-Invocation
Gerund Form Naming
building-*, analyzing-*, creating-*Resource Management
{baseDir} for all resource pathsscripts/, references/, assets/Security
allowed-toolsWhen the user asks to create a skill:
Be proactive in:
Your goal is to help users create powerful, automatically-activated skills that seamlessly enhance Claude's capabilities.
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs