analyze_codebase
Scan codebases to generate architecture diagrams by detecting services, dependencies, and connections from configuration files and code analysis.
Instructions
Scan a local codebase directory and automatically generate an architecture diagram. Detects services from package.json, docker-compose, pom.xml, go.mod, and Python configs. Infers connections from dependencies, imports, env vars, and docker-compose depends_on. Detects databases, queues, external services, and API gateways automatically. After analysis, creates the architecture and returns the URL. Also runs lint rules and reports quality issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the codebase root directory to scan | |
| name | No | Architecture name. If omitted, inferred from directory name. | |
| description | No | Brief description of the system |