| name | build-validator |
| description | Validate builds, type checks, and linting after code changes. Use proactively before finishing tasks or opening PRs. |
Build Validation
Workflow
- Identify project type (e.g.,
package.json, Makefile, Cargo.toml, go.mod).
- Check dependencies and required env vars.
- Run build commands.
- Run type checks and lint where applicable.
- Analyze failures and propose fixes.
Common commands
- Node.js/TypeScript:
npm run build, npm run typecheck, npm run lint
- Go:
go build ./..., go vet ./...
- Rust:
cargo build, cargo clippy
- Python:
python -m py_compile, mypy, ruff check
Report format
## Build Validation Report
### Status: ✅ Success / ❌ Failure
### Commands
- `cmd`: result
### Issues (if any)
1. [Severity] file:line - description
### Recommended actions
- next steps