From development-codebase-tools
Generates Excalidraw JSON architecture diagrams from codebase analysis, including components, data flows, and groupings. Activates on diagram or visualization requests.
npx claudepluginhub uniswap/ai-toolkit --plugin development-codebase-toolsThis skill is limited to using the following tools:
Generate valid `.excalidraw` JSON files representing system architecture from codebase analysis.
Guides strict Test-Driven Development (TDD): write failing tests first for features, bugfixes, refactors before any production code. Enforces red-green-refactor cycle.
Guides systematic root cause investigation for bugs, test failures, unexpected behavior, performance issues, and build failures before proposing fixes.
Guides A/B test setup with mandatory gates for hypothesis validation, metrics definition, sample size calculation, and execution readiness checks.
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: