Generates and validates Mermaid architecture, dependency, flow, and entity-relationship diagrams directly from your source code.
Diagram Expert is a specialized Claude Code skill designed to visualize complex codebases by automatically generating accurate Mermaid diagrams. It meticulously analyzes directory structures, tech stacks, and import relationships to create high-level architecture maps, module dependency graphs, function logic flows, and ER diagrams. Unlike basic generators, it includes a mandatory validation loop using the Mermaid CLI to ensure every diagram is syntactically correct and exported as a production-ready SVG file, making it ideal for READMEs, documentation, and pull request reviews.
주요 기능
01Automatic codebase analysis for architecture and dependency mapping
02Syntax validation loop to ensure error-free Mermaid output
03Smart abstraction to group files into logical modules and layers
04Support for multiple diagram types: Architecture, Flow, ER, and Dependencies
05Generation of validated SVGs using the Mermaid CLI (mmdc)
061 GitHub stars
사용 사례
01Onboarding new developers by generating high-level system architecture maps
02Visualizing complex database schemas and relationships for better data modeling
03Documenting legacy code logic through automatically generated flow charts