react:components

Convert Stitch design specifications into modular React components with AST validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/phuchau26/giatsay --skill react-components-phuchau26
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react:components
Source: https://github.com/phuchau26/giatsay/tree/main/skills/react-components
Command: npx skills add https://github.com/phuchau26/giatsay --skill react-components-phuchau26

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @swc/core, and includes scripts (resource) components.

What problem does it solve?

Converts Stitch design specifications into modular React components, eliminating manual handoffs and ensuring consistent architecture across a project.

Core Features & Use Cases

  • Modular scaffolding following Atomic Design principles for React components.
  • AST-based validation and TypeScript interface enforcement to ensure code quality and style consistency.
  • End-to-end pipeline: retrieval, metadata mapping, generation, validation, and architecture checklist.
  • Use Case: in a real project, convert a Landing Page Stitch design into a reusable component library with consistent tokens and styles.

Quick Start

Point the Stitch design at the skill and run the validation to generate modular React components.

Frequently Asked Questions about react:components

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

FAQPage Schema
How do I convert Stitch designs into React components?

You can convert Stitch designs into React components by pointing the design specification at the skill and running the validation pipeline. This automatically generates modular, production-ready React components with consistent style tokens.

What is the best way to scaffold a React component library from design specs?

The best way to scaffold a React component library from design specs is using an end-to-end pipeline with Atomic Design principles. This approach applies metadata mapping and AST validation to enforce modularity and maintainability across multiple components and pages.

Does this React code generation approach enforce TypeScript interfaces and type safety?

Yes, this React code generation approach enforces TypeScript interfaces and type safety. It uses AST-based validation and an architecture checklist to ensure code quality, type consistency, and style token enforcement across the generated components.

Can I use @swc/core for AST validation when generating React components?

Yes, @swc/core is a required dependency for this skill and is used during the AST validation phase. It supports the end-to-end workflow by validating the generated React components to ensure type safety and structural code quality.

When do I need AST validation for React code generation?

You need AST validation for React code generation when converting design specifications into a reusable component library. AST validation enforces TypeScript interfaces, style-token consistency, and architecture quality across all generated components.