mockup-extract

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

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/tann200/CodingAgent --skill mockup-extract-tann200
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-extract
Source: https://github.com/tann200/CodingAgent/tree/main/tui/.local/skills/mockup-extract
Command: npx skills add https://github.com/tann200/CodingAgent --skill mockup-extract-tann200

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows users to easily extract and preview components from their main app for redesign, variant creation, or as visual references without modifying the main application.

Core Features & Use Cases

  • Component Extraction: Pulls existing components and their dependencies into a mockup sandbox.
  • Dependency Handling: Rewrites imports, stubs external dependencies, and embeds components in an iframe for visual preview.
  • Use Case: If a user wants to redesign a navbar or create variants of a pricing page, they can use this Skill to quickly get the existing design onto a canvas for iteration.

Quick Start

Use the mockup-extract skill to extract the 'navbar' component from the main app into the mockup sandbox.

Frequently Asked Questions about mockup-extract

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

FAQPage Schema
How do I extract UI components from my source codebase for design iteration?

To extract UI components for design iteration, the Skill pulls existing components and their dependencies into a mockup sandbox, rewriting imports and stubbing external dependencies to provide isolated visual previews without modifying the main application.

Can I preview extracted components in an isolated sandbox without modifying the main app?

Yes, you can preview extracted components in an isolated sandbox. The Skill embeds components in an iframe and handles dependency stubbing, ensuring the main application remains completely unmodified during visual reference and prototyping.

How does component extraction handle import paths and external dependencies?

Component extraction handles external dependencies by rewriting import paths and stubbing out external dependencies. This ensures the extracted UI components render correctly within the isolated mockup sandbox for rapid prototyping.

What is the best way to redesign a navbar or create pricing page variants from existing code?

The best way to redesign a navbar or create pricing page variants is using this Skill to pull the existing design onto a mockup canvas. It extracts the specific component and its dependencies for rapid visual iteration.

Can I use this component extraction tool for rapid prototyping with source code integration?

Yes, you can use this tool for rapid prototyping with source code integration. It extracts UI components directly from your source codebase and embeds them into a sandbox, supporting both UI designers and developers in iteration.

Why does my isolated component preview fail to load missing dependencies?

Isolated component previews may fail if external dependencies are not properly stubbed. The Skill automatically handles dependency stubbing and import path rewriting to ensure components render correctly in the mockup sandbox.