ワンクリックで
wireframe-gallery
Preview multiple disposable low-fidelity HTML prototypes side-by-side in a local sandboxed gallery.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Preview multiple disposable low-fidelity HTML prototypes side-by-side in a local sandboxed gallery.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | wireframe-gallery |
| description | Preview multiple disposable low-fidelity HTML prototypes side-by-side in a local sandboxed gallery. |
| license | MIT |
| compatibility | opencode |
| metadata | {"audience":"designer-agents","runtime":"bun-typescript"} |
Use this skill when you create multiple prototype directions and need the user to compare them visually before choosing one.
Generated prototype HTML is disposable. Persist design decisions in .wireframe-gallery/design-context.md, not in generated prototype files.
checkout-prototype, settings-mockup, or dashboard-redesign-mockup..wireframe-gallery/design-context.md if it exists, and use it as shared design memory..wireframe-gallery/sessions/<session>/server.json, then read it to find the sandbox path, preview URL, shutdown URL, and refresh URL..html file in the sandbox directory.01.html, 02.html, 03.html..wireframe-gallery/design-context.md with answered questions, design constraints, selected direction, rejected directions, and next-step notes.The server clears only .wireframe-gallery/sessions/<session> every time that session starts. It must not delete .wireframe-gallery/design-context.md, .wireframe-gallery/registry.json, or other sessions.
.wireframe-gallery/design-context.md is shared memory for all design agents in the same workspace.
Use it for:
Do not use it for generated HTML. Generated prototype files belong inside the session sandbox from server.json.
Session names must be human-readable slugs:
checkout-prototype, settings-mockup, dashboard-redesign-mockup.test, session-123, abc, mockup-final-final.Use this skill as the source of truth for preview server lifecycle and sandbox paths.
.wireframe-gallery/design-context.md if it exists.--session slug..wireframe-gallery/sessions/<session>/server.json.sandbox path from server.json.refreshUrl after writing prototypes or making iterations.previewUrl, shutdownUrl, and the option mapping with the user..wireframe-gallery/design-context.md after design decisions are made.shutdownUrl when the preview is no longer needed.Run the bundled server with:
bun run ~/.config/opencode/skills/wireframe-gallery/bin/server.ts --session checkout-prototype --cleanup
The session checkout-prototype creates and serves .wireframe-gallery/sessions/checkout-prototype/prototypes in the current working directory.
When using it from an agent workflow, start it in the background so you can keep working:
nohup bun run ~/.config/opencode/skills/wireframe-gallery/bin/server.ts --session checkout-prototype --cleanup > /dev/null 2>&1 &
Then wait for and read .wireframe-gallery/sessions/checkout-prototype/server.json. It contains previewUrl, shutdownUrl, refreshUrl, sandbox, root, session, sessionRoot, designContext, registry, pid, expiresAt, and the current option mapping.
For local repo development, run it from this repository with:
bun run dotfiles/opencode/skills/wireframe-gallery/bin/server.ts --session checkout-prototype --cleanup
The server:
127.0.0.1 only..wireframe-gallery, .wireframe-gallery/design-context.md, and .wireframe-gallery/registry.json inside the current working directory..wireframe-gallery/sessions/<session>..wireframe-gallery/sessions/<session> on startup before creating that session sandbox..wireframe-gallery/sessions.Option 1, Option 2, etc labels..wireframe-gallery/sessions/<session>/server.json with all server control URLs and paths..wireframe-gallery/registry.json with active session metadata.You MUST close the server when it is not needed anymore.
Prefer the printed shutdown URL because it triggers cleanup when --cleanup is set. If that fails, kill the printed PID.
Do not leave preview servers running just because the 5-minute fallback exists. The fallback is only a safety net.
When the user asks for changes while the gallery is still running, do not restart the server. Update the .html files in the sandbox and call the refresh URL from .wireframe-gallery/sessions/<session>/server.json.
The sandbox is the source of truth for displayed options. The gallery option count equals the current .html files in the sandbox. If the intended option count changes, add or remove .html files so the sandbox exactly matches the intended set.
curl -fsS "<refreshUrl>"
The gallery countdown updates automatically after the deadline is refreshed.
Refreshing the deadline does not currently reload prototype iframe content or add newly created option cards in the already-open browser tab. After changing prototype files, tell the user to refresh the preview page if they do not see the update.
The gallery itself is intentionally dark, monochrome, flat, squared, and uses the Iosevka monospace font when installed.
The skill does not decide prototype fidelity. The calling agent owns whether the files are low-fidelity prototypes or high-fidelity mockups.
After you start the server, tell the user:
Also include this manual debugging command with the real session slug:
bun run ~/.config/opencode/skills/wireframe-gallery/bin/server.ts --session checkout-prototype --cleanup