What problem does it solve?
This Skill helps you reliably convert Stitch design artifacts into modular, type-safe React components for a Vite project, reducing rework and layout/implementation drift.
Core Features & Use Cases
- Stitch retrieval & networking: Discovers the Stitch tool prefix, fetches screen JSON, and downloads HTML and screenshots needed for implementation decisions.
- Deterministic, validated component output: Uses project templates and enforces AST-based validation with
npm run validate, ensuring each generated component meets quality rules.
- Architecture-aligned React implementation: Separates hooks and logic, decouples static data into a mock data file, and maps Tailwind theme values to the project’s style guide.
- Use Case: When you have a set of Stitch pages, generate a React component per page that matches the design while keeping business logic isolated and styling consistent with your Tailwind configuration.
Quick Start
Use the react:components skill to generate React components for a Stitch design page using the project’s validation and Tailwind style mapping rules.