Skip to content

Claude Commands

One-Liner

Claude Commands is the core command system of Claude Code Workflow — invoking various workflows, tools, and collaboration features through slash commands.

Core Concepts

CategoryCommand CountDescription
Core Orchestration2Main workflow orchestrators (ccw, ccw-coordinator)
Workflow20+Planning, execution, review, TDD, testing workflows
Session Management6Session creation, listing, resuming, completion
Issue Workflow8Issue discovery, planning, queue, execution
IDAW5Batch autonomous task execution with git checkpoints
Memory8Memory capture, update, document generation
CLI Tools2CLI initialization, Codex review
UI Design10UI design prototype generation, style extraction

Command Categories

1. Core Orchestration Commands

CommandFunctionDifficulty
/ccwMain workflow orchestrator - intent analysis -> workflow selection -> command chain executionIntermediate
/ccw-coordinatorCommand orchestration tool - chained command execution and state persistenceIntermediate

2. Workflow Commands

CommandFunctionDifficulty
/workflow-lite-planLightweight interactive planning workflowIntermediate
/workflow-plan5-phase planning workflowIntermediate
/workflow-executeCoordinate agent execution of workflow tasksIntermediate
/workflow:replanInteractive workflow replanningIntermediate
/workflow-multi-cli-planMulti-CLI collaborative planningIntermediate
/workflow:reviewPost-implementation reviewIntermediate
/workflow:cleanSmart code cleanupIntermediate
/workflow:spec:setup Initialize project stateIntermediate
/workflow:brainstorm-with-fileInteractive brainstormingIntermediate
/workflow:analyze-with-fileInteractive collaborative analysisBeginner
/workflow:debug-with-fileInteractive hypothesis-driven debuggingIntermediate
/workflow:unified-execute-with-fileUniversal execution engineIntermediate

3. Session Management Commands

CommandFunctionDifficulty
/workflow:session:startDiscover existing sessions or start new workflow sessionIntermediate
/workflow:session:listList all workflow sessionsBeginner
/workflow:session:resumeResume most recently paused workflow sessionIntermediate
/workflow:session:syncQuick-sync session work to specs and project-techIntermediate
/workflow:session:completeMark active workflow session as completedIntermediate
/workflow:session:solidifyCrystallize session learnings into project guidelinesIntermediate

4. Issue Workflow Commands

CommandFunctionDifficulty
/issue:newCreate structured issue from GitHub URL or text descriptionIntermediate
/issue:discoverDiscover potential issues from multiple perspectivesIntermediate
/issue:discover-by-promptDiscover issues via user promptIntermediate
/issue:from-brainstormConvert brainstorm session ideas into issue with executable solutionIntermediate
/issue:planBatch plan issue solutionsIntermediate
/issue:queueForm execution queueIntermediate
/issue:executeExecute queueIntermediate
/issue:convert-to-planConvert planning artifact to issue solutionIntermediate

5. IDAW Commands

CommandFunctionDifficulty
/idaw:addCreate tasks manually or import from ccw issueBeginner
/idaw:runExecute task queue with skill chains and git checkpointsIntermediate
/idaw:run-coordinateExecute via external CLI with hook callbacksIntermediate
/idaw:statusView task and session progressBeginner
/idaw:resumeResume interrupted session from last checkpointIntermediate

6. Memory Commands

CommandFunctionDifficulty
/memory:compactCompress current session memory to structured textIntermediate
/memory:tipsQuick note-takingBeginner
/memory:prepareLoad task context via CLI project analysisIntermediate
/memory:update-fullUpdate all CLAUDE.md filesIntermediate
/memory:update-relatedUpdate CLAUDE.md for git-changed modulesIntermediate
/memory:docs-full-cliGenerate full project documentation using CLIIntermediate
/memory:docs-related-cliGenerate documentation for git-changed modulesIntermediate
/memory:style-skill-memoryGenerate SKILL memory package from style referenceIntermediate

7. CLI Tool Commands

CommandFunctionDifficulty
/cli:cli-initGenerate configuration directory and settings filesIntermediate
/cli:codex-reviewInteractive code review using Codex CLIIntermediate

8. UI Design Commands

CommandFunctionDifficulty
/workflow:ui-design:explore-autoInteractive exploratory UI design workflowIntermediate
/workflow:ui-design:imitate-autoDirect code/image input UI designIntermediate
/workflow:ui-design:style-extractExtract design styles from reference images or promptsIntermediate
/workflow:ui-design:layout-extractExtract layout information from reference imagesIntermediate
/workflow:ui-design:animation-extractExtract animation and transition patternsIntermediate
/workflow:ui-design:codify-styleExtract styles from code and generate shareable reference packageIntermediate
/workflow:ui-design:generateCombine layout templates with design tokens to generate prototypesIntermediate

Auto Mode

Most commands support the --yes or -y flag to enable auto mode and skip confirmation steps.

bash
# Standard mode - requires confirmation
/ccw "implement user authentication"

# Auto mode - execute directly without confirmation
/ccw "implement user authentication" --yes

Usage Examples

Quick Analysis

bash
# Analyze codebase structure
/ccw "Analyze the authentication module architecture"

# Quick bug diagnosis
/ccw "Diagnose why the login timeout issue occurs"

Planning & Implementation

bash
# Create implementation plan
/workflow-plan "Add OAuth2 authentication with Google and GitHub providers"

# Execute with auto mode
/workflow-execute --yes

Code Review

bash
# Review current changes
/cli:codex-review

# Focus on specific area
/cli:codex-review "Focus on security vulnerabilities in auth module"

Session Management

bash
# List all sessions
/workflow:session:list

# Resume a paused session
/workflow:session:resume "WFS-001"

# Mark session as complete
/workflow:session:complete "WFS-001"

Issue Workflow

bash
# Discover issues from codebase
/issue:discover

# Create plan for specific issue
/issue:plan "ISSUE-001"

# Execute the fix
/issue:execute --commit

Memory Management

bash
# Capture current session learnings
/memory:capture "Key insights from authentication refactoring"

# List all memories
/memory:list

# Search memories
/memory:search "authentication patterns"

CLI Tool Invocation

bash
# Initialize CLI configuration
/cli:cli-init

# Run Gemini analysis
ccw cli -p "Analyze code patterns in src/auth" --tool gemini --mode analysis

# Run with specific rule template
ccw cli -p "Review code quality" --tool gemini --mode analysis --rule analysis-review-code-quality

UI Design Workflow

bash
# Extract styles from reference image
/workflow:ui-design:style-extract --input "path/to/reference.png"

# Generate prototype
/workflow:ui-design:generate --layout "dashboard" --tokens "design-tokens.json"

Tips

  1. Use Auto Mode Sparingly: Only use --yes or -y for routine tasks. Keep manual confirmation for complex decisions.

  2. Session Persistence: Always complete sessions with /workflow:session:complete to preserve learnings.

  3. Memory Capture: Regularly capture important insights with /memory:capture to build project knowledge.

  4. CLI Tool Selection: Let /ccw auto-select the appropriate tool, or explicitly specify with --tool gemini|qwen|codex.

Released under the MIT License.