skill-template
Skill80 starsChanged 8 months agoMITView on GitHub
Generate custom skill/command from template. Use when creating a new skill or slash command from scratch, or scaffolding a skill file with correct frontmatter.
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
Only description is meaningfully required (name defaults to the directory name).
- Very specific: line 98
Do not emit bare Bash, Edit, Write, Agent, Task, or Skill entries in allowed-tools.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Template Generator
Generate a custom skill (slash command) based on requirements.
Usage: /skill-template [skill-name] [purpose]
Templates
| Purpose | Template | Features |
| Workflow | Multi-step | Sequential steps |
| Generator | Creator | File creation |
| Checker | Validator | Validation rules |
| Automation | Runner | Command execution |
| Agent-backed | Delegator | Runs in a forked subagent |
Process
- Gather Requirements
- Skill name (lowercase, hyphenated)
- Purpose
- Arguments (if any — space-separated names)
- Workflow steps
- Context isolation (
context: fork)? - Agent backing (
agent:, only withcontext: fork)? - Tool restrictions?
- Select Template based on purpose
- Generate File at
.claude/skills/[name]/SKILL.md - Validate with
/skill-check
Frontmatter Reference (official fields)
Only description is meaningfully required (name defaults to the directory
name). All other fields are optional.
---
name: skill-name # Optional: defaults to directory name; lowercase, hyphenated
description: What it does # Recommended: shown in / menu and used for triggering
when_to_use: When to reach for it # Optional: appended to description for triggering
# (description + when_to_use truncated at 1,536 chars in listings)
user-invocable: true # Optional: default true; false hides from / menu (Skill tool still works)
model: sonnet # Optional: any /model value (sonnet, opus, haiku, fable, best,
# default, opusplan, sonnet[1m], opus[1m], a full model ID) or inherit
effort: medium # Optional: low, medium, high, xhigh, max
allowed-tools: # Optional: pre-approved tools. Accepts a comma-separated string
- Read # OR a YAML list — BOTH are official (list shown here as house style)
- Grep
- Glob
disallowed-tools: # Optional: explicitly blocked tools (string or YAML list)
- WebFetch
context: fork # Optional: run the skill in a subagent
agent: agent-name # Optional: subagent type when context: fork (default: general-purpose)
background: false # Optional (2.1.218+): with context: fork, false waits for the result;
# forked skills run in the background by default
argument-hint: "[issue-number]" # Optional: autocomplete hint shown after the skill name
arguments: target flags # Optional: space-separated argument NAMES for $name substitution
# (arguments "target flags" -> use $target and $flags in the body).
# NOT a structured array of name/description/required objects.
disable-model-invocation: false # Optional: bool; true also blocks scheduled-task invocation
paths: # Optional: glob patterns that limit where the skill activates
- "src/**/*.ts"
shell: bash # Optional: bash or powershell for inline !`command` blocks
hooks: # Optional: skill-scoped lifecycle hooks (same schema as settings.json)
PreToolUse:
- matcher: Bash
hooks:
- type: command
command: echo "Bash used"
Stop:
- hooks:
- type: command
command: ./scripts/verify.sh
once: true
---metadata (a free-form map), license, and compatibility (up to 500
characters) are accepted but not acted on. version is not a skill field, and
Claude Code silently ignores unknown fields. once is valid only inside a
hooks[] entry, never at the top level.
Do not emit bare Bash, Edit, Write, Agent, Task, or Skill entries in
allowed-tools; those rules preapprove broad mutation or delegation. Omit the
field when the workflow should use the runtime's normal permission flow.
Workflow Template Structure
---
name: [name]
description: [What it does. Include when to use it.]
user-invocable: true
context: fork
argument-hint: "<task-description>"
# when_to_use: Use when the user asks about X or mentions Y. # Optional trigger hint
# arguments: target mode # Optional: names for $target, $mode
---
# [Skill Name]
## Workflow
### Step 1: [Name]
### Step 2: [Name]
### Step 3: [Name]
## Arguments
Uses `$ARGUMENTS` for raw input (or `$name` per the `arguments` field)
## Output
Summary when completeExample
/skill-template deploy-staging "deploy to staging"
Output: Created .claude/skills/deploy-staging/SKILL.md
Usage: /deploy-stagingOther versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- muratcankoylan/Agent-Skills-for-Context-Engineering★ 18ksame name
- anbeime/skill★ 7.9ksame name
- VoDaiLocz/kilo-kit-mcp★ 28same name
- gaia-research/gaia-skill-tree★ 23same name
- maybeanns/context-management-for-antigravity★ 4same name
- carlosedm10/skills★ 1same name
- KiloAgent/skills★ 1same name
- Baba01hacker666/dummyskills★ 0same name
- bookchaowalit/platform-agent-skills★ 0same name
- cadeKukk/claude-skills★ 0same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- .github/copilot-instructions.mdCopilot instructions
- changelog-observerSkill
- agent-checkSkill
- agentsSkill
- agent-templateSkill
- auto-loopSkill
- changelogSkill
- check-environmentSkill
- claude-md-checkSkill
- claude-md-templateSkill
- code-reviewerSkill
- debuggerSkill
- director-modeSkill
- doc-writerSkill
- evolving-loopSkill
- evolving-statusSkill
- focus-problemSkill
- getting-startedSkill
- handoff-claudeSkill
- handoff-codexSkill
- handoff-geminiSkill
- handoff-grokSkill
- hooks-checkSkill
- hook-templateSkill
- interop-routerSkill
- mcp-checkSkill
- planSkill
- project-health-checkSkill
- project-initSkill
- session-relaySkill
- skill-checkSkill
- skillsSkill
- smart-commitSkill
- test-firstSkill
- test-runnerSkill
- workflowSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

