mockup-extract

Extract UI components from a main application into a sandbox environment.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows you to take existing UI components from your main application and bring them into a dedicated sandbox for redesign, variant creation, or visual reference, ensuring you always start from the actual codebase.

Core Features & Use Cases

  • Component Extraction: Pulls specified UI components from your live application into a isolated mockup environment.
  • Design Iteration: Serves as the starting point for redesigning, improving, or creating variations of existing UI elements.
  • Accurate Representation: Guarantees that the extracted component maintains the exact visual fidelity, dimensions, and styling of the original.
  • Use Case: When a user says "redesign my current navbar," this skill extracts the actual navbar code, not a recreation, to ensure accurate dimensions and styling are preserved during the redesign process.

Quick Start

Use the mockup-extract skill to pull the user profile component from the main application onto the canvas.

Frequently Asked Questions about mockup-extract

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

FAQPage Schema
How do I extract existing UI components from my application for redesign?

Extracting UI components for redesign involves pulling specific elements from your main application into a dedicated mockup sandbox. This Skill analyzes the dependency tree, stubs external requirements, and rewrites import paths to ensure the isolated component functions perfectly for visual iteration.

Can I isolate a frontend component without losing its original styles and fonts?

Yes, you can isolate a frontend component without losing original styles because this Skill preserves visual fidelity by copying global styles and fonts into a group-specific stylesheet. This guarantees the extracted component maintains the exact dimensions and styling of the original codebase.

What is the best way to create design variants from an existing codebase?

Creating design variants from an existing codebase is best achieved by extracting the actual UI component into a mockup sandbox. This ensures accurate visual representation by starting from the real application code rather than a manual recreation.

Does component extraction handle external dependencies automatically?

Component extraction handles external dependencies automatically by analyzing the dependency tree and copying or stubbing required external files. This process ensures the extracted UI component remains fully functional within the isolated mockup sandbox environment without breaking.

When do I need to use a mockup sandbox for frontend development?

You need to use a mockup sandbox for frontend development when you want to redesign, improve, or create variations of existing UI elements in isolation. It allows you to iterate on visual design safely without affecting the main application codebase.