/groundboard:publish [--no-references]from groundboard
Publish the screen atlas of the current repository (.groundboard/*.board.json) as a private Claude Artifact that people who do not read code can open in a browser, by running `groundboard export` and posting the static result; a second run updates the same link. Asks before anything leaves the machine. Use when someone wants to share the atlas with a PM, BA, QA or client, e.g. "publish the atlas", "share the screen atlas as an artifact", "update the published atlas", "/groundboard:publish".
Ships in groundboard. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
groundboard export writes the atlas as a static site: the viewer, data/atlas.json and one
data/boards/<slug>.json per board, rendered exactly as serve --atlas renders them, with the
time and commit the sources were checked at. You post that folder as one Artifact and keep its
URL in .groundboard/publish.json, so the next run updates the same link instead of making a
new one.
The page is a snapshot. It shows when it was checked; it does not follow the code.
Publishing sends the atlas to claude.ai: every quoted code excerpt, every cited file path, the
board titles, and each board file in full as written (source, so readers can download the
boards as a zip), which includes every node's text, and each layout overlay
(.groundboard/*.overlay.json) with every note a person drew on a board in the viewer. Say so, and say that the Artifact starts private: nobody else sees it until
the user shares it from its Share menu. Ask the user to confirm. If they decline, stop here:
run nothing and write nothing.
If .groundboard/.cache/figma/ holds any file, the boards also carry the cached Figma design
images. Ask separately whether to send them. Leave them out (--no-references) when the user
says no or passed --no-references.
Pick a new, empty directory in your scratchpad directory (or the system temp directory when
there is none), for example <scratchpad>/groundboard-export-<YYYYMMDD-HHMMSS>. Never point
--out inside .groundboard/.
Check whether any board has Chinese, Japanese or Korean text: Grep
.groundboard/*.board.json for \p{Han}|\p{Hiragana}|\p{Katakana}|\p{Hangul}. When none does,
add --skip-cjk-fonts; it leaves out about half the files.
npx groundboard export --out <dir> [--skip-cjk-fonts] [--no-references]
Add --root or --atlas-dir only when the atlas is not .groundboard/ of the current
directory. Exit code 2 is a bad argument (fix it and run again), 1 an I/O error (report it and
stop). Read what the command prints:
--skip-cjk-fonts, --no-references, or another static host for the folder.An Artifact wraps its page in <html>, <head> and <body> itself. Read <dir>/index.html
and write <dir>/artifact.html holding only, in this order:
<title> element;<meta name="groundboard:mode" content="static" /> (the viewer finds it anywhere in the
page; without it the viewer looks for a server and shows nothing);<link> and <script> elements, unchanged, relative paths included;<div id="root"></div>.Read .groundboard/publish.json if it exists: { "url": "...", "publishedAt": "..." }.
file_path <dir>/artifact.html, root <dir>,
icon map, a one-sentence description naming the app, and files listing every path
in <dir>/manifest.txt (one path per line, relative to <dir>) except index.html. Read
the manifest rather than listing the folder: a file search may cut a long list short. The
manifest has one line fewer than the file count export printed (it does not list itself);
if the numbers do not match, stop and report it.action: "read" with its url), then
list its published files (scope: "files"). Publish the same way with that url, and add
every published path that is no longer in the export (a board removed since) to files as
null, so the old board does not linger.At most 250 entries go in files per publish. When there are more, send the page with the
first 250, then publish the rest to the same url in further calls of at most 250 each,
file_path again <dir>/artifact.html so the page stays the same.
If a publish fails, stop and report what failed; do not retry the same call unchanged.
Write .groundboard/publish.json:
{
"url": "<the Artifact URL>",
"publishedAt": "<now, ISO 8601 UTC>"
}
Keep this layout, two-space indent and a final newline, so a formatter run over the repository leaves the file as it is.
Tell the user to commit it, so that whoever publishes next updates the same link. It is not a
board: atlas check and export ignore it.
export printed), and
whether the working tree had uncommitted changes;#<board-name> (letters, digits and dashes) opens that board.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub lamngockhuong/groundboard --plugin groundboard7 skills in this plugin
/apiMap the HTTP API of the current repository as source-grounded boards in the screen atlas (.groundboard/api--<resource>.board.json), one card per resource with one row per endpoint, each endpoint citing the route declaration or handler it rests on, or, before the code exists, the OpenAPI file or the specification; and link the screens' controls to the endpoints they call. Use when someone wants the API endpoints, the routes of the backend, or which button calls which endpoint, e.g. "map the API", "which endpoints does the orders resource have", "what does the Pay button call", "/groundboard:api orders"./atlasMap every screen of the current web or mobile app and the navigation between them as a source-grounded overview board in the screen atlas (.groundboard/overview-<platform>.board.json), each screen and each navigation citing the router and navigate lines it rests on, or, before the code exists, the requirements, Figma prototype or mockups; and later add the code to that same overview without losing an id or a ref. Use when someone wants a screen map, a list of all screens or routes, or the navigation graph of this app or of the product being specified, e.g. "map the screens of the web app", "which screens does the mobile app have", "map the screens from the requirements", "/groundboard:atlas mobile"./batchMap every background job of the current repository (cron schedules, queue workers, event handlers) as a source-grounded board in the screen atlas (.groundboard/overview-batch.board.json), each job showing what starts it, its retries, the tables it reads and writes and what enqueues it, every one citing the line that declares it. Use when someone wants the jobs, workers, schedules or queues of the app, or what happens after a request returns, e.g. "map the background jobs", "what runs every night", "what does placing an order enqueue", "/groundboard:batch"./boardAnswer a question about the current repository with an editable Excalidraw board (flow, state machine, cause tree or decision record) whose every claim cites the file and lines it rests on, checked against the files before rendering. Before the code exists, the same board can be drawn from the requirement documents, each step citing the requirement, and later updated with the code. Use when someone asks why or how something in this codebase works, or how a specified flow should work, and wants a diagram, a board, or a visual explanation grounded in the code or the requirements, e.g. "why does this state change force a role switch?", "draw how a request reaches the database", "board the checkout flow", "board the signup flow from the requirements"./dbMap the database schema of the current repository as a source-grounded ERD in the screen atlas (.groundboard/overview-db.board.json), one card per table with one row per column, foreign keys as edges, each table citing the migration, schema file or model it rests on; never connecting to a database. Then link the endpoints and flows to the tables they read and write. Use when someone wants the tables, an ERD, the schema, or which endpoint writes which table, e.g. "draw the database", "which tables does the shop have", "what does POST /orders write", "/groundboard:db"./screenDraw one screen of the current app as a low-fidelity wireframe board in the screen atlas (.groundboard/<platform>--<screen>.board.json), every interactive element tied to the handler that runs and every navigation to the line that navigates, laid out from a Figma frame, a client mockup, a screenshot or the code. Before the code exists, each control's behaviour comes from the requirements or the Figma prototype; later the same board is updated with the handlers without losing an id or a ref. Use when someone wants to see what is on a screen and what each control does, e.g. "draw the checkout screen", "map this screenshot to the code", "draw the signup screen from the mockup", "/groundboard:screen web:checkout https://www.figma.com/design/...".