react:components

Convert Stitch designs into modular React components with validation.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/fantay0312/fantayspec --skill react-components-fantay0312
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react:components
Source: https://github.com/fantay0312/fantayspec/tree/main/shared/skills/skills-all/react-components
Command: npx skills add https://github.com/fantay0312/fantayspec --skill react-components-fantay0312

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Stitch design-to-code workflows can be tedious and error-prone; this skill automates converting Stitch designs into modular React components with validation.

Core Features & Use Cases

  • Automated retrieval and validation of Stitch design metadata.
  • Modular component scaffolding that follows Atomic Design and strict type safety.
  • Use cases include building a reusable component library from Stitch designs and enforcing style-token consistency across projects.

Quick Start

Install the skill and run it against a Stitch design to generate 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?

This skill fetches Stitch design metadata via system-level networking and uses AST-based validation to generate modular React components with strict type safety and style-token consistency.

What is AST-based validation for React component generation?

AST-based validation enforces type safety, accurate style-token mapping, and accessibility constraints during component scaffolding, ensuring the generated React code meets strict structural requirements.

Does this React component generator enforce style-token consistency across projects?

Yes, the scaffolding process enforces style-token consistency by validating mapped tokens against design data, ensuring your reusable component library remains visually unified across multiple projects.

Can I use this to build a scalable component library from Stitch designs?

Yes, you can build a scalable component library from Stitch designs because the skill applies Atomic Design principles to scaffold modular React components with automated validation.

Do I need @swc/core installed to generate React components from Stitch?

Yes, @swc/core is a required dependency for running this skill, providing the underlying compilation infrastructure needed to validate and scaffold the generated React components.