analyze_single_file
Analyze code structure, quality, and patterns in individual files to identify issues and provide actionable recommendations for improvement.
Instructions
Analyze code structure, quality, patterns, and provide actionable recommendations for individual files or entire projects
WORKFLOW: Perfect for understanding complex code, identifying issues, and technical debt assessment TIP: Use Desktop Commander to read files, then pass content here for analysis SAVES: Claude context for strategic decisions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
analysisDepth | No | Level of analysis detail | detailed |
analysisType | No | Type of analysis to perform | comprehensive |
code | No | The code to analyze (for single-file analysis) | |
context | No | Optional context for framework-specific analysis | |
filePath | No | Path to single file to analyze | |
files | No | Array of specific file paths (for multi-file analysis) | |
language | No | Programming language | javascript |
maxDepth | No | Maximum directory depth for multi-file discovery (1-5) | |
projectPath | No | Path to project root (for multi-file analysis) |