build-validator

whywaita's avatarfrom whywaita

Validate builds, type checks, and linting after code changes. Use proactively before finishing tasks or opening PRs.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 10, 2026

When & Why to Use This Skill

The Build Validator skill is an automated quality assurance tool designed to verify code integrity immediately after modifications. It streamlines the development workflow by executing build commands, performing static type checks, and running linters across multiple environments (Node.js, Go, Rust, Python). By proactively identifying compilation errors and style violations before code is committed or merged, it ensures high code quality and reduces the frequency of broken CI/CD pipelines.

Use Cases

  • Pre-PR Validation: Automatically run full build and linting suites before opening a pull request to ensure the branch meets all project standards.
  • Cross-Language Compatibility: Detect project types (e.g., Cargo, NPM, Go modules) and execute the appropriate validation commands without manual configuration.
  • Automated Debugging Loop: Identify specific line-item failures in type checks or linting and generate structured reports to guide immediate code corrections.
  • Environment Readiness Check: Verify that all necessary dependencies and environment variables are correctly configured for a successful build.
namebuild-validator
descriptionValidate builds, type checks, and linting after code changes. Use proactively before finishing tasks or opening PRs.

Build Validation

Workflow

  1. Identify project type (e.g., package.json, Makefile, Cargo.toml, go.mod).
  2. Check dependencies and required env vars.
  3. Run build commands.
  4. Run type checks and lint where applicable.
  5. 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