.agents/skills/create-skill/SKILL.md
Create a new skill in .agents/skills/<skill-name>/ following the workflow defined in .agents/skills/README.md.
Before creating anything, ask the user:
gh-create-pr, prepare-release).claude/skills/ for shared use? (default: no, private only)If the user provides partial info (e.g., just a name), proceed with reasonable defaults and ask to confirm.
Always read .agents/skills/README.md before creating a new skill to ensure compliance with the current workflow.
Create the following directory structure:
.agents/skills/<skill-name>/
└── SKILL.md
SKILL.md template:
---
name: <skill-name>
description: <description>
---
# <Skill Name>
[Instructions for the skill]
Frontmatter fields:
name: Skill identifier (lowercase, digits, hyphens)description: When to trigger (what the skill does + specific contexts)If the user wants a public skill, before validation:
.agents/skills/public-skills.txt (one per line, no inline comments)pnpm skills:sync
This creates a symlink at .claude/skills/<skill-name>/ pointing to .agents/skills/<skill-name>/.
Note: pnpm skills:check primarily validates public skills (those in public-skills.txt) and also verifies related governance files, so you must sync first before validating.
Run the validation command:
pnpm skills:check
If there are issues, fix them and re-run.
Present the user with:
gh-create-pr)| Type | Location | Sync | Requires |
|---|---|---|---|
| Private | .agents/skills/ | No | Just create the folder |
| Public | Both | Yes | Add to public-skills.txt + run pnpm skills:sync |
# Validate skill structure
pnpm skills:check
# Sync public skills to Claude
pnpm skills:sync
.agents/skills/<skill-name>/pnpm skills:check before completingpublic-skills.txt AND running pnpm skills:sync