Custom Slash Commands
9.1 Command File Format and Location
Command files are simply Markdown files whose content is injected as a prompt to the AI.
9.2 Using /create-command to Generate Commands
- Command name
- Command purpose
- Files to read
- Execution steps
9.3 Command Design Best Practices
Good command structure:Step 2: Analyze [AI]
Describe what to analyze…
Step 3: Report
Output format…Step 2: Verify [AI]
Check these items:
- All tests pass
- No TODO comments in production code
- Environment variables are set
- Database migrations are up to date
- API endpoints are documented