Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add d-o-hub/rust-self-learning-memory --skill "skill-creator"
Install specific skill from multi-skill repository
# Description
Create new Claude Code skills with proper structure, YAML frontmatter, and best practices. Use when creating reusable knowledge modules, adding specialized guidance, or building domain-specific expertise.
# SKILL.md
name: skill-creator
description: Create new Claude Code skills with proper structure, YAML frontmatter, and best practices. Use when creating reusable knowledge modules, adding specialized guidance, or building domain-specific expertise.
Skill Creator
Create new Claude Code skills following the official format and best practices.
Quick Reference
- Structure Guide - Directory format and file organization
- Naming Rules - Skill naming requirements
- Description Guide - Writing effective descriptions
- Templates - Process, knowledge, and tool skill templates
- Examples - Complete skill creation walkthroughs
- Validation - Commands to validate new skills
When to Use
- Creating a new reusable knowledge module
- Adding specialized guidance for specific tasks
- Building domain-specific expertise into Claude Code
- Need to ensure proper skill format and structure
Required SKILL.md Format
Every skill requires a SKILL.md file with two parts:
- YAML frontmatter (metadata between
---markers on line 1) - Markdown instructions (guidance for Claude)
---
name: skill-name
description: Brief description of what this skill does and when to use it
---
# Skill Title
## Instructions
Step-by-step guidance for Claude...
YAML Frontmatter Fields
| Field | Required | Description |
|---|---|---|
name |
Yes | Lowercase letters, numbers, hyphens only (max 64 chars). Must match directory name. |
description |
Yes | What the skill does and when to use it (max 1024 chars). Claude uses this to match requests. |
allowed-tools |
No | Tools Claude can use without permission |
model |
No | Specific model to use |
context |
No | Set to fork for isolated sub-agent context |
File Structure
skill-name/
βββ SKILL.md # Required - overview and navigation
βββ reference.md # Detailed docs - loaded when needed
βββ examples.md # Usage examples - loaded when needed
βββ scripts/
βββ helper.sh # Utility script - executed, not loaded
Best Practices
- Keep SKILL.md under 250 lines - Use progressive disclosure
- Write specific descriptions - Include trigger terms users would naturally use
- Link supporting files - From SKILL.md using markdown links
- Validate structure - Check YAML syntax and file organization
See naming.md for naming conventions and templates.md for ready-to-use templates.
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.