From sundial-org-awesome-openclaw-skills-4
Generates Mermaid diagrams (flowcharts, class, sequence, ER) from code for architecture visualization. Keeps docs current.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sundial-org-awesome-openclaw-skills-4:diagram-genThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Architecture diagrams are always out of date because nobody maintains them. This tool reads your code and generates accurate Mermaid diagrams automatically.
Architecture diagrams are always out of date because nobody maintains them. This tool reads your code and generates accurate Mermaid diagrams automatically.
One command. Zero config. Just works.
npx ai-diagram ./src/
# Generate flowchart
npx ai-diagram ./src/
# Class diagram
npx ai-diagram ./src/ --type class -o architecture.mmd
# Sequence diagram of function calls
npx ai-diagram ./src/ --type sequence
# Entity relationship diagram
npx ai-diagram ./src/ --type er
This is one of 110+ free developer tools built by LXGIC Studios. No paywalls, no sign-ups, no API keys on free tiers. Just tools that work.
Find more:
No install needed. Just run with npx. Node.js 18+ recommended. Needs OPENAI_API_KEY environment variable.
npx ai-diagram --help
Reads your source files to understand the structure, relationships, and data flow. Then generates Mermaid syntax that renders as diagrams in markdown editors, GitHub, and documentation tools.
MIT. Free forever. Use it however you want.
npx claudepluginhub joshuarweaver/cascade-ai-ml-agents-misc-2 --plugin sundial-org-awesome-openclaw-skills-4Scans codebases to auto-generate Mermaid diagrams like ER for DB schemas/models, sequence for API routes, architecture for services, and state diagrams from file structure.
Scans a codebase path to auto-generate 2-4 relevant D2 diagrams like ER for DB schemas, sequences for API routes, architecture for services, and class diagrams.
Generates Mermaid diagrams from codebase analysis for database schemas, APIs, components, and architecture. Activated by 'draw', 'diagram', 'visualize', or 'architecture'.