react:components

Convert Stitch design artifacts into TypeScript React components with Tailwind theme synchronization.

1|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/lagarcess/argus --skill react-components-lagarcess
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react:components
Source: https://github.com/lagarcess/argus/tree/main/.agent/skills/react-components
Command: npx skills add https://github.com/lagarcess/argus --skill react-components-lagarcess

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Converting Stitch MCP design screens into production-quality React components is time consuming, error prone, and often requires system-level asset retrieval and manual style mapping. This Skill automates secure downloading of design artifacts, extracts and reconciles Tailwind theme values, and scaffolds TypeScript React components with enforced type safety and validation.

Core Features & Use Cases

  • Secure asset retrieval: Uses a domain-allowlisted system fetcher to reliably download signed Stitch HTML and screenshots while preventing SSRF.
  • Design-to-code scaffolding: Generates Atomic Design-pattern React components and moves static content into a centralized mock data layer.
  • AST-based validation & quality gate: Enforces Readonly Props interfaces, prevents hardcoded hex values, and runs automated AST checks before marking components as valid.
  • Use Case: Convert a Stitch Landing Page screen into modular Vite/React TypeScript components, sync theme tokens with an existing Tailwind config, and validate each output file.

Quick Start

Convert the Landing Page screen from my Stitch project into modular TypeScript React components and wire them into the project's App.tsx.

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 fetching Stitch MCP artifacts, extracting Tailwind config values into project tokens, and scaffolding atomic TypeScript components with Readonly Props interfaces.

Can I sync Tailwind theme tokens when scaffolding React components from Stitch?

Yes, the Skill extracts and merges Tailwind config values from Stitch artifacts into your project tokens during component scaffolding to ensure theme synchronization.

Does this React component generator work with Vite and TypeScript?

Yes, this Skill is specifically applicable to Vite/React TypeScript projects, generating components with Readonly Props interfaces and validating them via AST-based checks.

How does secure asset retrieval prevent SSRF when downloading Stitch designs?

It prevents SSRF by using a domain-allowlisted system fetcher to securely download signed Stitch HTML and screenshots, blocking unauthorized external requests during asset retrieval.

What are the limitations of AST validation for React components?

AST validation strictly enforces Readonly Props interfaces and blocks hardcoded hex values; any generated component failing these automated AST checks is marked invalid and requires correction.