mockup-sandbox

Run a Vite dev server to preview UI components in an iframe.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/YSheldon/Prompt-Log --skill mockup-sandbox-ysheldon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-sandbox
Source: https://github.com/YSheldon/Prompt-Log/tree/main/.local/skills/mockup-sandbox
Command: npx skills add https://github.com/YSheldon/Prompt-Log --skill mockup-sandbox-ysheldon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create and iterate on web UI content directly on a dedicated sandbox canvas, enabling isolated previews, deterministic rendering, and reliable component experimentation without affecting the main app. This skill encapsulates frontend prototyping with a dedicated Vite dev server and iframe-based previews, ensuring safe, repeatable environments for design exploration and component validation.

Core Features & Use Cases

  • Isolated frontend sandbox: Run a dedicated dev server to render and preview UI components in an iframe, independent from the main application.
  • Deterministic previews: Each component gets a stable preview URL and isolated context to ensure consistent visual results.
  • Design exploration orchestration: Supports multiple variants and subagent workflows for parallel design directions.
  • Companion workflows: integrates with mockup-extract for component extraction and mockup-graduate for integrating approved mockups into the main app.
  • Structured organization: Encourages a clear folder layout (artifacts/mockup-sandbox/src/components/mockups/...) for scalable mockups and reusability.

Quick Start

Start the mockup sandbox server, then begin by creating a new mockup component under artifacts/mockup-sandbox/src/components/mockups/.

Frequently Asked Questions about mockup-sandbox

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prototype UI components in an isolated sandbox without affecting my main app?

To prototype UI components in an isolated sandbox, you can use a dedicated Vite dev server that renders components in an iframe, ensuring deterministic previews and reliable experimentation without impacting your main application.

What is the best way to compare multiple design variants during frontend prototyping?

Comparing design variants during frontend prototyping is managed through subagent orchestration, which supports parallel design directions and isolated component previews for rapid iteration and visual validation.

How do I start building UI mockups using a Vite dev server and iframe embedding?

To start building UI mockups with a Vite dev server, launch the mockup sandbox server and create new mockup components under the artifacts/mockup-sandbox/src/components/mockups/ directory.

Can I test responsive states for web components in an isolated preview environment?

Yes, you can test responsive states for web components in an isolated preview environment. The sandbox provides stable preview URLs and an isolated iframe context to ensure consistent visual results.

How do I graduate an approved mockup from the sandbox into my main application?

To graduate an approved mockup into your main application, you use companion workflows like mockup-graduate, which transitions approved components from the isolated sandbox directly into the main app.

Do I need a specific folder layout to organize UI prototypes in the sandbox?

Yes, organizing UI prototypes in the sandbox requires a structured folder layout like artifacts/mockup-sandbox/src/components/mockups/, which encourages scalable mockups and component reusability.