--- name: quality-gates-javascript description: Use in a JavaScript/Node.js project when running its existing package tests or build scripts, when running StrykerJS mutation gates after a green baseline, or when judging whether a recorded JavaScript test or mutation result is enough to call delivery verified. Owns command resolution from checked-in package scripts, sequential core/boundary StrykerJS 9.6.1 TAP execution and fresh evidence. Not for explaining test code, TypeScript or Vitest packages (quality-gates-typescript), coverage enforcement, or other mutation runners. --- # JavaScript quality gates Load quality bar (`skraft-quality-bar`) and evidence contract (`quality-gates-evidence-contract`). Missing tooling, unsupported scope, failed gates or absent evidence block delivery. ## Resolve ordinary commands first - Read checked-in package scripts in the explicitly selected package. Use its `test`, `build`, `typecheck`, `lint` or dedicated acceptance/architecture scripts only when present and applicable; preserve their working-directory semantics. - Invoke `npm --prefix run