mockup-extract

Extract existing app components into a mockup sandbox as iframes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sureshkushwaha123/Asset_Manager --skill mockup-extract-sureshkushwaha123
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: mockup-extract
Source: https://github.com/sureshkushwaha123/Asset_Manager/tree/main/.local/skills/mockup-extract
Command: npx skills add https://github.com/sureshkushwaha123/Asset_Manager --skill mockup-extract-sureshkushwaha123

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you pull an existing UI component from your main application into a dedicated mockup sandbox so you can redesign, compare variants, or display it as a visual reference without rebuilding from scratch.

Core Features & Use Cases

  • Pull an existing component from the main app into the mockup sandbox for isolated preview and iteration.
  • Ensure you use the real source code and its dependencies, not hand-crafted approximations.
  • Rewrite imports, stub external dependencies, and embed the result as an iframe on the canvas for accurate fidelity.
  • Implicit activation when redesign or variant creation is requested for code-backed UI.

Quick Start

Extract the target component into the mockup sandbox and preview it on the canvas.

Frequently Asked Questions about mockup-extract

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

FAQPage Schema
How do I extract an existing UI component into a mockup sandbox for isolated preview?▼

To extract an existing UI component for isolated preview, pull it from your main app into a mockup sandbox. The skill uses the real source code, rewrites imports, stubs external dependencies, and embeds the result as an iframe on the canvas.

What's the best way to redesign code-backed UI without rebuilding it from scratch?▼

The best way to redesign code-backed UI without rebuilding is extracting the component into a mockup sandbox. This skill uses your real source code as the starting point, stubs external dependencies, and embeds the result as an iframe for accurate visual iteration.

How does iframe embedding work when pulling a component into a mockup sandbox?▼

Iframe embedding works by taking the real source code of a pulled component, rewriting its imports, and stubbing external dependencies. The processed component is then embedded as an iframe on the canvas to ensure accurate visual fidelity during isolated preview.

Does component extraction handle external dependencies and import rewriting automatically?▼

Yes, component extraction handles external dependencies and import rewriting automatically. When pulling a component from the main app into the mockup sandbox, the skill automatically stubs external dependencies and rewrites imports to embed the result as an iframe.

Can I create design variants using the real source code of my application's UI?▼

Yes, you can create design variants using the real source code of your application's UI. The skill pulls the existing component into a mockup sandbox, rewrites imports, and embeds it as an iframe on the canvas to support variant iteration and redesign.