From development-codebase-tools
Generates Excalidraw JSON architecture diagrams from codebase analysis, including components, data flows, and groupings. Activates on diagram or visualization requests.
How this skill is triggered — by the user, by Claude, or both
Slash command
/development-codebase-tools:diagram-excalidrawopusThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate valid `.excalidraw` JSON files representing system architecture from codebase analysis.
Generate valid .excalidraw JSON files representing system architecture from codebase analysis.
Works without existing diagrams, Terraform, or specific file types. Analyzes any codebase structure.
Four non-negotiable constraints:
No Diamond Shapes: Diamond arrow connections are broken in raw Excalidraw JSON. Use styled rectangles instead:
Label Architecture: The label property does NOT work in raw JSON. Every labeled element requires:
boundElements referencing the text elementcontainerId pointing to the shapeArrow Formatting: Multi-point arrows need:
"elbowed": true"roundness": null"roughness": 0Edge Positioning: Arrows must start/end at shape edges, not centers:
(x + width/2, y)(x + width/2, y + height)(x, y + height/2)(x + width, y + height/2)Extract from user's request:
scope: What part of codebase to diagram (full, specific module, etc.)type: Type of diagram (architecture, data flow, deployment, etc.)depth: Level of detail (high-level overview vs detailed)output: Output file path (defaults to ./architecture.excalidraw)Generate a valid .excalidraw JSON file with:
Before writing output, verify:
For detailed implementation guidance, see:
npx claudepluginhub uniswap/ai-toolkit --plugin development-codebase-toolsGenerates architecture diagrams as .excalidraw files from codebase analysis, with optional PNG/SVG export. Useful for visualizing system structure and relationships.
Generates .excalidraw architecture diagrams from codebase analysis, identifying components, services, databases, and data flows, with optional PNG/SVG export via Playwright.
Creates and edits Excalidraw and Obsidian Excalidraw diagrams for architecture, flow, sequence, swimlane, ERD, state, matrix, hierarchy, wireframe, and CI/CD drawings with style preservation and validation.