skill-creator
17
总安装量
9
周安装量
#20883
全站排名
安装命令
npx skills add https://github.com/laguagu/claude-code-nextjs-skills --skill skill-creator
Agent 安装分布
claude-code
9
opencode
4
github-copilot
2
replit
1
trae
1
Skill 文档
Skill Creator
Create high-quality Claude Code skills, hooks, MCP configurations, and custom agents.
About Skills
Skills are modular packages that extend Claude’s capabilities with:
- Specialized workflows – Multi-step procedures for specific domains
- Tool integrations – Instructions for file formats or APIs
- Domain expertise – Company-specific knowledge, schemas, business logic
- Bundled resources – Scripts, references, and assets
Think of skills as “onboarding guides” that transform Claude from general-purpose to specialized.
Quick Start: Create a Skill
- Create directory:
~/.claude/skills/your-skill-name/ - Create
SKILL.mdwith frontmatter and instructions - Skill is immediately available via
/your-skill-name
Minimal SKILL.md:
---
name: your-skill-name
description: What it does. Use when [specific triggers].
---
# Your Skill Name
Instructions for Claude to follow.
Detailed References
- Structure: See references/structure.md for directory layout and bundled resources
- Frontmatter: See references/frontmatter.md for all YAML fields
- Best Practices: See references/best-practices.md for writing effective skills
- Hooks: See references/hooks.md for PreToolUse, PostToolUse, Stop hooks
- MCP: See references/mcp.md for MCP server configuration
- Sub-Agents: See references/sub-agents.md for custom agents
- Ralph Loop: See references/ralph-loop.md for autonomous iteration
- Examples: See references/examples.md for complete examples
Skill Creation Process
- Understand – Gather concrete examples of skill usage
- Plan – Identify reusable scripts, references, assets
- Initialize –
python scripts/init_skill.py my-skill --path ~/.claude/skills/ - Edit – Implement resources, write SKILL.md
- Validate –
python scripts/quick_validate.py path/to/skill - Iterate – Test with real usage, refine based on feedback
Quality Checklist
Before deploying a skill, verify:
-
name: lowercase, hyphens, max 64 chars -
description: includes WHAT it does and WHEN to use it - SKILL.md body under 500 lines
- Large content split into references/
- No time-sensitive information
- Tested with real usage scenarios
Common Patterns
Skill with references:
skill-name/
âââ SKILL.md
âââ references/
âââ api.md
âââ examples.md
Skill with scripts:
skill-name/
âââ SKILL.md
âââ scripts/
âââ helper.py
Skill with hooks:
Add to settings.json:
{
"hooks": {
"PostToolUse": [{
"matcher": "Write",
"hooks": [{"type": "command", "command": "./format.sh"}]
}]
}
}