html-artifact-redesign

Rebuilds an existing website as a single self-contained HTML file in a chosen design language.

Updated Aug 21, 2026
One-click install
npx skills add https://github.com/TylerSimons1127/vibe --skill html-artifact-redesign-tylersimons1127
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: html-artifact-redesign
Source: https://github.com/TylerSimons1127/vibe/tree/main/skills/html-artifact-redesign
Command: npx skills add https://github.com/TylerSimons1127/vibe --skill html-artifact-redesign-tylersimons1127

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes references (resource) components.

What problem does it solve? Restyling or cloning a live website into one portable HTML file usually loses content, drops detail routes, and produces generic AI-slop visuals. This Skill enforces a full scrape-then-rebuild workflow so every feature, field, and route of the original survives the redesign. ## Core Features & Use Cases - Complete source extraction: Scrapes every route and embedded Next.js data payload (self.__next_f.push chunks), decodes Cloudflare-protected emails, and recovers Refero design-system prose before building. - Premium single-file output: Produces one self-contained HTML file applying a chosen design language (e.g. Apple-style monochrome palette, glass nav, SF Pro stack) with motion effects gated behind prefers-reduced-motion. - Verification without vision: Validates output via node --check on extracted scripts, headless Chrome --dump-dom assertions, and Py-Playwright runtime probes when browser automation is blocked. - Use Case: Point it at a dashboard like an LSA audit tool and ask for an Apple-style redesign; it inventories all 15 leads, detail routes, and filters, then rebuilds them as one verified HTML artifact. ## Quick Start Redesign the website at this URL as a single self-contained HTML file in the Apple design language, keeping every feature and page.

Frequently Asked Questions about html-artifact-redesign

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

FAQPage Schema
How do I redesign a website as a single HTML file?▼

Scrape every route and embedded data payload of the original site first, then rebuild it as one self-contained HTML file applying the chosen design language. Verify the result with node --check on extracted scripts and headless Chrome DOM assertions.

How to extract a design system from a Refero style page?▼

Curl the Refero style URL and concatenate the self.__next_f.push chunks, then decode with unicode_escape and html.unescape to recover the DESIGN.md prose, color tokens, type scale, and component list. The authored description prose serves as the build blueprint.

Can I verify an HTML file when vision tools cannot read localhost?▼

Yes. Use Chrome headless --dump-dom to grep for headings, asset paths, and links, or set up a Py-Playwright venv to assert runtime facts like canvas pixels, element counts, and horizontal overflow at multiple viewport widths.

Why does my single-file HTML page render blank with an empty table?▼

A single unbalanced brace or stray closing token silently kills the entire inline script, leaving the page rendered but non-functional. Extract the script block to a temp file and run node --check before trusting any render.

Does this approach work for React and Vite projects?▼

Yes, a React/Vite/TypeScript branch is supported where npm run build (tsc -b && vite build) is the authoritative gate when browser automation is blocked. The @/* path alias must be set in both vite.config.ts and tsconfig.json.

What are the limitations of headless dump-dom verification?▼

The --dump-dom check is static only; it proves the file parses and all markup, links, and images are present, but it runs no JavaScript and cannot judge visual layout or motion. Aesthetic sign-off remains with the user.