ba-html-to-react-ds-code-gen

Convert HTML prototypes into React/TypeScript and Tailwind code with design tokens.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/clovernguyen1010-ship-it/Clover_Nguyen --skill ba-html-to-react-ds-code-gen-clovernguyen1010-ship-it
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ba-html-to-react-ds-code-gen
Source: https://github.com/clovernguyen1010-ship-it/Clover_Nguyen/tree/main/.agent/skills/ba-html-to-react-ds-code-gen
Command: npx skills add https://github.com/clovernguyen1010-ship-it/Clover_Nguyen --skill ba-html-to-react-ds-code-gen-clovernguyen1010-ship-it

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

HTML prototypes are often a bottleneck when turning designs into a scalable, DS-aligned frontend. This Skill automates the transformation from HTML to a production-ready React/TypeScript + Tailwind codebase that adheres to Design Tokens and a Design System, accelerating conversion and reducing manual rework.

Core Features & Use Cases

  • Design-token extraction from HTML to generate a Tailwind config extension and a tokens/ structure
  • HTML pattern mapping to React components with proper TS types and DS usage
  • Page scaffolding and component composition for bootstrap or incremental modes, with mock data generation aligned to HTML content

Quick Start

Paste your HTML prototype and request a React/TS + Tailwind DS codegen

Frequently Asked Questions about ba-html-to-react-ds-code-gen

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

FAQPage Schema
How do I convert HTML prototypes to React and Tailwind with design tokens?

To convert HTML to React with Tailwind, you paste your static HTML prototype to trigger automated design-token extraction. The process generates a Tailwind config extension, React components with strict TypeScript types, and a modular project structure.

How does design token extraction from HTML work for Tailwind configuration?

Design token extraction from HTML parses static styling patterns to generate a structured tokens/ directory and a Tailwind config extension. This token-based styling approach ensures migrated React TypeScript components adhere strictly to the design system.

Can I use this HTML to React conversion for incremental migration to a design system?

Yes, you can use this HTML to React conversion for incremental migration to a design system. It supports both bootstrap and incremental modes, allowing you to scaffold pages and compose components progressively while generating mock data aligned with your original HTML content.

Does converting HTML to React with Tailwind require strict TypeScript types?

Yes, converting HTML to React with Tailwind requires strict TypeScript types. The transformation enforces strict TS typing across all generated React components and modular project structures to ensure production-ready, design-system-aligned code.

What is the best way to scaffold pages and generate mock data from HTML prototypes?

The best way to scaffold pages and generate mock data from HTML prototypes is using an automated design system codegen approach. It maps HTML patterns to React TypeScript components and generates mock data aligned with the original HTML content for seamless page composition.