Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates architecture diagrams, flowcharts, and org charts from Python, JS/TS, Go, and Java source via AST import analysis.
21% 88%+67 ptsof test cases passed
Passed 21 of 24 test cases with the skill, and 5 of 24 without it.
3 of 3 safety checks passed
Not used yet
Extract import and dependency relationships from a codebase via AST parsing, and automatically generate three types of diagrams:
Supported languages: Python, JavaScript, TypeScript, Go, Java
Output formats: Mermaid text (.mmd) or SVG images (requires mmdc installed on the system)
python3 scripts/analyze_codebase.py /path/to/project
Outputs three Mermaid diagrams to stdout and writes .mmd files to the current directory.
# Architecture diagram only
python3 scripts/analyze_codebase.py /path/to/project --type architecture
# Flowchart only
python3 scripts/analyze_codebase.py /path/to/project --type flowchart
# Org chart only
python3 scripts/analyze_codebase.py /path/to/project --type org
# Output to a specific directory
python3 scripts/analyze_codebase.py /path/to/project --output /tmp/diagrams
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.