Run a full architectural analysis including dependencies, architecture, and component deep-dives. Generate comprehensive reports with MANIFEST index.
Generates comprehensive architectural analysis reports covering dependencies, architecture, and component deep-dives.
/plugin marketplace add devfullcycle/claude-mkt-place/plugin install project-analizer@fullcycle-claude-marketplaceYou MUST coordinate a multi-phase workflow invoking specialized agents and managing state via MANIFEST.md.
Extract the following parameters from command arguments:
Create the base folder structure:
{output-folder}/
├── dependency-auditor/
├── architectural-analyzer/
├── component-deep-analyzer/
└── MANIFEST.md
Create MANIFEST.md using the Write tool with initial state:
# MANIFEST - [PROJECT_NAME]
Generated on: {YYYY-MM-DD HH:MM:SS}
## Parameters
- Project folder: [PROJECT_FOLDER]
- Output folder: [OUTPUT_FOLDER]
- Ignore folders: [IGNORE_FOLDERS]
## Execution Status: IN_PROGRESS
## Reports
### dependency-auditor
- Status: PENDING
- Started: -
- Completed: -
- Output: -
### architectural-analyzer
- Status: PENDING
- Started: -
- Completed: -
- Output: -
- Components Found: -
### Components (to be populated after architectural analysis)
Replace [PROJECT_NAME] with the project name detected from folder or user input. Replace [PROJECT_FOLDER], [OUTPUT_FOLDER], [IGNORE_FOLDERS] with actual values or defaults.
Invoke both agents in parallel using the Task tool:
For dependency-auditor:
Pass the following prompt to the agent:
"Execute dependency audit with the following parameters:
Project scope: [PROJECT_SCOPE] Output location: [OUTPUT_FOLDER]/dependency-auditor Folders to ignore: [IGNORE_FOLDERS]
Execute your complete workflow following all internal guidelines.
CRITICAL REMINDERS:
REPORT must include:
For architectural-analyzer:
Pass the following prompt to the agent:
"Execute architectural analysis with the following parameters:
Project scope: [PROJECT_SCOPE] Output location: [OUTPUT_FOLDER]/architectural-analyzer Folders to ignore: [IGNORE_FOLDERS]
Execute your complete workflow following all internal guidelines.
CRITICAL REMINDERS:
REPORT must include:
After both agents complete:
Update MANIFEST.md using the Edit tool:
Read the architectural report to extract the complete list of components from the Critical Components Analysis section.
For EACH component identified, invoke the component-deep-analyzer agent IN PARALLEL:
Pass the following prompt to each agent:
"Execute component deep analysis with the following parameters:
Component name: [COMPONENT_NAME] Project scope: [PROJECT_SCOPE] Output location: [OUTPUT_FOLDER]/component-deep-analyzer Folders to ignore: [IGNORE_FOLDERS]
Execute your complete workflow following all internal guidelines.
CRITICAL REMINDERS:
REPORT must include:
Replace [COMPONENT_NAME] with the actual component name for each invocation.
After each component agent completes:
Update MANIFEST.md using the Edit tool:
Handling Failures:
If any component analysis fails or times out:
Read MANIFEST.md to verify all tasks are COMPLETED.
Use Bash tool to verify all report files exist at the specified paths:
ls [OUTPUT_FOLDER]/dependency-auditor/*.md
ls [OUTPUT_FOLDER]/architectural-analyzer/*.md
ls [OUTPUT_FOLDER]/component-deep-analyzer/*.md
Update MANIFEST.md with final status:
Create a comprehensive project overview report by reading all generated reports.
Use the Write tool to create: [OUTPUT_FOLDER]/PROJECT-OVERVIEW-{YYYY-MM-DD HH:MM:SS}.md
Template:
# [PROJECT_NAME] - Project Overview
**Generated on**: {YYYY-MM-DD HH:MM:SS}
## Summary
[Brief 2-3 paragraph summary synthesizing key findings from all reports]
## Architecture Overview
[High-level architectural summary from architectural-analyzer report]
## Dependencies Health
[Summary of dependency status from dependency-auditor report - critical issues only]
## Components Analyzed
[List each component with 1-2 sentence summary of its purpose and key findings]
## Critical Findings
### Security Risks
[Aggregated security concerns from all reports]
### Technical Debt
[Aggregated technical debt items from all reports]
### Single Points of Failure
[Critical dependencies and architectural bottlenecks]
## Reports Index
See [MANIFEST.md](./MANIFEST.md) for complete list of all generated reports.
IMPORTANT:
Create the final README index file.
Use the Write tool to create: [OUTPUT_FOLDER]/README-{YYYY-MM-DD HH:MM:SS}.md
Template:
# [PROJECT_NAME] - Architectural Analysis Reports
**Generated on**: {YYYY-MM-DD HH:MM:SS}
## Quick Links
- [Project Overview](./PROJECT-OVERVIEW-{YYYY-MM-DD HH:MM:SS}.md) - Executive summary of all findings
- [MANIFEST](./MANIFEST.md) - Complete registry of all reports
---
## Architecture and Dependencies
- [Project Architecture](./architectural-analyzer/architectural-report-{YYYY-MM-DD HH:MM:SS}.md)
- [Dependencies Report](./dependency-auditor/dependencies-report-{YYYY-MM-DD HH:MM:SS}.md)
## Component Analysis
[For each component, create a link:]
- [ComponentName](./component-deep-analyzer/component-analysis-ComponentName-{YYYY-MM-DD HH:MM:SS}.md)
---
## Workflow Execution
Analysis completed in [X] phases:
1. Dependency and Architecture Analysis (parallel)
2. Component Deep-Dive Analysis (parallel for [N] components)
3. Report Synthesis and Documentation
Total reports generated: [N]
Replace all placeholders with actual values from MANIFEST.md and generated reports.
Validate all links point to existing files using the Read tool.
Throughout the workflow, maintain MANIFEST.md as the single source of truth:
If the workflow is interrupted:
If a specific agent fails:
Before invoking agents, replace these placeholders:
project-folder parameter or "entire project root"output-folder parameter or "/docs/agents"ignore-folders parameter or "none"# Analyze entire project with default output location
/generate-architectural-report
# Analyze specific folder
/generate-architectural-report --project-folder=src
# Custom output location
/generate-architectural-report --output-folder=reports/analysis
# Exclude folders from analysis
/generate-architectural-report --ignore-folders=node_modules,dist,test
# Combined usage
/generate-architectural-report --project-folder=src --output-folder=docs/reports --ignore-folders=node_modules,.git,dist