mockup-extract

Extract components and dependencies from a main app into a sandbox.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Devvraj10/Niv --skill mockup-extract-devvraj10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mockup-extract
Source: https://github.com/Devvraj10/Niv/tree/main/.local/skills/mockup-extract
Command: npx skills add https://github.com/Devvraj10/Niv --skill mockup-extract-devvraj10

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill facilitates the extraction of existing components and their dependencies from the main app into a mockup sandbox for visual design iteration.

Core Features & Use Cases

  • Component Extraction: Copies a selected component and its dependencies into the mockup sandbox.
  • Dependency Stubbing: Rewrites imports and stubs external dependencies for a sandboxed environment.
  • Embedding: Embeds the extracted component in an iframe on the canvas for review.
  • Use Case: For example, when a designer needs to create a variant of an existing UI component in a mockup environment without altering the original main app code.

Quick Start

Use the mockup-extract skill to put your 'homepage' on the canvas for design iteration.

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 into a sandbox for visual design iteration?

Extracting components for visual iteration involves copying a selected component and its dependencies from the main app into a mockup sandbox, allowing you to iterate on design without altering the original codebase.

How does dependency stubbing work when isolating a component in a sandbox?

Dependency stubbing rewrites imports and stubs external dependencies, ensuring the isolated component runs correctly within the mockup sandbox environment without requiring the full main application.

Do I need access to the main app codebase to extract components for a mockup?

Yes, extracting components for a mockup requires access to the main app's codebase, as the process involves executing scripts to copy files and rewrite dependency imports for the sandboxed environment.

Can I embed an extracted component on a canvas for review?

Yes, you can embed an extracted component on a canvas for review by placing it inside an iframe, allowing you to visually evaluate the sandboxed UI component during the design iteration process.

What is the best way to create a UI variant without modifying the original app code?

The best way to create a UI variant without modifying the original app code is to extract the component into a mockup sandbox, where you can safely iterate on visual design and test changes independently.