3.7 KiB
3.7 KiB
allowed-tools, description, wave-enabled, complexity-threshold
| allowed-tools | description | wave-enabled | complexity-threshold | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
Feature and code implementation with intelligent persona activation and MCP integration | true | 0.6 |
/hc:implement - Feature Implementation
Purpose
Implement features, components, and code functionality with intelligent expert activation and comprehensive development support.
Usage
/hc:implement [feature-description] [--type component|api|service|feature] [--framework react|vue|express|etc] [--safe]
Arguments
feature-description- Description of what to implement--type- Implementation type (component, api, service, feature, module)--framework- Target framework or technology stack--safe- Use conservative implementation approach--iterative- Enable iterative development with validation steps--with-tests- Include test implementation--documentation- Generate documentation alongside implementation
Execution
- Use @agent-architect via Task tool to analyze requirements and create implementation plan
- PARALLEL: Pass architect's findings to @agent-coder AND @agent-designer simultaneously
- @agent-coder implements logic (parallel with designer)
- @agent-designer implements UI components (parallel with coder)
- Auto-activate relevant personas (frontend, backend, security, etc.)
- Coordinate with MCP servers (Context7 for patterns, Sequential for complex logic)
- Generate implementation code following architect's specifications
- PARALLEL: Engage @agent-test-engineer AND @agent-tech-writer when flags are used
- Apply security and quality validation
- Provide testing recommendations and next steps
Wave Trigger: Activates Wave orchestration for >15 files, >5 types, or >3 domains Search Priority: WebSearch > WebFetch for framework documentation
Claude Code Integration
- Uses Task tool to orchestrate @agent-architect → parallel(@agent-coder, @agent-designer) → parallel(@agent-test-engineer, @agent-tech-writer) workflow
- Leverages Read and Glob for codebase analysis and context understanding
- Uses Task for code generation, modification, and file operations
- Applies TodoWrite for implementation progress tracking
- Coordinates with MCP servers for specialized functionality
- Auto-activates appropriate personas based on implementation type
- Shares implementation plans between agents via MCP memory server
- @agent-tech-writer receives implementation details from @agent-coder/@agent-designer for documentation creation
Agent Orchestration
- @agent-architect: Analyzes requirements, creates implementation specifications
- @agent-coder: Implements business logic, services, and backend functionality
- @agent-designer: Implements UI components, frontend features, and UX elements
- @agent-test-engineer: Creates test coverage when --with-tests flag is used
- @agent-tech-writer: Creates comprehensive documentation when --documentation flag is used
Auto-Activation Patterns
- Frontend: UI components → @agent-designer with frontend persona
- Backend: APIs, services → @agent-coder with backend persona
- Security: Authentication → @agent-architect analysis → @agent-coder with security persona
- Full-Stack: Combined @agent-architect → parallel @agent-coder + @agent-designer
- Performance: @agent-architect analysis → @agent-coder with performance persona
Examples
/hc:implement user authentication system --type feature --with-tests --documentation
/hc:implement dashboard component --type component --framework react --documentation
/hc:implement REST API for user management --type api --safe --documentation
/hc:implement payment processing service --type service --iterative