What problem does it solve? Code that compiles and passes linting can still contain logic errors, missing error handling, untested regression impact, and incomplete implementations. This Skill acts as a pre-commit quality gate that catches these "almost right" issues before they enter the repository. ## Core Features & Use Cases - Multi-Stage Code Review: Traces data flow for null dereferences and missing awaits, verifies error handling on async functions and HTTP calls, and checks boundary conditions on every changed function. - Regression and Spec Compliance: Compares the staged diff against the approved plan to detect incomplete implementations and scope creep, and traces dependent files to flag untested impact zones. - Domain Quality Hooks: Auto-detects file patterns (migrations, billing code, UI components, API contracts) and applies domain-specific checks, producing a weighted composite health score with a PASS, WARN, or BLOCK verdict. - Use Case: Before committing a new API endpoint, run preflight to confirm the endpoint has input validation, proper HTTP status codes, no swallowed exceptions, and that dependent modules still have test coverage. ## Quick Start Run preflight on my staged changes and report any logic, error handling, or regression issues before I commit.