Commands Overview
Everything Claude Code provides 35 slash commands that automate common development workflows. Commands are organized into categories for planning, testing, code quality, multi-model collaboration, and more.Quick Reference
| Command | Category | Description |
|---|---|---|
/plan | Planning | Create implementation plan with risk assessment |
/tdd | Testing | Enforce test-driven development workflow |
/code-review | Quality | Security and quality review of changes |
/build-fix | Errors | Fix build and type errors incrementally |
/e2e | Testing | Generate and run Playwright end-to-end tests |
/verify | Quality | Comprehensive codebase verification |
/security | Security | Security-focused vulnerability scan |
/go-build | Go | Fix Go build errors incrementally |
/go-review | Go | Idiomatic Go code review |
/go-test | Go | Go TDD workflow with table-driven tests |
/python-review | Python | PEP 8 and Pythonic code review |
/orchestrate | Workflow | Sequential agent workflow for complex tasks |
/checkpoint | Workflow | Create/verify checkpoints in development |
/eval | Workflow | Manage eval-driven development |
/evolve | Learning | Analyze and cluster instincts into skills |
/instinct-export | Learning | Export learned instincts to shareable format |
/instinct-import | Learning | Import instincts from file or URL |
/instinct-status | Learning | Show learned instincts by domain |
/learn | Learning | Extract reusable patterns from session |
/learn-eval | Learning | Extract and evaluate patterns before saving |
/promote | Learning | Promote project instincts to global scope |
/projects | Learning | List projects and instinct statistics |
/skill-create | Skills | Generate skills from git history |
/refactor-clean | Refactoring | Safely remove dead code with test verification |
/test-coverage | Testing | Analyze coverage and generate missing tests |
/update-codemaps | Documentation | Generate architecture documentation |
/update-docs | Documentation | Sync docs with codebase |
/setup-pm | Setup | Configure package manager preference |
/claw | Interactive | Start NanoClaw REPL session |
/sessions | Management | Manage session history and aliases |
/pm2 | DevOps | Auto-generate PM2 service commands |
/multi-plan | Multi-Model | Multi-model collaborative planning |
/multi-execute | Multi-Model | Multi-model collaborative execution |
/multi-workflow | Multi-Model | Full multi-model workflow (Research to Review) |
/multi-backend | Multi-Model | Backend-focused multi-model workflow |
/multi-frontend | Multi-Model | Frontend-focused multi-model workflow |
Command Categories
Planning & Architecture
Commands for planning features and making architectural decisions:- /plan - Restate requirements, assess risks, create implementation plan
- /orchestrate - Sequential agent workflow (planner → tdd → reviewer → security)
- /multi-plan - Multi-model collaborative planning with Codex and Gemini
Test-Driven Development
Commands that enforce testing best practices:- /tdd - Scaffold interfaces, write tests first, implement minimal code
- /go-test - Go TDD with table-driven tests
- /test-coverage - Analyze coverage gaps and generate missing tests
- /e2e - Generate and run Playwright end-to-end tests
Code Quality & Review
Commands for maintaining code quality:- /code-review - Security and quality review of uncommitted changes
- /go-review - Idiomatic Go code review with concurrency analysis
- /python-review - PEP 8 compliance and Pythonic patterns
- /verify - Comprehensive verification (build, types, lint, tests)
Build & Error Fixing
Commands for resolving build errors:- /build-fix - Fix build and type errors incrementally
- /go-build - Fix Go build errors with minimal changes
Refactoring & Cleanup
Commands for code maintenance:- /refactor-clean - Safely identify and remove dead code
Continuous Learning
Commands for learning from your workflow:- /learn - Extract reusable patterns from session
- /learn-eval - Extract and evaluate patterns with quality gate
- /instinct-status - Show learned instincts
- /instinct-export - Export instincts to shareable format
- /instinct-import - Import instincts from file/URL
- /promote - Promote project instincts to global
- /evolve - Cluster instincts into skills/commands/agents
- /projects - List projects and instinct stats
Skills & Automation
Commands for skill management:- /skill-create - Generate skills from git history analysis
Documentation
Commands for maintaining documentation:- /update-docs - Sync docs with codebase sources of truth
- /update-codemaps - Generate architecture codemaps
Workflow Management
Commands for managing development workflows:- /checkpoint - Create/verify workflow checkpoints
- /eval - Manage eval-driven development
- /sessions - Manage session history and aliases
Multi-Model Collaboration
Commands leveraging Codex (backend) and Gemini (frontend):- /multi-workflow - Full workflow from Research to Review
- /multi-plan - Collaborative planning phase
- /multi-execute - Collaborative execution phase
- /multi-backend - Backend-focused with Codex
- /multi-frontend - Frontend-focused with Gemini
Setup & Configuration
Commands for project setup:Interactive Tools
Commands for interactive sessions:- /claw - Start NanoClaw REPL with persistent history
Usage Patterns
New Feature Workflow
Bug Fix Workflow
Multi-Model Workflow
Command Conventions
Arguments
Most commands accept natural language descriptions:Flags
Some commands support flags:File Paths
Commands that reference files accept paths:Related Resources
- Agents Overview - 13 specialized agents
- Skills Overview - 50+ workflow skills
- Hooks Overview - Trigger-based automation