Skip to main content

πŸ€– Agents

Agents are the core components of ECC. Each agent is an expert in a specific domain, with specialized skills and workflows.

What Are Agents?​

Think of agents as your professional team members:

  • πŸ—οΈ architect is your system architect
  • πŸ“‹ planner is your project manager
  • πŸ§ͺ tdd-guide is your testing coach
  • πŸ” code-reviewer is your code review expert

Overview of 13 Agents​

AgentPurposeTrigger Command
plannerCreate implementation plans/plan
architectSystem design decisions/architect
tdd-guideTest-driven development/tdd
code-reviewerCode review/code-review
security-reviewerSecurity analysis/security
build-error-resolverFix build errors/build-and-fix
e2e-runnerEnd-to-end testing/e2e
refactor-cleanerDead code cleanup/refactor
doc-updaterDocumentation updates/doc
git-assistantGit operations/git
debuggerDebugging assistant/debug
performance-optimizerPerformance optimization/perf
dependency-managerDependency management/deps

Key Agents in Detail​

πŸ—οΈ planner - The Planner​

Role: Create detailed implementation plans before writing code

Workflow:

  1. Restate requirements to ensure understanding
  2. Analyze risks and dependencies
  3. Create a phased plan
  4. Wait for user confirmation before starting execution
# Usage example
/plan Implement a user authentication system

πŸ§ͺ tdd-guide - TDD Coach​

Role: Guide you through test-driven development

TDD Cycle:

πŸ”΄ RED    β†’ Write a failing test
🟒 GREEN β†’ Write minimum code to make it pass
πŸ”΅ REFACTOR β†’ Refactor while keeping tests green

πŸ” code-reviewer - Code Reviewer​

Role: Review code quality and find potential issues

Review Dimensions:

  • Code correctness
  • Security vulnerabilities
  • Performance issues
  • Maintainability
  • Best practices

Agent Collaboration​

Agents can work together to form workflows:

Best Practices​

  1. Complex features β†’ Use planner first to create a plan
  2. New features / Bug fixes β†’ Use tdd-guide for TDD
  3. After coding β†’ Use code-reviewer for review
  4. Critical flows β†’ Use e2e-runner for end-to-end testing

πŸ’‘ Tip: Agent configuration files are located in the ~/.claude/agents/ directory β€” you can customize them to fit your team's needs!