959 B
959 B
SKILL.md Format
Frontmatter (REQUIRED): Two fields are mandatory:
- name: Unique identifier (lowercase, hyphens for spaces)
- description: Complete description following this pattern:
- What the skill does
- When to use it (be specific about context)
- What it needs (when applicable)
- How to trigger it (specific phrases: "Trigger with phrases like '[action] [context]'")
Example: "Generates, analyzes, and optimizes prompts for skills, commands, subagents, reference docs, and free-form text. Use when generating prompt content, analyzing prompt files, or optimizing prompt text. Trigger with phrases like '[generate|analyze|optimize] prompt', '[generate|analyze|optimize] [file-path]', 'create [skill|command|subagent]'."
Optional Frontmatter:
- allowed-tools: Scope tool access (e.g.,
allowed-tools: "Read, Bash(git:*)")
Markdown Body (FLEXIBLE): No required structure. Use any prompting strategy.