build
How to build this project. Load when you need to compile or bundle.
When & Why to Use This Skill
This Claude skill automates the software build process, providing a standardized interface for compiling and bundling projects across multiple environments. It streamlines the development workflow by managing build commands for various languages like Node.js, Rust, and Go, while also offering built-in troubleshooting for common dependency and compilation issues.
Use Cases
- Automated Project Bundling: Quickly execute development or production builds (e.g., npm run build) to generate deployable artifacts in dist/ or build/ folders.
- Dependency Resolution: Automatically identify and install missing packages or requirements (npm install, pip install) when build errors occur.
- Cross-Language Build Management: Provide a unified command structure for projects using different tech stacks like Cargo for Rust, Go modules, or Webpack for JavaScript.
- Build Error Diagnostics: Analyze compiler output and logs to identify and fix type errors, missing imports, or configuration mismatches during the bundling process.
| name | build |
|---|---|
| description | How to build this project. Load when you need to compile or bundle. |
| allowed-tools | Bash |
Build Skill
Project-specific build commands.
Build Commands
# Development build
# TODO: Add your build command
npm run build
# cargo build
# go build ./...
# Production build
npm run build:prod
# cargo build --release
Build Artifacts
- Output:
dist/orbuild/ - Source maps:
*.map
Common Issues
Missing Dependencies
npm install
# pip install -r requirements.txt
Build Errors
Check compiler output, usually type errors or missing imports.