From supervibe
Use AFTER generating HTML/CSS/JS mockup files TO spawn a local http://localhost preview server with hot-reload, share URL with user, optionally capture Playwright screenshot. Triggers: 'покажи в браузере', 'дай ссылку', 'открой превью', 'хочу потыкать'.
npx claudepluginhub vtrka/supervibe --plugin supervibeThis skill is limited to using the following tools:
Spawn the Supervibe local hot-reload preview server for freshly generated mockup files, hand the URL to the user, and (optionally) capture a Playwright screenshot before tearing the server down. For design roots, the feedback overlay is mandatory. The feedback overlay is supplemental and not an approval gate; the surrounding command or skill must still ask its approve/revise/alternative/stop qu...
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Spawn the Supervibe local hot-reload preview server for freshly generated mockup files, hand the URL to the user, and (optionally) capture a Playwright screenshot before tearing the server down. For design roots, the feedback overlay is mandatory. The feedback overlay is supplemental and not an approval gate; the surrounding command or skill must still ask its approve/revise/alternative/stop question before any artifact is marked approved, exported, or handed off. The feedback path is IDE-neutral at the preview layer: browser comments are written to .supervibe/memory/feedback-queue.jsonl; hooks surface them automatically where supported, and other IDEs can poll with feedback-status.mjs --list.
Run this skill AFTER one of the following has produced concrete mockup files on disk:
supervibe:landing-page — finished a landing page draft.supervibe:prototype — finished a clickable prototype.supervibe:interaction-design-patterns — emitted an interaction demo.agents/_design/prototype-builder — produced HTML/CSS/JS scaffolds.Trigger phrases from the user: "show me what it would look like", "open it in the browser", "give me a link", "let me click around".
Do NOT invoke for: pure code review, schema/spec work, or anything without a renderable artifact.
Follow docs/references/skill-expert-operating-standard.md: start from source of truth, preserve retrieval evidence, apply scope safety, use real producers with runtime receipts for durable delegated outputs, verify before completion claims, and keep confidence below gate when evidence is partial.
*.html, index.html, or framework entry files).node "<resolved-supervibe-plugin-root>/scripts/preview-server.mjs" --list (or the project equivalent) and confirm there is no overlap with another running preview server / dev process. Two skills must not bind the same port.| Input shape | Server choice |
|---|---|
Single self-contained index.html | npx serve or python -m http.server + LiveReload shim |
| Multi-file static mockup (HTML+CSS+JS) | npx live-server (hot-reload built in) |
| Vite / Next.js / framework dev project | Start the framework dev server, then expose feedback through node "<resolved-supervibe-plugin-root>/scripts/preview-server.mjs" --target http://127.0.0.1:<dev-port> --label "<label>" --daemon |
| Static screenshots only (PNG/JPG) | Skip server — return file paths instead |
Always prefer the project's own dev script for building and HMR, but do not send the user to the raw framework URL when browser feedback is expected. Start the Supervibe proxy with --target and return the managed proxy URL; the proxy injects the Feedback button and keeps framework HMR tunneled to the target. Fall back to live-server for ad-hoc HTML only when no Supervibe preview server is available.
--list check).landing-v3, checkout-flow).node "<resolved-supervibe-plugin-root>/scripts/preview-server.mjs" --root <mockup-root> --label "<label>" --daemon; capture the PID. For framework dev servers, first run the app's dev command, then start node "<resolved-supervibe-plugin-root>/scripts/preview-server.mjs" --target http://127.0.0.1:<dev-port> --label "<label>" --daemon and return only the managed Supervibe proxy URL for feedback review. For prototype roots that import shared _design-system files, prefer root .supervibe/artifacts/prototypes with --label <slug> and return http://localhost:<port>/<slug>/. If a <slug> root is served, the static server maps /_design-system/* to the sibling folder so token imports still work. Design roots include .supervibe/artifacts/prototypes/<slug>, .supervibe/artifacts/mockups/<slug>, and .supervibe/artifacts/presentations/<slug>; never pass --no-feedback for them. Use --foreground only when the user explicitly asks to debug server output.http://localhost:<port>).supervibe-fb-toggle, the visible Feedback button is available, and any shared _design-system token URL returns HTTP 200 when relevant. If the host IDE does not support prompt hooks, also mention that pending comments can be read with node "<resolved-supervibe-plugin-root>/scripts/feedback-status.mjs" --list.
5a. If a prototype has variant-manifest.json, verify each variants/<variant-id>/index.html URL separately. Each URL must expose the Feedback button and bind the variant's unique feedbackTargetId; do not return only the root comparison URL for explicit multi-variant requests.Return to the user as Markdown:
**Preview ready**
- URL: http://localhost:<port>
- Label: <label>
- Root: <absolute path to served directory>
- Hot-reload: <yes|no>
- Feedback button: <visible | n/a for non-design root>
- PID: <pid>
- Screenshot: <absolute path or "none">
The Supervibe orchestrator consumes this block to populate emits-artifact: preview-url.
.., no absolute paths to $HOME).127.0.0.1 only — never 0.0.0.0 and never an externally routable interface..supervibe/artifacts/prototypes/, .supervibe/artifacts/mockups/, or .supervibe/artifacts/presentations/; missing Feedback button is a blocking preview setup bug.--daemon for design roots so the server runs silently in the background; foreground mode is debugging-only.After spawn, before reporting success, confirm:
curl -sS http://localhost:<port>/ | head -n 5 returns HTML (HTTP 200, <!doctype html> or <html present).EventSource / WebSocket injection (skip for framework proxy URLs that use the framework's own HMR channel through the proxy).supervibe-fb-toggle and the visible button text Feedback.curl -sS http://localhost:<port>/_design-system/tokens.css or the parent-root equivalent returns HTTP 200.variant-manifest.json exists, each variant URL returns HTML containing supervibe-fb-toggle and the variant-specific feedback target.node "<resolved-supervibe-plugin-root>/scripts/preview-server.mjs" --list now shows the preview-server entry with the same PID.If any check fails, kill the PID and surface the error — do not return a half-working URL.
supervibe:prototypesupervibe:landing-pagesupervibe:interaction-design-patternssupervibe:mcp-discoveryagents/_design/prototype-builderagents/_design/ux-ui-designer