analyze_code
Analyzes codebases for quality issues by applying industry best practices and linting rules. Identify dead code, structural problems, performance bottlenecks, and naming inconsistencies.
Instructions
Performs an enterprise-grade code quality audit (linting). Analyzes tech stack, conventions, and applies industry best practices.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dirPath | Yes | The absolute path to the local directory to audit. | |
| filePatterns | No | Optional. Glob patterns for files to audit. | |
| focusAreas | No | Optional. 'dead_code', 'structure', 'performance', 'naming', 'all'. | |
| includePath | No | Optional. Glob patterns to include. | |
| excludePath | No | Optional. Glob patterns to exclude. |