ai-create-skill
Create new AI agent skills that follow the Agent Skills format and fit into this repository's category structure.
When to use
Use this skill when:
- Creating a new skill from scratch
- Helping a user define agent instructions for a practice, pattern, or tool
- Reviewing whether an existing skill follows the correct format
Instructions
Choose the correct category. Place the skill under the most specific matching category:
ai/— Cross-cutting skills applicable to any projectcommon/— Cross-cutting skills applicable to any projectoperations/— DevOps, CI/CD, deployment, and infrastructure skillsfrontend/— General frontend skillsfrontend/*/— Technology specific skillsbackend/— General backend skillsbackend/*/— Technology specific skills
Create the skill directory. Use a kebab-case name that clearly identifies the skill:
skills/<category>/<skill-name>/Create
SKILL.mdwith frontmatter. Every skill must have aSKILL.mdfile with YAML frontmatter containingnameanddescription:--- name: <category>-<skill-name> description: A single sentence describing what this skill does. ---The
namemust be unique across the repository.The
descriptionshould be concise — it is used for skill discovery and matching.
Write the skill body. Structure the Markdown body with these sections:
Required sections:
# <name>— Title matching the frontmatter name, followed by a one-line summary.## When to use— Bullet list of situations where this skill should activate.## Instructions— Numbered step-by-step instructions the agent must follow.
Optional sections:
## Prerequisites— Other skills or tools required before this one applies.## Core concepts— Background knowledge the agent needs to reason correctly.## Examples— Concrete code or output examples demonstrating correct behavior.## References— Links to external documentation or standards.
Write instructions for an AI agent, not a human.
- Be explicit and unambiguous — the reader is a language model, not a developer skimming docs.
- Use imperative language: "Do X", "Never Y", "Always Z".
- Provide decision trees when multiple paths exist (if A then B, otherwise C).
- Include validation checks the agent can self-evaluate ("Ask: can X hold without Y?").
- Avoid vague guidance like "use best practices" — spell out exactly what to do.
Keep skills focused. One skill = one concern. If a skill grows beyond ~150 lines, consider splitting it into multiple skills and referencing prerequisites between them.
Add optional supporting files if needed:
scripts/— Executable helper scripts the agent can invoke (shell, Node.js, Python).references/— Supporting documentation, checklists, or lookup tables.
Update the category README. Add the new skill to the bullet list in
skills/<category>/README.md:- <skill-name>/SKILL.mdValidate the skill.
- Does the frontmatter parse as valid YAML?
- Is the
nameunique in the repository? - Does the "When to use" section give enough signal for skill matching?
- Are instructions actionable without external context?
- Would an AI agent know exactly what to do after reading only this file?
Template
Use this as a starting point for a new skill:
---
name: <category>-<skill-name>
description: A brief description of what this skill does.
---
# <category>-<skill-name>
One-line summary of what this skill accomplishes.
## When to use
Use this skill when:
- Situation A
- Situation B
- Situation C
## Instructions
1. First actionable step.
2. Second actionable step.
3. Additional steps as needed.