Skip to content

Architecture diagrams

Install

npx @keenskills/drawing-architecture-diagrams init            # this project, for the agents it uses
npx @keenskills/drawing-architecture-diagrams init --global   # Claude Code, every project
npx @keenskills/drawing-architecture-diagrams doctor          # check Python and draw.io

init finds the agents a project uses (Claude Code, AGENTS.md, Gemini CLI, Cursor, Windsurf, Cline, GitHub Copilot) and installs the skill in each one's format; --agent claude,cursor picks them, --dry-run shows the plan. Claude Code gets the whole skill folder in .claude/skills/drawing-architecture-diagrams/; the others get the text, and the scripts go in .agents/skills/drawing-architecture-diagrams/. uninstall removes only what init wrote.

As a Claude Code plugin:

/plugin marketplace add keenskills/skills
/plugin install drawing-architecture-diagrams@keenskills

Requirements: Python 3.9+ and draw.io desktop (only for PNG/PDF export; set DRAWIO=<path> if it is not in a standard location). A copied example finds the scripts by itself; for a plugin install set ARCHDIAGRAM_DIR to the skill's scripts folder.