What problem does it solve?
Code quality audits often miss the real reasons problems exist, fail to distinguish out-of-scope issues, and silently ignore suppressions or BDD boundary mistakes—leaving future failures harder to diagnose.
Core Features & Use Cases
- Systematic structural inspection: Runs lint, type-check, and formatting drift checks to surface mechanical issues first.
- Mock boundary enforcement: Identifies when mocks patch internal/private details rather than true I/O boundaries.
- Test-only production API detection: Finds production symbols that appear to be used only by tests and recommends safer alternatives.
- Suppression pragma classification: Scans and categorizes suppression patterns into removable, external, or justified.
- BDD convention compliance audit: Verifies BDD-style docstrings, GIVEN/WHEN/THEN structure, test organization, and assertion quality.
Quick Start
Ask an agent to use code-quality-audit to audit the files your spec targets and generate a findings document with actionable alternatives for every issue it detects.