Slash Commands
Slash commands are structured workflow procedures that guide the AI through specific types of tasks. Antigravity Kit includes 11 specialized workflows that handle everything from brainstorming to deployment.Available Commands
Antigravity Kit provides 11 slash command workflows:| Command | Description |
|---|---|
/brainstorm | Explore options before implementation |
/create | Create new features or apps |
/debug | Systematic debugging |
/deploy | Deploy application |
/enhance | Improve existing code |
/orchestrate | Multi-agent coordination |
/plan | Create task breakdown |
/preview | Preview changes locally |
/status | Check project status |
/test | Generate and run tests |
/ui-ux-pro-max | Design with 50 styles |
When to Use Each Workflow
/brainstorm - Explore Before You Build
Best For
- Unclear or vague requirements
- Need to explore multiple options
- Complex problems that need breaking down
- Early-stage feature planning
- Loads the
brainstormingskill - Applies Socratic questioning method
- Asks strategic questions to clarify requirements
- Outputs a structured discovery document
- 3-5 strategic questions about your requirements
- Analysis of different authentication approaches (JWT, OAuth, session-based)
- Pros and cons of each option
- Recommended approach with rationale
- Implementation considerations
/create - Build New Features
Best For
- New features in existing projects
- Small-to-medium complexity tasks
- Single domain work (frontend OR backend)
- Rapid prototyping
- Detects project type (web/mobile/api/game)
- Loads
app-builderskill + domain-specific skills - Selects appropriate template if creating from scratch
- Generates project structure and code
- Runs quick validation (
checklist.py)
- Complete code files for the feature
- Proper project structure
- Dependencies installed (if needed)
- Basic tests included
- Documentation on how to use the feature
/orchestrate - Multi-Agent Coordination
Best For
- Full-stack features
- Complex multi-step tasks
- Projects requiring multiple specialist agents
- Large features spanning multiple domains
- Loads
parallel-agentsskill - Decomposes task into subtasks
- Assigns each subtask to appropriate specialist agent
- Coordinates sequential execution with context switching
- Ensures code coherence across all parts
- Runs full verification suite
app/dashboard/page.tsx- Server Componentcomponents/DashboardLayout.tsx- Layout componentcomponents/LoginForm.tsx- Login UIlib/auth-client.ts- Client-side auth utilities
app/api/auth/login/route.ts- Login endpointapp/api/auth/logout/route.ts- Logout endpointlib/jwt.ts- Token managementmiddleware.ts- Auth middleware
prisma/schema.prisma- User and Session modelsprisma/migrations/- Database migrations
tests/auth.spec.ts- Playwright E2E teststests/dashboard.spec.ts- Dashboard tests
The orchestrator maintains consistency across all code, ensuring imports, types, and API contracts all align perfectly.
/debug - Systematic Debugging
Best For
- Bug reports and error messages
- Unexpected application behavior
- Performance issues
- Failed test cases
- Loads
systematic-debuggingskill - Analyzes error logs and stack traces
- Applies root cause analysis methodology
- Suggests fixes with code examples
- Verifies the fix works
- Root cause analysis of the issue
- Step-by-step explanation of what went wrong
- Code fix with before/after examples
- Test to verify the fix
- Prevention tips to avoid similar issues
/test - Generate and Run Tests
Best For
- Need test coverage for new features
- Before deploying to production
- After major code changes
- Continuous integration setup
- Loads
testing-patterns+webapp-testingskills - Detects test framework (Jest, Vitest, Playwright)
- Generates appropriate test cases
- Executes test suite
- Reports coverage and results
- Unit tests for functions and components
- Integration tests for API endpoints
- E2E tests for critical user flows
- Test execution results
- Coverage report
/deploy - Deploy to Production
Best For
- Ready to ship to production
- After all tests pass
- Need production URL for stakeholders
- CI/CD pipeline setup
- Loads
deployment-proceduresskill - Detects target platform (Vercel, AWS, Docker, etc.)
- Prepares build artifacts
- Executes deployment scripts
- Runs health checks
- Outputs deployment URL
- Build process completion
- Deployment configuration files
- Deployment status updates
- Production URL
- Post-deployment health check results
/plan - Create Task Breakdown
Best For
- Large projects requiring planning
- Need time estimates for stakeholders
- Team coordination and sprint planning
- Complex features with dependencies
- Loads
plan-writing+architectureskills - Analyzes requirements
- Breaks down into tasks with estimates
- Identifies dependencies between tasks
- Outputs structured plan with milestones
- Phased breakdown of work
- Task list with time estimates
- Dependency graph
- Risk assessment
- Suggested milestones
- Resource requirements
/enhance - Improve Existing Code
Best For
- Code refactoring
- Performance optimization
- Adding features to existing code
- Modernizing legacy code
- Enhanced code with improvements
- Explanation of changes made
- Before/after comparison
- Tests for new functionality
/preview - Preview Changes Locally
Best For
- Reviewing changes before committing
- Testing features locally
- Demonstrating work to stakeholders
/status - Check Project Status
Best For
- Understanding project health
- Identifying issues or blockers
- Getting overview of recent changes
- Project health summary
- Recent commits/changes
- Test pass/fail status
- Dependency status (outdated packages)
- Known issues or warnings
/ui-ux-pro-max - Professional Design System
Best For
- Creating polished, professional UIs
- Need design inspiration
- Want consistent design system
- Client-facing applications
- Loads
ui-ux-pro-maxskill (27 reference files) - Provides access to 50 design styles
- Offers 21 color palettes
- Includes 50 font combinations
- Generates professional UI with selected aesthetic
- Professional UI with cohesive design
- Carefully selected color palette
- Typography system with font pairings
- Responsive layout
- Accessibility-compliant components
- Design tokens/variables
Chaining Commands
You can chain commands for complex workflows:- Explores authentication options
- Creates implementation plan
- Builds the feature with multiple agents
- Tests the implementation
- Deploys to production
Command Selection Flowchart
Use this guide to choose the right command:Pro Tips
Next Steps
- Read Best Practices to get optimal results
- See Using Agents to understand agent selection
- Try the Web App Example for a complete walkthrough
