/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:
- Define interfaces
- Write failing tests (RED)
- Implement minimal code (GREEN)
- Refactor (REFACTOR)
- 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:
- Build check
- Test execution
- Linting
- Type checking
- 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:
- Extract patterns from session
- Evaluate quality and confidence
- 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
- Python
/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
Use /plan Before Large Changes
Use /plan Before Large Changes
Always plan complex features before implementation. The planner agent will identify risks and dependencies.
/tdd for All New Code
/tdd for All New Code
Use
/tdd instead of writing code directly. Test-driven development catches edge cases early./code-review After Writing Code
/code-review After Writing Code
Run code review immediately after writing/modifying code. Don’t wait until PR time.
Chain Commands Sequentially
Chain Commands Sequentially
/plan → /tdd → /code-review → /verify is a common sequence for features.Use Language-Specific Commands
Use Language-Specific Commands
/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
Commands with namespaced plugin syntax:
/everything-claude-code:planCommands from manual install: /planNext 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