Skip to main content

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

The AI will ask:
  1. Command name
  2. Command purpose
  3. Files to read
  4. Execution steps
Then automatically generates dual-IDE command files.

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

Step 3: Report

Output a deployment readiness report.