commands/<name>.md and is declared in facet.json under the commands map. The normative rules — placement, descriptor shape, and the YAML front-matter contract — live at Text assets in the manifest specification.
Example
The file content is the command’s prompt — the instructions that run when the user invokes the command:When to use commands
Commands define what the user can trigger — a specific workflow or action. Use commands for:- Code review workflows
- Deployment checklists
- Refactoring tasks
- Report generation
- Test scaffolding
Further reading
- Text assets — placement, descriptor shape, and front-matter rules
- Create Your First Facet — step-by-step guide including writing a command