/hc:build - Project Building
Purpose
Build, compile, and package projects with comprehensive error handling and optimization.
Usage
/hc:build [target] [--type dev|prod|test] [--clean] [--optimize]
Arguments
target - Project or specific component to build
--type - Build type (dev, prod, test)
--clean - Clean build artifacts before building
--optimize - Enable build optimizations
--verbose - Enable detailed build output
Execution
- Use @agent-architect to analyze project structure and build configuration
- PARALLEL: Pass analysis to @agent-coder for build scripts AND @agent-designer for UI assets
- @agent-coder generates/modifies build scripts (parallel with designer)
- @agent-designer optimizes assets for UI projects (parallel with coder)
- Validate dependencies and environment setup
- Execute build process with error monitoring
- Handle build errors and provide diagnostic information
- Optionally use @agent-test-engineer for build validation
- Optimize build output and report results
Wave Trigger: Activates for projects >15 files or >5 component types
Claude Code Integration
- Uses Task tool to orchestrate @agent-architect → parallel(@agent-coder, @agent-designer) workflow
- Uses Bash for build command execution
- Leverages Read for build configuration analysis
- Applies TodoWrite for build progress tracking
- Maintains comprehensive error handling and reporting
- Shares build configurations between agents via MCP memory server