build-quality-gates

Enforce sequential compile, lint, type-check, and bundle gates before deployment.

2|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/krzemienski/validationforge --skill build-quality-gates-krzemienski
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-quality-gates
Source: https://github.com/krzemienski/validationforge/tree/main/skill-audit-workspace/build-quality-gates/skill-snapshot
Command: npx skills add https://github.com/krzemienski/validationforge --skill build-quality-gates-krzemienski

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents regressions and deployment of broken or poorly packaged code by enforcing a strict, four-stage build pipeline that must pass before merge or deployment, ensuring structural quality before functional validation.

Core Features & Use Cases

  • Sequential Gate Enforcement: Four ordered gates (compile, lint, type-check, bundle) where each gate must PASS before proceeding.
  • Platform Detection: Infers build commands for common systems (Next.js, Vite, TypeScript, Xcode, Rust, Go, Python) to run appropriate checks.
  • Evidence & Reporting: Captures per-step logs and exit codes to e2e-evidence/build-gates/ and produces a gate report for audit and downstream verdict-writing agents.
  • Use Case: Run as a pre-PR or pre-deploy preflight to catch compile errors, style violations, type regressions, and unexpected bundle growth before functional testing.

Quick Start

Run the build quality gates as a pre-PR check to compile, lint, type-check, and produce bundle analysis while saving evidence to e2e-evidence/build-gates/.

Frequently Asked Questions about build-quality-gates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce a multi-stage build pipeline for compile, lint, and type checking before deployment?

To enforce a multi-stage build pipeline, use sequential gate validation to verify compilation, linting, type checking, and bundling pass before deployment. This pre-deploy check catches structural and packaging regressions by requiring each gate to pass before proceeding.

What is the best way to run pre-PR build checks for JavaScript, TypeScript, and compiled languages?

The best way to run pre-PR build checks is using platform detection to infer build commands for common systems like Next.js, Vite, TypeScript, Xcode, Rust, Go, and Python. This automatically runs appropriate checks to catch style violations and type regressions.

How does sequential gate enforcement work for compile, lint, type-check, and bundle stages?

Sequential gate enforcement works by ordering four gates—compile, lint, type-check, and bundle—where each gate must pass before proceeding to the next. This strict ordering prevents broken code from advancing through the build pipeline.

Where are build quality gate logs and exit codes stored for audit and downstream agents?

Build quality gate logs and exit codes are stored under the e2e-evidence/build-gates/ directory. This produces per-gate evidence logs and a gate report for audit purposes and downstream verdict-writing agents.

Why do I need a pre-deploy preflight check to catch bundle growth and packaging regressions?

You need a pre-deploy preflight check to prevent deploying broken or poorly packaged code. By enforcing a strict four-stage build pipeline before merge or deployment, you ensure structural quality is validated before functional testing begins.