Skip to main content
Commands are slash commands (like /plan or /tdd) that provide quick access to common development workflows. They invoke specialized agents and reference relevant skills to accomplish specific tasks.

What Are Commands?

Commands are markdown files with YAML frontmatter that define:
  • Description - What the command does
  • Agent invocation - Which agent(s) to use
  • Skill references - Which skills provide methodology
  • Usage examples - How to use the command effectively

Command Structure

Here’s an example from the /tdd command:
~/workspace/source/commands/tdd.md

Available Commands (33)

ECC provides 33 slash commands across six categories:

Development Commands

/plan

Agent: plannerPurpose: Create implementation plan before writing codeUsage:
Output:
  • Requirements restatement
  • Step-by-step implementation phases
  • Risk identification
  • Dependency mapping
  • WAITS for confirmation before proceeding

/tdd

Agent: tdd-guidePurpose: Enforce test-driven development workflowUsage:
Workflow:
  1. Define interfaces
  2. Write failing tests (RED)
  3. Implement minimal code (GREEN)
  4. Refactor (REFACTOR)
  5. Verify 80%+ coverage

/code-review

Agent: code-reviewerPurpose: Review code for quality, security, maintainabilityUsage:
Checks:
  • Code quality issues
  • Security vulnerabilities
  • Performance concerns
  • Maintainability problems
  • Severity ratings: CRITICAL, HIGH, MEDIUM, LOW

/build-fix

Agent: build-error-resolverPurpose: Fix build and type errors incrementallyUsage:
Process:
  • Run build command
  • Analyze errors
  • Fix highest-priority errors first
  • Verify after each fix

/e2e

Agent: e2e-runnerPurpose: Generate Playwright E2E tests for critical flowsUsage:
Output:
  • Page object classes
  • Test scenarios
  • Assertions for critical steps

/refactor-clean

Agent: refactor-cleanerPurpose: Remove dead code and clean up technical debtUsage:
Actions:
  • Identify unused code
  • Remove dead imports
  • Clean up commented code
  • Simplify complex logic

Testing & Verification

/test-coverage

Purpose: Analyze test coverage and identify gapsUsage:
Output:
  • Coverage percentages (unit, integration, E2E)
  • Uncovered lines and branches
  • Recommendations for additional tests

/verify

Purpose: Run verification loop (build, test, lint, typecheck, security)Usage:
Stages:
  1. Build check
  2. Test execution
  3. Linting
  4. Type checking
  5. Security scan

/checkpoint

Purpose: Save verification state for later comparisonUsage:
Use case: Before major refactoring to ensure no regressions

/eval

Purpose: Evaluate code against specific criteriaUsage:
Output: Pass/fail assessment with evidence

Learning & Evolution

/learn

Purpose: Extract patterns from current sessionUsage:
Output: Patterns identified and saved to instincts

/learn-eval

Purpose: Extract and evaluate patterns before savingUsage:
Process:
  1. Extract patterns from session
  2. Evaluate quality and confidence
  3. Ask user to confirm before saving

/instinct-status

Purpose: View learned instincts with confidence scoresUsage:
Output: All instincts sorted by confidence

/instinct-import

Purpose: Import instincts from file or URLUsage:

/instinct-export

Purpose: Export instincts for sharingUsage:
Output: Markdown file with all instincts

/evolve

Purpose: Cluster related instincts into skillsUsage:
Process:
  • Analyze instinct patterns
  • Group related instincts
  • Generate skill files

Language-Specific Commands

/go-review

Agent: go-reviewerPurpose: Go code review with idiomatic Go patternsChecks:
  • Proper error handling
  • Goroutine leak prevention
  • Interface design
  • Testing patterns

/go-test

Agent: tdd-guidePurpose: Go TDD workflow with table-driven testsFeatures:
  • Table-driven test generation
  • Benchmark tests
  • Coverage reports

/go-build

Agent: go-build-resolverPurpose: Fix Go build errorsHandles:
  • Import errors
  • Type mismatches
  • Missing dependencies

Orchestration

/orchestrate

Purpose: Multi-agent coordination for complex workflowsUsage:
Process:
  • Decompose into subtasks
  • Assign agents to subtasks
  • Coordinate execution
  • Synthesize results

/multi-plan

Purpose: Multi-model collaborative planningUsage:
Features:
  • Multiple planning perspectives
  • Consensus building
  • Risk triangulation

/multi-execute

Purpose: Multi-model collaborative executionUsage:
Process:
  • Parallel implementation
  • Cross-validation
  • Conflict resolution

/pm2

Purpose: Auto-generate PM2 service commandsUsage:
Output:
  • PM2 ecosystem.config.js
  • Start/stop/restart commands
  • Log management

Documentation & Utilities

/update-docs

Agent: doc-updaterPurpose: Update documentation after code changesUsage:

/update-codemaps

Purpose: Regenerate code architecture mapsUsage:

/setup-pm

Purpose: Configure package manager (npm, pnpm, yarn, bun)Usage:
Interactive: Prompts to select preferred package manager

/skill-create

Purpose: Generate skills from git historyUsage:

/sessions

Purpose: Manage session historyUsage:

/projects

Purpose: List known projects and instinct statsUsage:

/promote

Purpose: Promote project instincts to global scopeUsage:

Common Workflows

Starting a New Feature

Fixing a Bug

Preparing for Production

Refactoring

Command Best Practices

Always plan complex features before implementation. The planner agent will identify risks and dependencies.
Use /tdd instead of writing code directly. Test-driven development catches edge cases early.
Run code review immediately after writing/modifying code. Don’t wait until PR time.
/plan → /tdd → /code-review → /verify is a common sequence for features.
/go-review, /python-review provide language-specific checks beyond generic code review.

Creating Custom Commands

You can create project-specific commands:
~/.claude/commands/my-command.md
/my-command [arguments]
Commands with namespaced plugin syntax: /everything-claude-code:planCommands from manual install: /plan

Next Steps

Explore Hooks

Learn about event-driven automations

Commands Reference

Full catalog of all 33 commands

TDD Command

Deep dive into test-driven development command

Plan Command

Learn about implementation planning