MANUALLY DRAGGING BOXES FOR ARCHITECTURE DIAGRAMS IS FINALLY DEAD
There is a new open-source agent skill that turns raw codebases into cleanly routed draw.io diagrams without you placing a single coordinate.
The project, drawio-skill, runs directly inside Claude Code, Cursor, or Copilot.
Instead of opening a blank canvas, you just ask your agent to map the repo.
Here is what it actually does:
→ Extracts the module structure (supports Python, JS/TS, Go, Rust)
→ Uses Graphviz for auto-layout and routing
→ Drops redundant edges so the graph stays readable
→ Builds native, editable draw.io files
But the standout feature is visual self-checking.
Once it generates the diagram, the agent "looks" at the resulting PNG. If it sees stacked edges or clipped text, it auto-fixes the layout across up to 5 iterative rounds.
It runs from a single file. No MCP server. No background daemon.
Best part?
It's 100% free and open-source.
repo link in 🧵↓