i-hate-ui — Web UI Replicator & Rebrand Architect
i-hate-ui is an advanced Antigravity skill designed for developers who want world-class UI/UX without starting from scratch. It captures the DOM structure, computed layout matrices (CSS Grid, Flexbox, Padding, Shadows), keyframe animations, typography, and section-by-section cropped screenshots from any reference URL, breaks them down into modular components, and guides the user through an intelligent rebranding and customization process.
Standard Operating Procedure (SOP)
When this skill is invoked with a target URL, execute the following 5-phase workflow:
[Phase 1: Deep Extraction & Visual Screenshot Cropping]
↓
[Phase 2: Multimodal Section Discovery & Matrix Analysis]
↓
[Phase 3: Interactive Section Selection & Scope Alignment]
↓
[Phase 4: Smart Rebranding & Algorithmic Theming Interview]
↓
[Phase 5: Production Component Synthesis (shadcn / Next.js / Tailwind)]
Phase 1: Deep Extraction & Visual Screenshot Cropping
- Run the Scraping Utility:
Execute the automated Playwright extractor:
node .agents/skills/i-hate-ui/scripts/scrape_ui.mjs "<TARGET_URL>" --output "./extracted_ui"
- Inspect Scraped Assets:
- Review
extracted_ui/sections.json for computed layout matrices (gridTemplateColumns, gap, boxShadow, backdropFilter).
- Inspect
extracted_ui/sections/ for high-res cropped PNGs (section_01.png, section_02.png) to visually cross-reference UI details with multimodal vision.
- Review
extracted_ui/tokens.json for CSS variables, fonts, and keyframes.
Phase 2: Section Discovery & Breakdown
Present a structured breakdown of detected landmark sections to the user:
Navbar / Header (Logo, navigation links, CTA button, mobile drawer)
Hero Section (Headline, subheadline, CTA group, hero media/mockup, social proof badges)
Bento Grid / Features (Multi-column feature cards, icon badges, interactive tabs)
Showcase / Interactive Demos (Product mockups, comparison sliders, video frames)
Social Proof / Testimonials (Review cards, client logo ticker, star ratings)
Pricing Table (Monthly/Annual billing toggle, tier cards, feature checkmarks, highlight badge)
FAQ Accordion (Expandable accordion items, search/filter)
Call-to-Action (CTA) Banner (High-contrast conversion banner)
Footer (Multi-column links, newsletter subscription, copyright, social icons)
Phase 3: Interactive Section Selection
Ask the user to select their desired scope:
- Full Page Rebrand: Re-architect the entire reference page end-to-end.
- Modular Section Selection: Pick only specific components (e.g., Hero + Bento Grid + Pricing Table).
- Design System & Tokens Only: Extract color palette, typography scale, cards, and button styles.
Phase 4: Smart Rebranding & Algorithmic Theming
Guide the user through a structured rebrand consultation:
Brand Identity & Positioning:
- Product / Brand Name & Core Slogan.
- Industry context (e.g., AI/SaaS, FinTech, E-Commerce, DevTools, Agency) to generate high-converting, context-specific copy (no generic lorem ipsum).
Smart Color Palette & Theme:
Typography & Iconography:
- Modern Google Font pairing (
Plus Jakarta Sans + Inter, Outfit + Inter, Space Grotesk + Geist).
- Map scraped SVG icons to clean Lucide React or Heroicons standard vectors.
Target Framework & Architecture:
- Next.js 15 (App Router) + Tailwind CSS + Framer Motion + Lucide
- shadcn/ui Compatible Components (
Button, Card, Accordion, Badge)
- React (Vite) + Tailwind CSS
- Vue 3 / Nuxt 3
- Single-File HTML + Tailwind CDN (for instant browser preview)
Phase 5: Production Component Synthesis & Verification
- Generate Clean, Production-Ready Code:
- Translate computed grid/flex matrices into clean Tailwind classes (e.g.,
grid grid-cols-1 md:grid-cols-3 gap-8).
- Apply micro-interactions (
hover:-translate-y-1 hover:shadow-2xl transition-all duration-300).
- Implement accessibility standards (semantic HTML5, ARIA labels, minimum 4.5:1 contrast).
- Deliver and Verify:
- Output the file(s) into the user's project workspace.
- Provide instant preview and customization instructions.
Reference Documentation
1---2name: i-hate-ui3description: Extract, deconstruct, and transform any reference website UI into clean, rebranded, and customized modern frontend code. Use when the user wants to mirror, clone, or replicate UI/UX design inspirations from a live web URL while systematically rebranding and modernizing it.4---56# `i-hate-ui` — Web UI Replicator & Rebrand Architect78`i-hate-ui` is an advanced Antigravity skill designed for developers who want world-class UI/UX without starting from scratch. It captures the DOM structure, computed layout matrices (CSS Grid, Flexbox, Padding, Shadows), keyframe animations, typography, and section-by-section cropped screenshots from any reference URL, breaks them down into modular components, and guides the user through an intelligent rebranding and customization process.910--------------------------------------------------------------------------------1112## Standard Operating Procedure (SOP)1314When this skill is invoked with a target URL, execute the following 5-phase workflow:1516```17[Phase 1: Deep Extraction & Visual Screenshot Cropping]18 ↓19[Phase 2: Multimodal Section Discovery & Matrix Analysis]20 ↓21[Phase 3: Interactive Section Selection & Scope Alignment]22 ↓23[Phase 4: Smart Rebranding & Algorithmic Theming Interview]24 ↓25[Phase 5: Production Component Synthesis (shadcn / Next.js / Tailwind)]26```2728---2930### Phase 1: Deep Extraction & Visual Screenshot Cropping311. **Run the Scraping Utility:**32 Execute the automated Playwright extractor:33 ```bash34 node .agents/skills/i-hate-ui/scripts/scrape_ui.mjs "<TARGET_URL>" --output "./extracted_ui"35 ```362. **Inspect Scraped Assets:**37 - Review `extracted_ui/sections.json` for computed layout matrices (`gridTemplateColumns`, `gap`, `boxShadow`, `backdropFilter`).38 - Inspect `extracted_ui/sections/` for high-res cropped PNGs (`section_01.png`, `section_02.png`) to visually cross-reference UI details with multimodal vision.39 - Review `extracted_ui/tokens.json` for CSS variables, fonts, and keyframes.4041---4243### Phase 2: Section Discovery & Breakdown44Present a structured breakdown of detected landmark sections to the user:45- `Navbar / Header` (Logo, navigation links, CTA button, mobile drawer)46- `Hero Section` (Headline, subheadline, CTA group, hero media/mockup, social proof badges)47- `Bento Grid / Features` (Multi-column feature cards, icon badges, interactive tabs)48- `Showcase / Interactive Demos` (Product mockups, comparison sliders, video frames)49- `Social Proof / Testimonials` (Review cards, client logo ticker, star ratings)50- `Pricing Table` (Monthly/Annual billing toggle, tier cards, feature checkmarks, highlight badge)51- `FAQ Accordion` (Expandable accordion items, search/filter)52- `Call-to-Action (CTA) Banner` (High-contrast conversion banner)53- `Footer` (Multi-column links, newsletter subscription, copyright, social icons)5455---5657### Phase 3: Interactive Section Selection58Ask the user to select their desired scope:591. **Full Page Rebrand:** Re-architect the entire reference page end-to-end.602. **Modular Section Selection:** Pick only specific components (e.g., *Hero + Bento Grid + Pricing Table*).613. **Design System & Tokens Only:** Extract color palette, typography scale, cards, and button styles.6263---6465### Phase 4: Smart Rebranding & Algorithmic Theming66Guide the user through a structured rebrand consultation:67681. **Brand Identity & Positioning:**69 - Product / Brand Name & Core Slogan.70 - Industry context (e.g., AI/SaaS, FinTech, E-Commerce, DevTools, Agency) to generate high-converting, context-specific copy (no generic lorem ipsum).71722. **Smart Color Palette & Theme:**73 - Primary Brand Color (e.g., `#6366F1` or `#10B981`).74 - Run the color engine if needed:75 ```bash76 node .agents/skills/i-hate-ui/scripts/color_engine.mjs "<HEX_COLOR>"77 ```78 - Theme Mode: Sleek Dark Mode (Slate-950 + Glow accents), Minimal Light Mode, or Dynamic Dark/Light Toggle.79803. **Typography & Iconography:**81 - Modern Google Font pairing (`Plus Jakarta Sans + Inter`, `Outfit + Inter`, `Space Grotesk + Geist`).82 - Map scraped SVG icons to clean **Lucide React** or **Heroicons** standard vectors.83844. **Target Framework & Architecture:**85 - **Next.js 15 (App Router) + Tailwind CSS + Framer Motion + Lucide**86 - **shadcn/ui Compatible Components** (`Button`, `Card`, `Accordion`, `Badge`)87 - **React (Vite) + Tailwind CSS**88 - **Vue 3 / Nuxt 3**89 - **Single-File HTML + Tailwind CDN** (for instant browser preview)9091---9293### Phase 5: Production Component Synthesis & Verification941. **Generate Clean, Production-Ready Code:**95 - Translate computed grid/flex matrices into clean Tailwind classes (e.g., `grid grid-cols-1 md:grid-cols-3 gap-8`).96 - Apply micro-interactions (`hover:-translate-y-1 hover:shadow-2xl transition-all duration-300`).97 - Implement accessibility standards (semantic HTML5, ARIA labels, minimum 4.5:1 contrast).982. **Deliver and Verify:**99 - Output the file(s) into the user's project workspace.100 - Provide instant preview and customization instructions.101102--------------------------------------------------------------------------------103104## Reference Documentation105106- [Rebranding & Design Token Checklist](./references/rebranding_checklist.md)