mockup-extract

Extract UI components into a mockup sandbox and rewrite imports.

Updated May 16, 2026
One-click install
npx skills add https://github.com/ckrono-prog/Kotlin-Code-Builder --skill mockup-extract-ckrono-prog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-extract
Source: https://github.com/ckrono-prog/Kotlin-Code-Builder/tree/main/.local/skills/mockup-extract
Command: npx skills add https://github.com/ckrono-prog/Kotlin-Code-Builder --skill mockup-extract-ckrono-prog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill simplifies the process of extracting UI components from a main app into a mockup sandbox for redesign, variant creation, or visual reference, eliminating the need for manual copying and ensuring design consistency.

Core Features & Use Cases

  • Component Extraction: Automatically copy components and their dependencies into a mockup sandbox.
  • Dependency Handling: Rewrites imports and stubs external dependencies to work within the sandbox.
  • Iframe Embedding: Embeds the extracted component in an iframe on the canvas for visual comparison.
  • Use Case: When a designer needs to quickly redesign a navigation bar or create variants of a component without affecting the main app.

Quick Start

Use the mockup-extract skill to extract the 'navbar' component into the mockup sandbox for redesign.

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 mockup sandbox for design iteration?

To extract a UI component into a mockup sandbox, the skill automatically copies the component and its dependencies, rewrites imports, and stubs external dependencies for isolated redesign. It embeds the extracted component in an iframe on the canvas for visual comparison.

What is the best way to isolate a navigation bar for redesign without affecting the main app?

The best way to isolate a navigation bar for redesign is using a mockup sandbox that automatically handles dependency stubbing and import rewriting. This extracts the component into an iframe on the canvas, ensuring the main app remains completely unaffected during visual iteration.

Do I need codebase access to extract components and stub external dependencies?

Yes, you need codebase access to extract components and stub external dependencies. The extraction process automatically analyzes the source code to identify required dependencies, rewrites their imports, and stubs external calls so the component functions correctly within the isolated mockup sandbox.

How does iframe embedding work for extracted mockup components?

Iframe embedding works by taking the extracted UI component and rendering it within an isolated frame directly on the canvas. This mechanism ensures that the stubbed external dependencies and rewritten imports operate securely, providing a self-contained visual reference for design iteration.

Can I create design variants of a component without manually copying files?

Yes, you can create design variants without manually copying files by automatically extracting the component into a mockup sandbox. The process handles dependency resolution and import rewriting, allowing you to iterate on visual variants safely isolated from your main application codebase.

What are the limitations of rewriting imports and stubbing external dependencies in a sandbox?

A limitation of stubbing external dependencies is that complex external services or global providers may not function perfectly within the sandbox. While the skill rewrites imports to enable basic component rendering in the iframe, highly integrated application logic might require manual stub adjustments for accurate visual iteration.