mockup-extract

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

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/offers-png/one-time-checkout --skill mockup-extract-offers-png
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-extract
Source: https://github.com/offers-png/one-time-checkout/tree/main/.local/skills/mockup-extract
Command: npx skills add https://github.com/offers-png/one-time-checkout --skill mockup-extract-offers-png

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables designers to pull an existing UI component from the main application into a dedicated mockup sandbox so it can be previewed, redesigned, or used as a starting point for variant creation.

Core Features & Use Cases

  • Extract the exact component and its dependencies into the mockup sandbox, preserving dimensions and behavior for faithful visual iteration.
  • Rewrite imports and stub external dependencies so the component renders in isolation within mockup/src, enabling design exploration without touching the main app.
  • Activate for redesigns, variant creation, or visual comparisons to ensure fidelity to the source code.

Quick Start

Extract the target component into the mockup sandbox and open the preview to start iterative design.

Frequently Asked Questions about mockup-extract

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

FAQPage Schema
How do I extract a UI component into a sandbox for isolated preview?

To extract a UI component into a sandbox, this Skill traces and rewrites imports, stubs external dependencies, and embeds the component in the sandbox preview URL with appropriate group styling within mockup/src.

What is the best way to redesign existing UI components without affecting the main app?

Extracting existing UI components into a mockup sandbox preserves dimensions and behavior, enabling design exploration and variant creation without touching the main application's source code.

Do I need to rewrite imports when isolating a UI component for visual iteration?

Yes, the extraction process requires rewriting imports and stubbing external dependencies so the UI component renders correctly in isolation within the mockup/src directory.

Can I compare new designs against existing source code using a mockup sandbox?

Yes, you can extract the exact component and its dependencies into the mockup sandbox to preserve fidelity to the source code, allowing accurate visual comparisons against new designs.

When should I use a sandbox to isolate frontend UI components?

Activate the sandbox extraction when redesigning, creating variants, or comparing against new designs to ensure faithful visual iteration of the UI component.

Why does my extracted UI component fail to render in isolation?

The component may fail to render if external dependencies are not properly stubbed or if imports are not correctly traced and rewritten during the mockup/src setup process.