sc-build
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProject Building
项目构建
Build, compile, and package projects with comprehensive error handling and optimization.
具备全面错误处理与优化功能的项目构建、编译及打包工具。
When to use
适用场景
- User needs to build or compile a project
- Build errors need diagnosis and resolution
- Production build or optimization required
- Clean build or rebuild needed
- Build configuration analysis requested
- 用户需要构建或编译项目
- 需要诊断并解决构建错误
- 需要生产环境构建或优化
- 需要清理构建产物后重新构建
- 需要分析构建配置
Instructions
使用说明
Usage
使用方式
/sc:build [target] [--type dev|prod|test] [--clean] [--optimize]/sc:build [target] [--type dev|prod|test] [--clean] [--optimize]Arguments
参数说明
- - Project or specific component to build
target - - Build type (dev, prod, test)
--type - - Clean build artifacts before building
--clean - - Enable build optimizations
--optimize - - Enable detailed build output
--verbose
- - 要构建的项目或特定组件
target - - 构建类型(dev、prod、test)
--type - - 构建前清理构建产物
--clean - - 启用构建优化
--optimize - - 启用详细构建输出
--verbose
Execution
执行流程
- Analyze project structure and build configuration
- Validate dependencies and environment setup
- Execute build process with error monitoring
- Handle build errors and provide diagnostic information
- Optimize build output and report results
- 分析项目结构与构建配置
- 验证依赖项与环境设置
- 执行构建流程并监控错误
- 处理构建错误并提供诊断信息
- 优化构建输出并报告结果
Claude Code Integration
Claude Code 集成
- Uses Bash for build command execution
- Leverages Read for build configuration analysis
- Applies TodoWrite for build progress tracking
- Maintains comprehensive error handling and reporting
- 使用 Bash 执行构建命令
- 利用 Read 分析构建配置
- 通过 TodoWrite 跟踪构建进度
- 保持全面的错误处理与报告机制