Skip to content

Templates

skill-forge ships with five battle-tested templates. Each one encodes best practices for a specific type of Claude Code skill.

The simplest starting point. A minimal SKILL.md with a references directory.

Terminal window
skill-forge create my-skill --template basic

Best for: Simple instructions-only skills, reference lookups, coding conventions.

Generated structure:

my-skill/
├── SKILL.md
└── references/
└── conventions.md

For skills that wrap or extend CLI tools.

Terminal window
skill-forge create my-skill --template cli-tool

Best for: Git workflows, build tool helpers, deployment automation.

Generated structure:

my-skill/
├── SKILL.md
├── references/
│ └── commands.md
└── scripts/
└── setup.sh

For browser automation skills using Playwright or similar tools.

Terminal window
skill-forge create my-skill --template browser

Best for: Web scraping, form filling, testing, screenshot capture.

For skills that analyze and review code.

Terminal window
skill-forge create my-skill --template code-review

Best for: PR review, linting rules, security audits, code quality checks.

An empty scaffold with maximum flexibility.

Terminal window
skill-forge create my-skill --template custom

Best for: Unique use cases that don’t fit other templates.

You can create reusable templates for your team:

Terminal window
# Create a template from an existing skill
skill-forge template create --from ./my-polished-skill --name team-standard
# List custom templates
skill-forge template list
# Use your custom template
skill-forge create new-skill --template team-standard

Custom templates are directories with a template.json manifest:

{
"name": "team-standard",
"description": "Our team's standard skill layout",
"files": [
{ "src": "SKILL.md.template", "dest": "SKILL.md" },
{ "src": "references/", "dest": "references/" }
],
"variables": {
"skillName": { "prompt": "Skill name", "default": "{{name}}" },
"author": { "prompt": "Author name" }
}
}

Templates support Mustache-style variables ({{variableName}}) that are replaced during scaffolding.