Skip to content

# feat(cloner): Universal Website Cloner, WCAG 2.1 Audit & Design System Studio (webcmd clone) - #515

Open
Mausam5055 wants to merge 15 commits into
agentrhq:mainfrom
Rachit-Tiwari-7:feat/website-cloner
Open

Mausam5055 wants to merge 15 commits into
agentrhq:mainfrom
Rachit-Tiwari-7:feat/website-cloner

Conversation

@Mausam5055

Copy link
Copy Markdown

📌 Summary

Introduces a high-performance Universal Website Cloner, Design System Extractor, and Interactive Studio (webcmd clone) for WebCMD.

This engine reverse-engineers any modern production website (React, Next.js, Vue, Webflow, SPAs, static sites) with full rendered HTML, localized assets, 11-step color palettes, WCAG 2.1 accessibility audits, W3C DTCG Figma tokens, React UI component synthesis, and an interactive local Storybook-grade Studio.


🚀 Key Features

1. 🌐 Deep Website Reverse-Engineering & Asset Localization

  • Single-Page & Dynamic SPA Ingestion: Captures fully hydrated DOM state using stealth headless Chromium runtime.
  • Deep Asset Localization: Downloads and rewrites all relative/absolute CSS, JS, Google/custom fonts (.woff2, .ttf), SVGs, and raster images.
  • Root-Anchored Structure: Always outputs cleanly into clones/<sitename>/ in the repository root.

2. ♿ Automated WCAG 2.1 Accessibility & ADA Compliance Audit

  • Evaluates complete color contrast matrices across all brand and neutral surface pairs against W3C WCAG 2.1 Level AA (4.5:1 / 3.0:1) and AAA (7.0:1) standards.
  • Outputs structured accessibility-audit.json and human-readable AccessibilityAudit.md reports with pass scores, contrast ratios, and automated remediation guidance.

3. 🎨 Design System Studio & Storybook Preview (preview.html)

  • Light & Production-Ready UI: Clean, Storybook-grade interactive sandbox featuring:
    • ♿ WCAG Contrast Matrix Dashboard
    • 🎨 11-Step Tonal Color Scales (50–950) with one-click HEX copying
    • ✍️ Modular Typography Scales & 8pt Spacing Grids
    • 🔘 Interactive UI Primitives (Buttons, Inputs, Cards, Badges)
    • 🌐 Quick Cloned Site Switcher (View Cloned Site ↗)
    • ⚛️ React + Tailwind (TSX) code snippets
    • ⚡ Master AI Prompt Blueprint (ready for Claude, Cursor, and Copilot)
    • 📐 W3C DTCG Figma Tokens Studio Format (figma-tokens.json)

4. 🤖 AI Agent Design Skill Auto-Registration

  • Automatically generates and registers an Antigravity agent skill at .agents/skills/design-<sitename>/SKILL.md so coding agents can immediately scaffold new UIs in the exact visual style of the cloned site.

5. 💻 High-Tech Interactive Ink Terminal UI & Command Loop

  • Pixelated Retro-Cyber Aesthetic: High-contrast terminal telemetry with live step tickers, asset counters, and progress gauges.
  • Interactive Post-Clone Command Loop: Keeps the terminal active upon completion with an interactive menu to jump to previews, explore files, or run follow-up commands (/clone, /design, /audit, /react, /diff).
  • Resize Stability: Scoped timers prevent ghosting and box-duplication when minimizing or resizing console windows.

🛠️ CLI Usage & Slash Commands

# Interactive Terminal Studio
webcmd clone

# Direct Single-Command Ingestion
webcmd clone https://linear.app

# Focused Workflows via Slash Commands
webcmd clone /audit https://webcmd.dev     # Opens WCAG Accessibility Audit
webcmd clone /design https://stripe.com    # Extracts Design Tokens & Scales
webcmd clone /react https://tailwindui.com # Synthesizes React Components
webcmd clone /diff https://vercel.com      # Side-by-side Visual Fidelity Slider

…okens, react primitives, and interactive studio
@github-actions

Copy link
Copy Markdown
Contributor

🟠 Maintainer review suggested — low confidence

The automated review could not reach a fully supported conclusion.

Limitations

  • The automated review returned an invalid structured result.

This review is advisory and does not block merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant