mockup-extract

Extract UI components into a mockup sandbox with rewritten imports and stubbed dependencies.

5|21|Updated Jun 12, 2025
One-click install
npx skills add https://github.com/Exocore-Organization/exocore-web --skill mockup-extract-exocore-organization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-extract
Source: https://github.com/Exocore-Organization/exocore-web/tree/main/.local/skills/mockup-extract
Command: npx skills add https://github.com/Exocore-Organization/exocore-web --skill mockup-extract-exocore-organization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables designers and engineers to pull an existing component from the main app into a dedicated mockup sandbox for design iteration, ensuring the real source code is used as the starting point rather than hand-coded approximations.

Core Features & Use Cases

  • Extract and copy a component and its dependencies into the mockup sandbox for accurate visual references.
  • Rewrite imports and stub external dependencies to keep the mockup self-contained.
  • Embed the result as an iframe on the canvas for easy comparison and iteration.
  • Activate when you say "put my X on the canvas", "show my current Y on the board", "redesign my existing Z", "create variants of my current W", or "improve my Y" for components that already exist in the codebase.

Quick Start

Pull the target component from the main app into the mockup sandbox and open its preview.

Frequently Asked Questions about mockup-extract

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

FAQPage Schema
How do I pull an existing UI component into a mockup sandbox for design iteration?

To pull an existing UI component into a mockup sandbox, the skill extracts the target component from your main app, rewrites imports, and stubs external dependencies to create a self-contained mockup using authentic source material.

Can I create visual variants of my current app components without hand-coding approximations?

Yes, you can create visual variants of your current app components by copying the real source code into a mockup sandbox and embedding the result as an iframe on the canvas, ensuring accurate visual references without hand-coding.

How does the mockup sandbox handle external dependencies when extracting UI components?

When extracting UI components, the mockup sandbox rewrites imports and stubs external dependencies to keep the mockup self-contained, ensuring the isolated component renders correctly without requiring the entire main application context.

What is the best way to redesign existing components that are already in my codebase?

The best way to redesign existing components in your codebase is to extract the real source code into a dedicated mockup sandbox, allowing you to iterate on the authentic source material directly and embed the preview as an iframe on the canvas.

Do I need to manually copy dependent assets when pulling a UI component onto the canvas?

No, you do not need to manually copy dependent assets. When pulling a UI component onto the canvas, the process automatically copies dependent assets alongside rewriting imports to ensure the mockup renders accurately.

Why should I use a mockup sandbox instead of editing my UI components directly in the main app?

You should use a mockup sandbox to isolate design iterations from your main app, preventing unintended side effects. It stubs external dependencies and embeds the result as an iframe, enabling safe visual comparisons and rapid redesigns using authentic source material.