From skill-builder
Creates Claude Code skills using templates for SKILL.md, README, package.json, CHANGELOG; applies best practices and automates GitHub repo setup with Node script.
How this skill is triggered — by the user, by Claude, or both
Slash command
/skill-builder:skill-builderThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create Claude Code skills following proven patterns from mature skills (Linear, Governance).
Create Claude Code skills following proven patterns from mature skills (Linear, Governance).
Templates: templates/ Best Practices: BEST-PRACTICES.md GitHub Automation: scripts/create-repo.mjs
When user asks to create a skill:
Ask the user:
Copy and customize these templates:
# Copy all templates to working directory
cp -r templates/* /path/to/new-skill/
Guide user through customizing:
skills/<name>/SKILL.md — Core skill definitionCHANGELOG.md — Version historyREADME.md — Installation and usagepackage.json — Plugin metadata and topicsRun the automation script:
node skills/skill-builder/scripts/create-repo.mjs \
--name "<skill-name>-claude-skill" \
--description "Claude Code skill for <purpose>" \
--topics "claude,claude-code,claude-plugin,<domain-topics>"
mkdir -p <skill-name>-claude-skill/skills/<skill-name>/scripts
mkdir -p <skill-name>-claude-skill/templates # Optional
| Template | Purpose | Customize |
|---|---|---|
SKILL-template.md | Core skill definition | Name, description, triggers, content |
CHANGELOG-template.md | Version history | Add initial features, lessons learned |
README-template.md | User documentation | Installation, usage, examples |
package-template.json | Plugin metadata | Name, topics, scripts |
All templates use these placeholders:
| Placeholder | Replace With | Example |
|---|---|---|
{{SKILL_NAME}} | Skill name (lowercase) | governance |
{{SKILL_TITLE}} | Skill title (Title Case) | Governance |
{{DESCRIPTION}} | One-sentence description | Engineering standards enforcement |
{{TRIGGER_PHRASES}} | Comma-separated triggers | "code review", "commit", "standards" |
{{TOPICS}} | GitHub topics | governance,code-quality,standards |
{{AUTHOR}} | GitHub username | wrsmith108 |
{{DATE}} | Today's date | 2025-12-27 |
| Pattern | Why It Works |
|---|---|
| CHANGELOG with "Lesson Learned" | Captures why changes were made, not just what |
| Quick Start at top | Gets new users productive immediately |
allowed-tools frontmatter | Explicit tool dependencies |
| MCP Reliability Matrix | Shows which tools work reliably |
| Anti-pattern tables | Shows what NOT to do alongside correct patterns |
| Setup verification script | Immediate feedback on configuration |
| Helper scripts | Encapsulate complex operations |
| Pattern | Why It Works |
|---|---|
| Two-document model | Separates operational (CLAUDE.md) from policy (standards.md) |
| Pre-commit/PR checklists | Actionable reminders at key moments |
| Section references (§1.3) | Precise cross-referencing |
| Compliance audit script | Automated enforcement |
| Pattern | Implementation |
|---|---|
| Explicit triggers | List all phrases in description frontmatter |
| No project-specific references | Use generic examples, placeholders |
| Templates over hardcoding | Configurable via CONFIG object or placeholders |
| Version with semver | CHANGELOG follows Keep a Changelog format |
| MIT license | Standard for Claude Code skills |
Every SKILL.md should have:
---
name: <skill-name>
description: <when to use, trigger phrases>
allowed-tools:
- <tool1>
- <tool2>
---
# <Skill Title>
One-line description.
> **Key Reference**: [link](path)
---
## Quick Start (First-Time Users)
1. Verify setup
2. Common operations
3. Getting help
---
## When This Skill Activates
### Trigger 1
What happens, what to check
### Trigger 2
What happens, what to check
---
## Core Patterns
Tables, examples, code blocks
---
## Anti-Patterns vs Correct Patterns
| Anti-Pattern | Correct Pattern | Why |
|--------------|-----------------|-----|
| ❌ Bad thing | ✅ Good thing | Reason |
---
## [Domain-Specific Sections]
...
---
## Related Documents
- [Link 1](path)
- [Link 2](path)
---
*Last updated: <date>*
{
"name": "claude-plugin-<skill-name>",
"version": "1.0.0",
"description": "<One sentence>",
"keywords": [
"claude",
"claude-code",
"claude-plugin",
"<domain-specific>",
"<domain-specific>"
],
"author": "<github-username>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/<user>/<skill-name>-claude-skill.git"
},
"files": ["skills", "templates", "README.md", "LICENSE"],
"scripts": {
"setup": "node skills/<name>/scripts/setup.mjs",
"check": "node skills/<name>/scripts/check.mjs"
},
"claude-plugin": {
"name": "<Skill Title>",
"description": "<Description for plugin registry>",
"skills": ["skills/<name>"]
}
}
claudeclaude-codeclaude-plugingovernance, code-quality, standardsproject-management, issue-trackingtesting, automationsecurity, authenticationdatabase, apidocumentation, developer-toolsBefore publishing:
{{...}} remaining)claude-plugin sectionclaude, claude-code, claude-plugin# 1. Create structure
mkdir -p docker-claude-skill/skills/docker/scripts
# 2. Copy templates
cp templates/* docker-claude-skill/
# 3. Customize (example)
# - Replace {{SKILL_NAME}} with "docker"
# - Replace {{SKILL_TITLE}} with "Docker"
# - Add docker-specific patterns to SKILL.md
# 4. Publish
node skills/skill-builder/scripts/create-repo.mjs \
--name "docker-claude-skill" \
--description "Claude Code skill for Docker container development" \
--topics "claude,claude-code,claude-plugin,docker,containers,devops"
Last updated: December 2025 Meta-skill for building Claude Code skills
npx claudepluginhub wrsmith108/skill-builder-claude-skillGuides creation of Claude Code skills: evaluates suitability with recurrence/automation/value/duplication tests, details SKILL.md structure, best practices, and quick-start commands.
Guides development of Claude Code SKILL.md files with best practices, structure, YAML frontmatter rules, categories, patterns, references, and testing.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.