Skip to main content

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

CommandCategoryDescription
/planPlanningCreate implementation plan with risk assessment
/tddTestingEnforce test-driven development workflow
/code-reviewQualitySecurity and quality review of changes
/build-fixErrorsFix build and type errors incrementally
/e2eTestingGenerate and run Playwright end-to-end tests
/verifyQualityComprehensive codebase verification
/securitySecuritySecurity-focused vulnerability scan
/go-buildGoFix Go build errors incrementally
/go-reviewGoIdiomatic Go code review
/go-testGoGo TDD workflow with table-driven tests
/python-reviewPythonPEP 8 and Pythonic code review
/orchestrateWorkflowSequential agent workflow for complex tasks
/checkpointWorkflowCreate/verify checkpoints in development
/evalWorkflowManage eval-driven development
/evolveLearningAnalyze and cluster instincts into skills
/instinct-exportLearningExport learned instincts to shareable format
/instinct-importLearningImport instincts from file or URL
/instinct-statusLearningShow learned instincts by domain
/learnLearningExtract reusable patterns from session
/learn-evalLearningExtract and evaluate patterns before saving
/promoteLearningPromote project instincts to global scope
/projectsLearningList projects and instinct statistics
/skill-createSkillsGenerate skills from git history
/refactor-cleanRefactoringSafely remove dead code with test verification
/test-coverageTestingAnalyze coverage and generate missing tests
/update-codemapsDocumentationGenerate architecture documentation
/update-docsDocumentationSync docs with codebase
/setup-pmSetupConfigure package manager preference
/clawInteractiveStart NanoClaw REPL session
/sessionsManagementManage session history and aliases
/pm2DevOpsAuto-generate PM2 service commands
/multi-planMulti-ModelMulti-model collaborative planning
/multi-executeMulti-ModelMulti-model collaborative execution
/multi-workflowMulti-ModelFull multi-model workflow (Research to Review)
/multi-backendMulti-ModelBackend-focused multi-model workflow
/multi-frontendMulti-ModelFrontend-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:

Continuous Learning

Commands for learning from your workflow:

Skills & Automation

Commands for skill management:

Documentation

Commands for maintaining documentation:

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):

Setup & Configuration

Commands for project setup:
  • /setup-pm - Configure package manager (npm/pnpm/yarn/bun)
  • /pm2 - Generate PM2 service configuration

Interactive Tools

Commands for interactive sessions:
  • /claw - Start NanoClaw REPL with persistent history

Usage Patterns

New Feature Workflow

# 1. Plan the feature
/plan Add real-time notifications

# 2. Implement with TDD
/tdd

# 3. Review code quality
/code-review

# 4. Verify everything passes
/verify

Bug Fix Workflow

# 1. Write failing test first
/tdd Reproduce login error

# 2. Fix the bug
# (make changes)

# 3. Verify fix
/verify

Multi-Model Workflow

# 1. Collaborative planning
/multi-plan Add payment integration

# 2. Execute plan
/multi-execute .claude/plan/payment.md

Command Conventions

Arguments

Most commands accept natural language descriptions:
/plan I need to add real-time notifications
/tdd function to validate email addresses
/e2e Test the checkout flow

Flags

Some commands support flags:
/verify quick              # Only build + types
/verify pre-pr             # Full checks + security
/instinct-export --domain testing
/evolve --generate         # Generate files

File Paths

Commands that reference files accept paths:
/multi-execute .claude/plan/feature.md
/sessions load my-session