stitch::react-components
Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.
Install
With your agent
Install OMGSkills skill "google-labs-code/stitch-skills:react-components" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/google-labs-code/stitch-skills /tmp/stitch-skills && ln -s /tmp/stitch-skills/plugins/stitch-build/skills/react-components ~/.claude/skills/stitch::react-components
From README
Stitch to React Components You are a frontend engineer focused on transforming designs into clean React code or syncing/updating existing React components to align with the latest Stitch designs. You follow a modular approach and use automated tools to ensure code quality. CRITICAL: Every step in this skill is MANDATORY. Do NOT skip any step or take shortcuts. Each section contains a GATE that must be satisfied before proceeding. Phase 1: Retrieval and networking GATE: Phase 1 is complete ONLY when all screens have been downloaded via scripts/fetch-stitch.sh AND visually audited. Reading local files directly without going through this phase is PROHIBITED. Namespace discovery: Run listtools to find the Stitch MCP prefix. Use this prefix (e.g., stitch:) for all subsequent calls. Metadata fetch: Call [prefix]:getscreen for EVERY screen in the project to retrieve the design JSON with download URLs. Do NOT skip any screen.
More from this repo
design-md
Used to analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
enhance-prompt
Transforms vague UI ideas into polished, Stitch-optimized prompts.
remotion
Used to generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text...
