Back to Everything Claude Code

Commands Quick Reference

COMMANDS-QUICK-REF.md

2.1.012.2 KB
Original Source

Commands Quick Reference

94 slash commands installed globally. Type / in any Claude Code session to invoke.


Core Workflow

CommandWhat it does
/planRestate requirements, assess risks, write step-by-step implementation plan — waits for your confirm before touching code
/plan-canvasOpen a plan or HTML artifact in the browser Plan Canvas for annotate-and-approve review
/plan-prdGenerate a lean, problem-first PRD and hand off to /plan for implementation planning
/feature-devGuided feature development with codebase understanding and architecture focus
/code-reviewCode review — local uncommitted changes or GitHub PR (pass PR number/URL for PR mode)
/review-prComprehensive PR review using specialized agents
/build-fixDetect and fix build errors — delegates to the right build-resolver agent automatically
/quality-gateQuality gate check against project standards
/santa-loopAdversarial dual-review convergence loop — two independent model reviewers must both approve before code ships

Testing

CommandWhat it does
/test-coverageAnalyze coverage, identify gaps, and generate missing tests toward the target threshold
/go-testTDD workflow for Go (table-driven, 80%+ coverage with go test -cover)
/kotlin-testTDD for Kotlin (Kotest + Kover)
/rust-testTDD for Rust (cargo test, cargo-llvm-cov)
/cpp-testTDD for C++ (GoogleTest + gcov/lcov)
/flutter-testRun Flutter/Dart tests (unit, widget, golden, integration), report and fix failures
/react-testTDD for React (React Testing Library, Vitest or Jest, coverage targets)

Code Review

CommandWhat it does
/code-reviewCode review — local uncommitted changes or GitHub PR (pass PR number/URL for PR mode)
/python-reviewPython — PEP 8, type hints, security, idiomatic patterns
/go-reviewGo — idiomatic patterns, concurrency safety, error handling
/kotlin-reviewKotlin — null safety, coroutine safety, clean architecture
/rust-reviewRust — ownership, lifetimes, unsafe usage
/cpp-reviewC++ — memory safety, modern idioms, concurrency
/flutter-reviewFlutter/Dart — widget best practices, state management, accessibility, security
/react-reviewReact/JSX — hook correctness, render performance, server/client boundaries, accessibility
/vue-reviewVue.js — Composition API correctness, reactivity, composable patterns, template security, accessibility, performance
/fastapi-reviewFastAPI — async correctness, dependency injection, Pydantic schemas, security

Build Fixers

CommandWhat it does
/build-fixDetect and fix build errors — delegates to the right build-resolver agent automatically
/go-buildFix Go build errors and go vet warnings
/kotlin-buildFix Kotlin/Gradle compiler errors
/rust-buildFix Rust build + borrow checker issues
/cpp-buildFix C++ CMake and linker problems
/gradle-buildFix Gradle errors for Android / KMP
/flutter-buildFix Dart analyzer errors and Flutter build failures
/react-buildFix React build failures (Vite, webpack, Next.js, CRA, Parcel, esbuild, Bun)

Orchestrated Feature Workflows

CommandWhat it does
/orch-add-featureBuild a brand-new feature end to end — research, plan, TDD, review, gated commit
/orch-build-mvpBootstrap a working MVP from a design/spec doc — ingest, slice, scaffold, TDD, review, gated commit
/orch-change-featureAlter an existing feature to new desired behavior — update tests to the new spec, change impl, review, gated commit
/orch-fix-defectFix a bug — reproduce it as a failing regression test, fix to green, review, gated commit
/orch-refine-codeBehavior-preserving refactor — confirm tests green, restructure, keep green, review, gated commit
/orch-reviewRun the orch-review native Workflow over a diff (local changes or a GitHub PR) and report blocking vs advisory findings

PRP Workflow

CommandWhat it does
/prp-prdInteractive PRD generator — problem-first, hypothesis-driven, back-and-forth questioning
/prp-planCreate a comprehensive feature implementation plan with codebase analysis and pattern extraction
/prp-implementExecute an implementation plan with rigorous validation loops
/prp-commitQuick commit with natural language file targeting
/prp-prCreate a GitHub PR from the current branch with unpushed commits

Epic Coordination (GitHub-native)

CommandWhat it does
/epic-decomposeBreak an epic into task children without creating task branches
/epic-validateValidate epic readiness, dependencies, and coordination policy
/epic-claimClaim an epic issue, stamp coordination state, and sync local ownership
/epic-syncSync epic issue bodies, labels, and local coordination snapshots from GitHub
/epic-reviewMark epic review requested, approved, or changes requested
/epic-publishPublish a validated epic update back to the issue and local cache
/epic-unblockSweep blocked epic issues and reopen anything whose dependencies are closed

Planning & Architecture

CommandWhat it does
/planRestate requirements, assess risks, write step-by-step implementation plan — waits for your confirm before touching code
/multi-planMulti-model collaborative planning
/multi-workflowMulti-model collaborative development
/multi-backendBackend-focused multi-model development
/multi-frontendFrontend-focused multi-model development
/multi-executeMulti-model collaborative execution

Session Management

CommandWhat it does
/save-sessionSave current session state to ~/.claude/session-data/
/resume-sessionLoad the most recent saved session from the canonical session store and resume from where you left off
/sessionsBrowse, search, and manage session history with aliases from ~/.claude/session-data/ (with legacy reads from ~/.claude/sessions/)
/checkpointCreate, verify, or list workflow checkpoints after running verification checks
/asideAnswer a quick side question without losing current task context

Cross-Harness Memory CLI

These are ecc CLI commands, not slash commands. They use one inspectable Markdown vault across Claude, Codex, Hermes, OpenClaw, Kimi, and other harnesses.

CommandWhat it does
ecc memory initCreate project, team, or user vault directories
ecc memory saveCreate an unreviewed context, decision, fact, lesson, note, preference, or runbook
ecc memory handoffTransfer bounded work state from one harness to another
ecc memory searchSearch memories by text, scope, kind, or target harness
ecc memory readRead a memory and its backlinks by stable ID
ecc memory doctorReport malformed files, duplicate IDs, broken links, and skipped symlinks
ecc-memory-mcpStart the optional local stdio MCP server

Pass memory bodies with --stdin or --body-file; they are intentionally not accepted as command-line values. Recalled memories are untrusted context, not executable instructions or policy.


Learning & Improvement

CommandWhat it does
/learnExtract reusable patterns from the current session
/learn-evalExtract patterns + self-evaluate quality before saving
/evolveAnalyse learned instincts, suggest evolved skill structures
/promotePromote project-scoped instincts to global scope
/pruneDelete pending instincts older than 30 days that were never promoted
/instinct-statusShow all learned instincts (project + global) with confidence scores
/instinct-exportExport instincts to a file
/instinct-importImport instincts from a file or URL
/skill-createAnalyse local git history → generate a reusable skill
/skill-healthSkill portfolio health dashboard with analytics

Refactoring & Cleanup

CommandWhat it does
/refactor-cleanRemove dead code, consolidate duplicates, clean up structure

Docs & Research

CommandWhat it does
/ecc-guideNavigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository surface
/update-docsSync documentation from source-of-truth files such as scripts, schemas, routes, and exports
/update-codemapsRegenerate codemaps for the codebase

Loops & Automation

CommandWhat it does
/loop-startStart a recurring agent loop on an interval
/loop-statusCheck status of running loops
/gan-buildGenerator/evaluator build loop for implementation tasks, bounded iterations and scoring
/gan-designGenerator/evaluator design loop for frontend or visual work, bounded iterations and scoring

Project & Infrastructure

CommandWhat it does
/projectsList known projects and their instinct statistics
/project-initDetect a project's stack and produce a dry-run ECC onboarding plan
/harness-auditAudit the agent harness configuration for reliability and cost
/model-routeRoute a task to the right model (Haiku / Sonnet / Opus)
/pm2PM2 process manager initialisation
/setup-pmConfigure package manager (npm / pnpm / yarn / bun)
/auto-updatePull the latest ECC repo changes and reinstall the current managed targets
/cost-reportGenerate a local Claude Code cost report from a cost-tracker SQLite database
/security-scanRun AgentShield against agent, hook, MCP, permission, and secret surfaces
/jiraRetrieve a Jira ticket, analyze requirements, update status, or add comments
/prCreate a GitHub PR from current branch with unpushed commits
/hookifyCreate hooks to prevent unwanted behaviors from conversation analysis or explicit instructions
/hookify-configureEnable or disable hookify rules interactively
/hookify-listList all configured hookify rules
/hookify-helpGet help with the hookify system

Marketing

CommandWhat it does
/marketing-campaignPlan and execute a full marketing campaign — positioning, landing page copy, email sequence, social posts, ad variants, video scripts, content calendar

Retired Commands

These slash commands were retired in favor of skills. The command files still exist under legacy-command-shims/commands/ for backward compatibility (not part of the default installed surface), but the maintained workflow now lives in the listed skill — invoke the skill directly instead:

Retired commandUse this skill instead
/tddtdd-workflow
/evaleval-harness
/verifyverification-loop
/e2ee2e-testing
/docsdocumentation-lookup
/clawnanoclaw-repl
/context-budgetcontext-budget
/devfleetclaude-devfleet
/orchestratedmux-workflows and autonomous-agent-harness
/prompt-optimizeprompt-optimizer
/rules-distillrules-distill
/agent-sortagent-sort

Quick Decision Guide

Starting a new feature?         → /plan first, then TDD via the tdd-workflow skill
Code just written?              → /code-review
Build broken?                   → /build-fix
Need live docs?                 → the documentation-lookup skill
Session about to end?           → /save-session or /learn-eval
Resuming next day?              → /resume-session
Context getting heavy?          → the context-budget skill
Want to extract what you learned? → /learn-eval then /evolve
Running repeated tasks?         → /loop-start