skill-creator
Health Pass
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 10 GitHub stars
Code Pass
- Code scan — Scanned 3 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Claude Code skill for creating and optimizing Claude Code skills. Includes optimization principles for LLM attention, router pattern, classification design, and prompt engineering.
🚀观看我的哔哩哔哩视频
/skill-creator — Claude Code Skill Design Guide
A Claude Code skill for creating and optimizing other Claude Code skills. Provides a 6-step creation process, bundled scaffolding scripts, and optimization principles for building production-quality skills.
Usage
/skill-creator
Then describe the skill you want to build. The skill walks you through understanding, planning, initializing, editing, packaging, and iterating.
What's Included
skill-creator/
├── SKILL.md ← Lean router: creation process + optimization principles
├── references/
│ └── skill-anatomy.md ← Background: skill structure, bundled resources, progressive disclosure
├── scripts/
│ ├── init_skill.py ← Scaffold a new skill directory
│ ├── package_skill.py ← Validate and package a skill as .zip
│ └── quick_validate.py ← Fast validation of skill structure
└── LICENSE.txt
Skill Creation Process
| Step | What | Output |
|---|---|---|
| 1. Understand | Gather concrete usage examples | Clear functionality scope |
| 2. Plan | Identify reusable scripts, references, assets | Resource list |
| 3. Initialize | Run scripts/init_skill.py |
Skill directory with template |
| 4. Edit | Write SKILL.md + bundled resources | Working skill |
| 5. Package | Run scripts/package_skill.py |
Distributable .zip |
| 6. Iterate | Test on real tasks, refine | Polished skill |
Optimization Principles
The skill includes an Optimization Principles section derived from a thorough optimization pass on win4r/dev-skill. These are reusable design patterns for building high-quality skills:
Information Architecture
Position behavioral rules before reference material in SKILL.md. LLMs weight earlier content more heavily — rules buried at the bottom get forgotten.
The Router Pattern
When a skill has 3+ code paths and exceeds ~400 lines, split into a router (SKILL.md) + per-path files loaded on demand. Reduces initial context by 40-70%.
skill-name/
├── SKILL.md ← Router: classification + shared rules
└── workflows/
├── path-a.md ← Loaded via Read tool after routing
└── path-b.md
Classification Design
For skills that classify user input: define a strict priority ordering (resolves multi-match) and disambiguation rules (resolves false positives). Test with 20-30 adversarial inputs.
Inline References
When a rule must be applied in a different section, add a reminder at the point of application. Don't rely on the LLM to cross-reference across hundreds of lines.
Prompt Engineering Heuristics
- Keep frontmatter
descriptionunder 120 characters - Use tables for routing/lookup (O(1) for LLMs)
- Explicit "Do NOT" prohibitions in high-stakes situations
- Categorize dependencies as optional vs. required for error handling
Scaffolding Scripts
Initialize a new skill
python scripts/init_skill.py my-skill --path ~/.claude/skills
Creates ~/.claude/skills/my-skill/ with a SKILL.md template and example scripts/, references/, assets/ directories.
Validate a skill
python scripts/quick_validate.py path/to/skill-folder
Checks frontmatter, naming conventions, directory structure, and description quality.
Package for distribution
python scripts/package_skill.py path/to/skill-folder
Validates first, then creates a .zip file ready for sharing.
Installation
git clone https://github.com/win4r/skill-creator.git ~/.claude/skills/skill-creator
Prerequisites
- Claude Code
- Python 3.8+ (for scaffolding scripts)
License
See LICENSE.txt.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found