Skill Creator
A meta-skill that produces new SKILL.md files. Describe what the skill should do,
and this skill generates a complete, convention-compliant SKILL.md file ready to commit.
When to Use
- You want to add a new skill but are unsure of the required structure
- You have a workflow in mind and want to formalize it as a skill
- You are migrating a skill from another source and need to adapt it to this repo's format
- You need to translate an external slash-command or Claude-oriented pattern into Copilot-native primitives
- Bootstrapping multiple skills quickly for a new domain
When NOT to Use
| Instead of skill-creator | Use |
|--------------------------|-----|
| Editing an existing skill | edit tool directly |
| Creating an agent definition | See agents/ directory conventions in AGENTS.md |
| Writing an orchestration pattern | See orchestration/patterns/ |
Prerequisites
- A clear description of the workflow the skill should encode
- Knowledge of which
skills/subdirectory it belongs to: development/— coding, debugging, testing workflowssecurity/— security scanning, review, hardeningtesting/— test strategy, eval, coveragedocumentation/— doc generation, update workflowscontent/— copywriting, SEO, content strategyproduct/— PRD, launch, roadmapworkflow/— process workflows (research, release, sprint)copilot-exclusive/— GitHub Copilot CLI-specific features- Confirm the category already exists in this repository. Research-focused skills
currently live under workflow/; adding a new category requires updating the
shared allowlist in scripts/skill-metadata.js before introducing new files.
Workflow
1. Gather requirements
Ask (or determine from context):
1. What is the skill name? (kebab-case, e.g., `api-versioning-guide`)
2. What category does it belong to? (development / security / testing / etc.)
3. What triggers this skill? (When should an agent use it?)
4. What is the step-by-step workflow?
5. What are the verification criteria (Done When)?
6. Are there any anti-patterns or common mistakes to warn about?
Important: the description is the first routing clue an AI sees when deciding whether
to load a skill. If it is vague, the skill may be correct but still fail to trigger when
the user actually needs it.
Skill frontmatter reference
Only name and description are selection signals. The other fields control behavior after a
skill is selected or invoked.
| Field | Type | Required | Description |
|-------|------|:--------:|-------------|
| name | string | Yes | Unique identifier; must start with a letter or number and use only letters, numbers, hyphens, underscores, dots, colons, and spaces; maximum 64 characters |
| description | string | Yes | What the skill does and when to use it; maximum 1024 characters |
| argument-hint | string | No | Expected argument hint shown in the skill picker, such as "[target] [mode]" |
| allowed-tools | string or string[] | No | Tools automatically allowed while the skill is active; "*" allows all tools |
| user-invocable | boolean | No | Whether users can invoke /SKILL-NAME; defaults to true |
| disable-model-invocation | boolean | No | Whether to prevent automatic model invocation; defaults to false |
2. Generate the SKILL.md
Use this template as a base and fill in the gathered information.
Replace all [PLACEHOLDER] tokens with real content:
---
name: [kebab-case-name]
description: Use when [trigger condition] — [one-line description of output]
metadata:
category: [category]
agent_type: general-purpose
# Optional when clearly useful:
# copilot_feature: "[Copilot CLI feature or primitive]"
# origin: "ported and adapted from [source]"
---
# [Title Case Name]
[One paragraph describing the skill's purpose and what it produces.]
## When to Use
- [Concrete post-activation usage scenario 1]
- [Concrete post-activation usage scenario 2]
- [Concrete post-activation usage scenario 3]
## When NOT to Use
| Instead of [skill-name] | Use |
|-------------------------|-----|
| [alternative scenario] | [alternative skill or approach] |
## Prerequisites
- [Required setup or knowledge]
- [Tools or permissions needed]
## Workflow
### 1. [Step name]
[Description of what to do in this step.]
### 2. [Step name]
...
## Examples
### [Example scenario]
[Concrete example showing input and output]
## Common Rationalizations
| Rationalization | Reality |
|----------------|---------|
| "[excuse to skip the skill]" | [why that reasoning is wrong] |
## Red Flags
- [Warning sign that something is wrong]
- [Another warning sign]
## Verification
- [ ] [Concrete, checkable criterion 1]
- [ ] [Concrete, checkable criterion 2]
## Tips
- [Practical tip]
- [Link to related skills if applicable]
3. Place the file
# Create the directory if it doesn't exist
mkdir "skills/[category]/[skill-name]" -Force
# The file goes at:
# skills/[category]/[skill-name]/SKILL.md
3-A. Keep the body lean
A skill loads in layers: the name and description are always in context, the body loads when the
skill triggers, and files under references/ load only when the body points the agent at them. The
context window is shared, so every paragraph in the body should justify its token cost.
- Keep
SKILL.mdunder about 500 lines. When a skill approaches that, cut or split whole sections —
do not trim sentences until it fits.
- Keep the common path in the body: the steps most runs need and one short example.
- What fewer runs need — advanced variants, long examples, alternative tools, deep background — is
the part to move out. Where the host supports it, that means a references/<topic>.md file next to
the skill, linked from the body with one line that says when to read it.
- Not yet in this collection.
tests/validate-skills.test.jstreats every.mdunderskills/
(except README.md) as a skill: it must have frontmatter, its name must match its directory, its
category must match its grandparent folder, and it must appear in the catalog. A
references/<topic>.md file cannot pass those checks, so here, shorten the body or split the skill
instead, until the test exempts references/.
Adapted from the progressive-disclosure guidance in microsoft/skills skill-creator (MIT).
4. Port External Skills Intentionally
If the source came from Claude Code, an awesome list, or another skill collection,
adapt the concept instead of copying source-specific primitives verbatim.
Use this translation rubric:
| External concept | Copilot-native target |
|------------------|-----------------------|
| Slash command | skill or workflow section |
| Claude hook / event primitive | guidance, checklist, or repo-maintenance note |
| Subagent naming / mentions | task agent types, /fleet, or team-planner roles |
| Team/task registry | SQL tables |
| Model recommendation | multi-model-strategy or per-agent model override |
Before finalizing the skill, answer:
- What user problem is worth preserving from the source?
- Which source primitives do not exist in Copilot CLI?
- What is the nearest Copilot-native equivalent?
- Should the result be a new skill, or an update to an existing one?
Third-party SKILL.md is untrusted input
Tools that inspect or import an external skill must parse its manifest as untrusted input. Enforce
a post-expansion size cap, reject YAML merge keys, and cap anchor/alias depth to prevent
billion-laughs-style parser amplification. Prefer explicit rejection on parse failure over a
silent partial import. Supply-chain reviewers should apply the matching installation check in