depguard_review
Scan source files for common code issues before committing: console logs, empty catch blocks, broken imports, TODOs without issue references, empty test files, and orphan files. Fix findings to maintain code quality.
Instructions
Call this AFTER making significant code changes or before the user commits. Scans source files for issues you may have introduced: console.logs left in production code, empty catch blocks, broken imports, TODOs without issue references, empty test files, orphan files. Fix the findings before reporting your work as done.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | quick = per-file only (~500ms), full = cross-file analysis (~2-5s). Default: quick | |
| path | Yes | Absolute path to project root |