What problem does it solve?
Stops sloppy, post-hoc quality checks by running lightweight formatting, linting, and type checks right after code edits so issues are caught before they reach verification or commits.
Core Features & Use Cases
- Auto-detect languages and toolchains: Analyze changed file extensions and marker files to figure out which format, lint, and type commands to run for JavaScript/TypeScript, Python, Go, Rust, Java, Kotlin, Swift, PHP, Dart, and C++.
- Flexible modes and reporting: Support
--fix to auto-correct formatting and lint violations, --strict to treat warnings as errors, and emit a clear quality gate report showing pass/fail results per check plus an overall status.
- Configuration protection: Guard protected config files (linters, formatters, type systems) by requiring explicit approval before any modification, as detailed in
protected-configs.md.
Quick Start
Run quality-gate after editing code to auto-detect languages and run formatting, linting, and type checks while shielding protected configuration files.