sc-build
Build & Package Skill
Project building and packaging with optimization and error handling.
Quick Start
# Standard build
/sc:build [target]
# Production with optimization
/sc:build --type prod --clean --optimize
# Verbose development build
/sc:build frontend --type dev --verbose
Behavioral Flow
- Analyze - Project structure, configs, dependencies
- Validate - Build environment, toolchain components
- Execute - Build process with real-time monitoring
- Optimize - Apply optimizations, minimize bundles
- Package - Generate artifacts and build reports
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--type |
string | dev | dev, prod, test |
--clean |
bool | false | Clean build (remove previous artifacts) |
--optimize |
bool | false | Enable advanced optimizations |
--verbose |
bool | false | Detailed build output |
--validate |
bool | false | Include validation steps |
Personas Activated
- devops-engineer - Build optimization and deployment preparation
Evidence Requirements
This skill requires evidence. You MUST:
- Show build command output and exit codes
- Reference generated artifacts
- Report timing metrics and optimization results
Build Types
Development (--type dev)
- Fast compilation
- Source maps enabled
- Debug symbols included
- No minification
Production (--type prod)
- Full optimization
- Minification enabled
- Tree-shaking applied
- Dead code elimination
Test (--type test)
- Test coverage instrumentation
- Mock configurations
- Test-specific environment
Examples
Clean Production Build
/sc:build --type prod --clean --optimize
# Minification, tree-shaking, deployment prep
Component Build
/sc:build frontend --verbose
# Targeted build with detailed output
Validation Build
/sc:build --type dev --validate
# Development build with quality gates
Error Handling
Build failures trigger:
- Error log analysis
- Dependency verification
- Configuration validation
- Actionable resolution guidance
Tool Coordination
- Bash - Build system execution
- Read - Configuration analysis
- Grep - Error parsing and log analysis
- Glob - Artifact discovery
- Write - Build reports
More from tony363/superclaude
sc-estimate
Provide development estimates for tasks, features, or projects with intelligent analysis. Use when planning timelines, assessing complexity, or scoping resources.
78agent-fullstack-developer
End-to-end feature owner with expertise across the entire stack. Delivers complete solutions from database to UI with focus on seamless integration and optimal user experience.
50agent-react-specialist
Expert React specialist mastering React 18+ with modern patterns and ecosystem. Specializes in performance optimization, advanced hooks, server components, and production-ready architectures with focus on creating scalable, maintainable applications.
34agent-technical-writer
Expert technical writer specializing in clear, accurate documentation and content creation. Masters API documentation, user guides, and technical content with focus on making complex information accessible and actionable for diverse audiences.
32sc-design
Design system architecture, APIs, and component interfaces with comprehensive specifications. Use when planning architecture, designing APIs, creating component interfaces, or modeling databases.
32agent-performance-engineer
Expert performance engineer specializing in system optimization, bottleneck identification, and scalability engineering. Masters performance testing, profiling, and tuning across applications, databases, and infrastructure with focus on achieving optimal response times and resource efficiency.
31