/skill-builder:skill-builderfrom skill-builder
Guides users through creating Claude Code skills with templates, best practices, and GitHub automation.
Ships in skill-builder. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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/.claude-plugin
mkdir -p <skill-name>-claude-skill/templates # Optional
| Template | Copy to | Purpose | Customize |
|---|---|---|---|
SKILL-template.md | skills/<name>/SKILL.md | Core skill definition | Name, description, triggers, content |
CHANGELOG-template.md | CHANGELOG.md | Version history | Add initial features, lessons learned |
README-template.md | README.md | User documentation | Installation, usage, examples |
package-template.json | package.json | npm metadata | Name (kebab-case), topics |
plugin-template.json | .claude-plugin/plugin.json | Plugin manifest (source of truth) | Name (kebab-case), description, version |
marketplace-template.json | .claude-plugin/marketplace.json | Marketplace manifest (enables install) | Marketplace name, plugin name (kebab-case) |
setup-template.mjs | skills/<name>/scripts/setup.mjs | Optional setup-verification script | Add checks for your skill's prerequisites |
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>*
package.json is for npm metadata only. Do not put a claude-plugin block here — the
Claude Code plugin manifest lives in .claude-plugin/plugin.json (see below), which is the
single source of truth.
{
"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"]
}
.claude-plugin/)For the skill to be installable via claude plugin install, the repo needs two manifests.
Copy plugin-template.json and marketplace-template.json into .claude-plugin/.
CRITICAL: plugin and marketplace name fields must be kebab-case with no spaces
(use <skill-name>, never the Title-Case <Skill Title>). A space here means
/<skill-name> will not invoke the skill.
.claude-plugin/plugin.json:
{
"name": "<skill-name>",
"description": "<One sentence>",
"version": "1.0.0",
"author": { "name": "<author>", "url": "https://github.com/<user>" },
"license": "MIT"
}
.claude-plugin/marketplace.json (skills auto-discover from skills/ under source):
{
"name": "<user>-skills",
"owner": { "name": "<author>" },
"plugins": [
{
"name": "<skill-name>",
"source": ".",
"description": "<One sentence>"
}
]
}
Users then install with:
claude plugin marketplace add <user>/<skill-name>-claude-skill
claude plugin install <skill-name>@<user>-skills
claudeclaude-codeclaude-plugingovernance, code-quality, standardsproject-management, issue-trackingtesting, automationsecurity, authenticationdatabase, apidocumentation, developer-toolsBefore publishing:
{{...}} remaining)claude plugin marketplace add + install flow).claude-plugin/plugin.json exists with a kebab-case name (no spaces).claude-plugin/marketplace.json exists so the plugin is installableclaude, 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
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub wrsmith108/skill-builder-claude-skill --plugin skill-builder