| name | skill-creator |
| description | Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations. |
| license | Complete terms in LICENSE.txt |
About Skills
Skills are modular, self-contained packages that extend Claude's capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks—they transform Claude from a general-purpose agent into a specialized agent equipped with procedural knowledge that no model can fully possess.
What Skills Provide
- Specialized workflows - Multi-step procedures for specific domains
- Tool integrations - Instructions for working with specific file formats or APIs
- Domain expertise - Company-specific knowledge, schemas, business logic
- Bundled resources - Scripts, references, and assets for complex and repetitive tasks
Anatomy of a Skill
Every skill consists of a required SKILL.md file and optional bundled resources:
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter metadata (required)
│ │ ├── name: (required)
│ │ └── description: (required)
│ └── Markdown instructions (required)
└── Bundled Resources (optional)
├── scripts/ - Executable code (Python/Bash/etc.)
├── references/ - Documentation intended to be loaded into context as needed
└── assets/ - Files used in output (templates, icons, fonts, etc.)
Requirements (important)
- Skill should be combined into specific topics, for example:
cloudflare,cloudflare-r2,cloudflare-workers,docker,gcloudshould be combined intodevops SKILL.mdshould be less than 200 lines and include the references of related markdown files and scripts.- Each script or referenced markdown file should be also less than 200 lines, remember that you can always split them into multiple files (progressive disclosure principle).
- Descriptions in metadata of
SKILL.mdfiles should be both concise and still contains enough usecases of the references and scripts, this will help skills can be activated automatically during the implementation process of Claude Code. - Referenced markdowns:
- Sacrifice grammar for the sake of concision when writing these files.
- Can reference other markdown files or scripts as well.
- Referenced scripts:
- Prefer nodejs or python scripts instead of bash script, because bash scripts are not well-supported on Windows.
- If you're going to write python scripts, make sure you have
requirements.txt - Make sure scripts respect
.envfile follow this order:process.env>.claude/skills/${SKILL}/.env>.claude/skills/.env>.claude/.env - Create
.env.examplefile to show the required environment variables. - Always write tests for these scripts.
Why?
Better context engineering: inspired from progressive disclosure technique of Agent Skills, when agent skills are activated, Claude Code will consider to load only relevant files into the context, instead of reading all long SKILL.md as before.
SKILL.md (required)
File name: SKILL.md (uppercase)
File size: Under 200 lines, if you need more, plit it to multiple files in references folder.
Metadata Quality: The name and description in YAML frontmatter determine when Claude will use the skill. Be specific about what the skill does and when to use it. Use the third-person (e.g. "This skill should be used when..." instead of "Use this skill when...").
Bundled Resources (optional)
Scripts (scripts/)
Executable code (Python/Bash/etc.) for tasks that require deterministic reliability or are repeatedly rewritten.
- When to include: When the same code is being rewritten repeatedly or deterministic reliability is needed
- Example:
scripts/rotate_pdf.pyfor PDF rotation tasks - Benefits: Token efficient, deterministic, may be executed without loading into context
- Note: Scripts may still need to be read by Claude for patching or environment-specific adjustments
References (references/)
Documentation and reference material intended to be loaded as needed into context to inform Claude's process and thinking.
- When to include: For documentation that Claude should reference while working
- Examples:
references/finance.mdfor financial schemas,references/mnda.mdfor company NDA template,references/policies.mdfor company policies,references/api_docs.mdfor API specifications - Use cases: Database schemas, API documentation, domain knowledge, company policies, detailed workflow guides
- Benefits: Keeps SKILL.md lean, loaded only when Claude determines it's needed
- Best practice: If files are large (>10k words), include grep search patterns in SKILL.md
- Avoid duplication: Information should live in either SKILL.md or references files, not both. Prefer references files for detailed information unless it's truly core to the skill—this keeps SKILL.md lean while making information discoverable without hogging the context window. Keep only essential procedural instructions and workflow guidance in SKILL.md; move detailed reference material, schemas, and examples to references files.
Assets (assets/)
Files not intended to be loaded into context, but rather used within the output Claude produces.
- When to include: When the skill needs files that will be used in the final output
- Examples:
assets/logo.pngfor brand assets,assets/slides.pptxfor PowerPoint templates,assets/frontend-template/for HTML/React boilerplate,assets/font.ttffor typography - Use cases: Templates, images, icons, boilerplate code, fonts, sample documents that get copied or modified
- Benefits: Separates output resources from documentation, enables Claude to use files without loading them into context
Progressive Disclosure Design Principle
Skills use a three-level loading system to manage context efficiently:
- Metadata (name + description) - Always in context (~100 words)
- SKILL.md body - When skill triggers (<5k words)
- Bundled resources - As needed by Claude (Unlimited*)
*Unlimited because scripts can be executed without reading into context window.
References
Skill Creation Workflow
Full Process (9 Steps):
- Understand the skill with concrete examples
- Analyze category placement ⚠️ NEW - Use intelligent grouping
- Plan reusable skill contents (scripts, references, assets)
- Initialize skill using
scripts/init_skill.py - Edit SKILL.md and bundled resources
- Register skill in SYSTEM.md and AGENTS.md ⚠️ CRITICAL
- Sync to choose-skill ⚠️ CRITICAL
- Package skill using
scripts/package_skill.py - Iterate based on testing feedback
⚠️ NEW Step 2 - Intelligent Category Placement:
Run scripts/suggest_skill_group.py to get AI-powered category suggestions:
python scripts/suggest_skill_group.py --skill "skill-name" --description "skill description"
The script will:
- Analyze skill domain and keywords
- Suggest best category with confidence score
- Detect new category opportunities (if 3+ related skills exist)
- Show refactor recommendations for overcrowded categories
Also check organization health periodically:
python scripts/suggest_skill_group.py --analyze-all
This prevents category sprawl and maintains optimal skill organization!
⚠️ CRITICAL Step 6 - Skill Registration: Every new skill MUST be registered in two places:
- SYSTEM.md - Add
<skill>block with name, description, and location - AGENTS.md - Add trigger examples and update category list
Without registration, Claude cannot discover or activate the skill!
⚠️ CRITICAL Step 7 - Sync to choose-skill:
Run scripts/sync_to_choose_skill.py to update choose-skill's catalog:
python scripts/sync_to_choose_skill.py path/to/your/skill
This ensures choose-skill can recommend your new skill! Script will:
- Parse skill metadata and category
- Update choose-skill/references/skills-catalog.md
- Show diff and ask for confirmation
Skip ONLY if skill is internal/private and shouldn't be recommended.
References
Skill Creation Process: read .claude/skills/meta/create-skill/references/skill-creation-process.md
- Step 2 details: How to use intelligent category placement
- Step 6 details: How to register skills in SYSTEM.md and AGENTS.md
- Step 7 details: How to sync to choose-skill catalog
Intelligent Grouping: read .claude/skills/meta/create-skill/references/skill-grouping-intelligence.md
- Domain keyword patterns and matching algorithm
- New category detection triggers
- Refactor opportunity patterns
- Confidence scoring and decision logic
Optimization & Refactoring:
read .claude/skills/meta/create-skill/references/optimization-report.md- Complete optimization results (16/16 skills)read .claude/skills/meta/create-skill/references/refactor-guide.md- Step-by-step refactoring guideread .claude/skills/meta/create-skill/references/refactor-plan.md- Original refactoring strategy
Categories & Organization:
read .claude/global/SKILLS_CONTEXT.md- Current skills structure (single source of truth)read .claude/skills/meta/create-skill/references/categories-structure.md- Category system design (deprecated, use SKILLS_CONTEXT.md)
Automation Tools:
scripts/suggest_skill_group.py- Intelligent category suggestion and refactor detection ⚠️ NEWscripts/init_skill.py- Initialize new skill with templatescripts/quick_validate.py- Validate skill structurescripts/sync_to_choose_skill.py- Sync skill to choose-skill catalogscripts/package_skill.py- Package skill as .zipscripts/smart_refactor.py- Auto-refactor skills to <200 lines (supports categories)scripts/auto_refactor_skills.py- Batch validation (supports categories)scripts/migrate_to_categories.py- Organize skills into categories