react:components

Convert Stitch designs into modular React components with AST validation.

1|Updated Nov 28, 2025
One-click install
npx skills add https://github.com/RenyEnnos/life-os --skill react-components
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react:components
Source: https://github.com/RenyEnnos/life-os/tree/main/.agent/skills/react-components
Command: npx skills add https://github.com/RenyEnnos/life-os --skill react-components

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill converts Stitch designs into modular React components, enabling rapid front-end development with a consistent architecture and automated validation.

Core Features & Use Cases

  • Modular component generation: Scaffold atomic design-based React components from designs.
  • Automated validation: Run AST checks to ensure type safety and prevent hardcoded styles.
  • Style mapping & tokens: Sync design tokens with a centralized style guide to maintain visual consistency.
  • Use Case: A designer provides a UI screen, and this Skill outputs a React component system with exports and tests ready for integration.

Quick Start

Use the Stitch-to-React-Components skill to scaffold a component from a given Stitch design.

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?

Converting Stitch designs into React components involves automated scaffolding that applies atomic design structures. The process maps style tokens, enforces TypeScript interface naming, and validates outputs via AST checks to ensure type safety.

How does automated validation prevent hardcoded hex values in React components?

Automated validation uses AST checks to scan generated React components for hardcoded hex values. It enforces type safety by ensuring styles map to centralized design tokens, preventing static color values from bypassing the style guide.

Can I use SWC for design-to-code React component scaffolding?

SWC is used as a validated tooling dependency during design-to-code generation. It processes and compiles the modular React components scaffolded from Stitch designs, ensuring the output maintains type safety and atomic design structure.

Does this React component generation enforce TypeScript Props interfaces?

React component generation enforces TypeScript interfaces to end with Props. This strict naming convention ensures type safety across the generated UI system and maintains consistent component architecture throughout the design-to-code workflow.

What is the best way to map design tokens to a centralized style guide?

Mapping design tokens to a centralized style guide is handled automatically during atomic design component scaffolding. This skill syncs Stitch design tokens with the style guide to maintain visual consistency and prevent hardcoded hex values.

Why does my React component generation require atomic design structure?

React component generation requires atomic design structure to ensure modularity and scalability across the UI system. This architecture allows the generated components to be easily integrated, tested, and reused throughout the web project.