mockup-extract

Extract UI components into a mockup sandbox with a /preview route.

2|2|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project --skill mockup-extract-tamnguyentommy-rgb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-extract
Source: https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project/tree/main/.local/skills/mockup-extract
Command: npx skills add https://github.com/tamnguyentommy-rgb/Routex_AI_Web_Project --skill mockup-extract-tamnguyentommy-rgb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pulls an existing UI component from the main app into a mockup sandbox so it can be previewed in isolation for design iteration and variant creation.

Core Features & Use Cases

  • Extracts an existing component into the mockup sandbox for isolated preview and design refinements.
  • Rewrites imports and stubs external dependencies to avoid touching the main app code, enabling safe iteration.
  • Embeds the result as an iframe on the canvas to compare variants and iterate quickly with visual fidelity.

Quick Start

Extract the component into the mockup sandbox and open its preview to begin design iteration.

Frequently Asked Questions about mockup-extract

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

FAQPage Schema
How do I preview a UI component in isolation without affecting the main app?

To preview a UI component in isolation, extract it into a mockup sandbox with a /preview route. This copies the component out and rewrites imports so you can iterate on design without touching live app code.

Can I create design variants for an existing component without modifying the codebase?

Yes, you can create design variants by pulling the existing component into a mockup sandbox. It rewrites imports and stubs external dependencies, enabling safe visual iteration without modifying the live codebase.

What is a mockup sandbox used for in UI component design?

A mockup sandbox is used for isolated preview and design iteration of existing UI components. It allows you to safely refine designs and compare variants visually by embedding the output as an iframe.

Does UI extraction work with components that have external dependencies?

Yes, UI extraction works with external dependencies by stubbing them out during the extraction process. This prevents external calls from breaking the isolated preview while keeping the main app code untouched.

What's the best way to compare visual designs of a component side by side?

The best way to compare visual designs is to extract the component into a mockup sandbox and embed the output as an iframe on the canvas. This provides live visual fidelity for quick comparison of variants.