analyze_architecture
Analyze project architecture to understand structure, modules, dependencies, and complexity. Identify potential issues and get recommendations for improvement before making changes.
Instructions
RECOMMENDED: Analyze and understand the current project architecture.
This tool provides flexible project lookup. You can specify any combination of identifiers, and it will resolve to the matching project.
Priority: project_id > workspace_path > project_name
WHEN TO USE:
At the start of work on an existing project to understand the architecture
Before making significant architectural changes
To identify potential improvements or issues in the codebase
When onboarding to a new codebase
To get an overview of modules, dependencies, and complexity
THIS PROVIDES:
Overview of project structure and modules
Dependency analysis
Complexity metrics
Potential architectural issues
Recommendations for improvement
RECOMMENDED: Call this early when working on an existing project to understand the architectural landscape before making changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | No | Project ID from create_project() (optional if project_name or workspace_path provided) | |
| project_name | No | Project name to look up (alternative to project_id) | |
| workspace_path | No | Workspace directory path (alternative to project_id) |