编辑 | blame | 历史 | 原始文档

Project Skill Definition Schema

Store each generated project Skill at .ai/skills/<skill-name>/SKILL.md. Use project-specific names when needed to avoid collisions with common global Skills.

Required frontmatter contains only:

---
name: "<lowercase-hyphen-case, max 64 characters>"
description: "<what it does plus the distinct repository task that triggers it>"
---

Required body:

# <Skill Name>
## Steps
## Output

Keep both frontmatter values YAML strings; double-quote them and escape embedded quotes. Write imperative steps with explicit inputs, completion criteria, and validation gates. Put trigger conditions in frontmatter description; do not duplicate them in a when_to_use section. Create a Skill only for a repeated executable procedure, not a job title, schema fragment, or one-off instruction.