scan_directory
Scan directories to detect AI-generated code quality issues like hallucinated imports, phantom packages, stale APIs, and security anti-patterns across multiple programming languages.
Instructions
Scan a directory for AI-generated code quality issues. Detects hallucinated imports, phantom packages, stale APIs, security anti-patterns, and more. Supports TypeScript, JavaScript, Python, Java, Go, and Kotlin.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory path to scan | |
| level | No | SLA level: L1 (fast structural), L2 (standard + local AI), L3 (deep + remote AI) | L1 |
| languages | No | Comma-separated languages (e.g. 'typescript,python'). Auto-detect if omitted. |