groundboard
Turn a question about a codebase into an editable Excalidraw board whose every claim cites
the file:line it rests on, with the quoted text checked against the file.
You ask "why can a checkout be declined after the card was authorized?". An LLM (your
Claude Code session, or any MCP client) reads the code and writes a board IR: nodes,
edges, groups and quoted sources. groundboard validates the IR, checks every quote against
the cited lines, lays the graph out with elkjs and renders
an .excalidraw scene: a flow or state diagram, causes, rejected options, decisions and open
questions, each labelled with its citations.
groundboard itself never calls an LLM and needs no API key. Nothing leaves your machine
unless you run the server.
To try the viewer without installing anything, open the editor at
https://groundboard.ohnice.app/editor/: it shows an example shop app, and boards you open there
stay in your browser.
To run it from a clone instead of the published package, see Run from source.
Use it from Claude Code
/plugin marketplace add lamngockhuong/groundboard
/plugin install groundboard@groundboard
Then ask, in any repository:
/groundboard:board why does a packed order need a restock before a refund?
The skill reads the code, writes .groundboard/<slug>.board.json, renders
.groundboard/<slug>.excalidraw with the source check on, and reports the answer with its
key citations. Open the .excalidraw file on excalidraw.com, in the
VS Code Excalidraw extension, or with npx groundboard serve. Commit the *.board.json files
so the whole team can open them (see Screen atlas); the .excalidraw files
can be generated again, so committing them is the team's choice.
The plugin starts its MCP server with npx -y groundboard@<pinned version> mcp, so the first
start downloads the package (about 5 s on a cold npm cache) and needs network access.
Screen atlas
A screen atlas maps every screen of a web or mobile app: a wireframe of each screen whose
elements are tied to the handler that runs and the line that navigates, linked to the flow
boards that pass through them. Someone new clicks the "Pay" button and sees the screen that
holds it, the flows through it and the code behind it.
Build it from Claude Code with the plugin:
/groundboard:atlas web # .groundboard/overview-web.board.json
/groundboard:screen web:checkout <figma-url> # .groundboard/web--checkout.board.json
/groundboard:screen mobile:cart ~/shots/cart.png
/groundboard:api orders # .groundboard/api--orders.board.json
/groundboard:db # .groundboard/overview-db.board.json
/groundboard:batch # .groundboard/overview-batch.board.json
/groundboard:atlas reads the router and draws every screen and every navigation call.
/groundboard:screen draws one screen from a Figma frame, a client mockup, screenshots, or the code,
and cites each control's handler or marks it unresolved with who must answer. Screens are named
by refs such as web:checkout and web:checkout/pay-button; a flow board that sets ref on a
node links to them.