Create or update agent skills following the agent skill specification. Use when user asks to create a new skill or update an existing skill.
This skill helps you create new agent skills or update existing ones following the Agent Skills specification and dev-swarm conventions.
As an expert in your assigned roles, you must announce your actions before performing them using the following format:
As a {Role} [and {Role}, ...], I will {action description}
This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.
Follow these steps to create or update an agent skill:
Ask the user for clarification if needed:
dev-swarm-, lowercase, hyphens only)For new skills:
dev-swarm/skills/dev-swarm-{skill-name}/references/ for reference documentation (preferred)scripts/ for executable scripts (if needed)assets/ for static resources (if needed)For existing skills:
dev-swarm/skills/dev-swarm-{skill-name}/SKILL.md to understand current structureThe SKILL.md file must contain:
---
name: dev-swarm-skill-name
description: A clear description of what this skill does and when to use it.
---
Frontmatter requirements:
name: Must start with dev-swarm-, match directory name, lowercase, hyphens only, max 64 charactersdescription: Max 1024 characters, describe what it does AND when to use itOptional frontmatter fields:
metadata: Additional key-value metadata (author, version, etc.)allowed-tools: Pre-approved tools (experimental)1. Skill Title and Introduction
# AI Builder - {Skill Name}
Brief introduction describing what this skill does.
2. When to Use This Skill
## When to Use This Skill
- Bullet point describing use case 1
- Bullet point describing use case 2
- etc.
3. Your Roles in This Skill (REQUIRED)
## Your Roles in This Skill
- **Role Name**: Description of what this role does in this skill
- **Role Name**: Description of what this role does in this skill
Choose roles from file dev-swarm/docs/dev-swarm-roles.md:
4. Role Communication (REQUIRED)
## Role Communication
As an expert in your assigned roles, you must announce your actions before performing them using the following format:
As a {Role, and Role-XYZ if have more roles}, I will {action description}
This communication pattern ensures transparency and allows for human-in-the-loop oversight at key decision points.
5. Instructions
## Instructions
Follow these steps in order:
### Step 1: {Step Title}
Detailed instructions for this step...
### Step 2: {Step Title}
Detailed instructions for this step...
(Continue with all necessary steps)
ALWAYS use reference files to keep SKILL.md concise. Prefer routing details to references/ files rather than embedding everything in SKILL.md.
When to use reference files:
references/claude-code.md, references/gemini-cli.md)references/macos.md, references/windows.md, references/linux.md)references/npm-install.md, references/docker-setup.md)references/react.md, references/vue.md)Use conditional routing format in SKILL.md:
- If installing **tool-a**, refer to `references/tool-a.md`
- If installing **tool-b**, refer to `references/tool-b.md`
- If on **macOS**, refer to `references/macos.md`
- If on **Windows**, refer to `references/windows.md`
Reference file guidance:
SKILL.md using relative pathsdev-swarm/ in the project's root if asked to reference an entire fileIf your skill includes executable scripts:
scripts/ directoryCheck the following:
Frontmatter validation:
name starts with dev-swarm-name matches directory namename is lowercase with hyphens onlydescription is clear and under 1024 charactersRequired sections present:
Content quality:
SKILL.md is concise (under 200 lines preferred), defers details to referencesFile structure:
If possible, test the skill by:
Show the user:
Ask: "The skill has been created/updated. Would you like me to make any changes?"
dev-swarm/docs/agent-skill-specification.mddev-swarm/docs/dev-swarm-roles.mddev-swarm-Issue: Skill name doesn't match directory
name in frontmatter exactly matches the directory nameIssue: Skill name doesn't start with dev-swarm-
dev-swarm-{skill-name}Issue: Missing required sections
Issue: Description too vague
Issue: SKILL.md too long (over 200 lines)
Issue: Including steps to update documentation files without user request
Issue: Not using reference files when there are multiple tools/platforms