diagram
GAgarrytan/gstack136k近 7 天新增 883 个 star
Trigger when the user asks for an architecture diagram, says "draw the system", "update the architecture diagram", "give me an excalidraw of this codebase", or "/excalidraw-architecture". Generates or updates an Excalidraw JSON file at docs/architecture.excalidraw by reading the codebase's key entry points.
Produce an architecture diagram of the current project as an Excalidraw file (docs/architecture.excalidraw). The diagram shows services, entry points, data stores, and the edges between them — the kind of whiteboard sketch you'd draw in a design review.
Inspired by Bilgin Ibryam's Medium post on "Architecture diagrams as code with Claude Code + Excalidraw" — credit: @bibryam. This skill is a lightweight reimplementation for OpenClaw-style repos.
main.*, index.*, server.*, api/**/route.*, cmd/*/main.go, package.json "scripts" field, Dockerfile CMD.postgres, redis, convex, sqlite, s3, mongodb, prisma.src/, app/, lib/, agents/.
Read at most 3-5 key files to confirm how the pieces connect — don't try to read the whole repo.{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [ /* rectangle, arrow, text elements */ ],
"appState": { "viewBackgroundColor": "#ffffff", "gridSize": 20 },
"files": {}
}
Each element needs at minimum: id, type (rectangle / arrow / text / ellipse), x, y, width, height, angle: 0, strokeColor, backgroundColor, fillStyle, strokeWidth, roughness, opacity, seed, versionNonce, isDeleted: false, groupIds: [], boundElements, updated, link: null, locked: false. For text elements add text, fontSize, fontFamily, textAlign, verticalAlign. For arrows add points, startBinding, endBinding. Use integer pixel coordinates on a ~20px grid. Arrange nodes left-to-right by data flow.docs/architecture.excalidraw using the Write tool. If the directory doesn't exist, create it first with mkdir -p docs.open docs/architecture.excalidraw # macOS — opens in Excalidraw desktop app if installed
Or drag-drop into excalidraw.com.docs/architecture.excalidraw already exists, read it first. If the existing layout still fits, only add/move the nodes that changed. If the shape of the system has changed significantly, tell the user and regenerate from scratch.HTTP, gRPC, SQL, webhook).<repo name> — architecture (generated <date>)./excalidraw-architectureGAgarrytan/gstack136k近 7 天新增 883 个 star
NEnextlevelbuilder/ui-ux-pro-max-skill135k近 7 天新增 1,864 个 star
NEnextlevelbuilder/ui-ux-pro-max-skill135k近 7 天新增 1,864 个 star
NEnexu-io/open-design101k近 7 天新增 1,126 个 star
NEnexu-io/open-design101k近 7 天新增 1,126 个 star
THthedotmack/claude-mem100k近 7 天新增 3,024 个 star