Skip to content

Universal QA

What is Universal QA?

QA scripts shipped with Orbit that run against every project's codebase, regardless of project type. Project-agnostic, discovers entry points at runtime.

Universal QA scripts live in Orbit's `scripts/qa/universal/` directory. They read project state from `process.cwd()` (never their own location), output a standard JSON shape, and operate within a 2-second runtime budget. The current example is `qa-module-integrity` (catches `import { X }` where X was never exported). Per-project scripts can override universal scripts on name collision.

How it relates to Orbit

Orbit’s cross-project QA scripts run for each project and report alongside its own QA scripts. See QA Intelligence for details.

When you would use it

Universal QA runs implicitly. You add new universal scripts when a check is broadly applicable across project types.

Common operations

  • Catching import bugs across all projects automatically
  • Cross-project regression detection
  • Running standardized integrity checks

Related terms

Where this is taught