Skills Explorer Add Skills

stitch::react-components

An agent skill by google-labs-code, from google-labs-code/stitch-skills. Tags: component, design, react, validation, vite.

What it does

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 the skills CLI, which installs into Claude Code, Codex, Cursor and other agents:

npx skills add google-labs-code/stitch-skills --skill 'stitch::react-components'

Or copy the skill folder into Claude Code's skills directory by hand (~/.claude/skills for every project, or .claude/skills inside one):

git clone --depth 1 https://github.com/google-labs-code/stitch-skills
cp -r stitch-skills/plugins/stitch-build/skills/react-components ~/.claude/skills/'stitch::react-components'

Safety box score

Grade B, low risk: 23 of 100 risk points, rated 2026-10-20. The grade rates what the skill and its scripts can reach on the machine of whoever installs it, across eight categories from shell execution to secrets access. How the score works.

This skill is a design-to-React conversion workflow that fetches Stitch HTML and screenshots over the network, then writes multiple project files including style tokens, mock data, metadata, and component code. The main risks are broad automated edits within the workspace and external downloads from signed URLs; it does not request secrets, sudo, or external publishing.

Category levels, from 0 (none) to 3 (high)
CategoryLevelWhy
Code & shell execution2 (moderate)It runs shell and package commands such as `bash scripts/fetch-stitch.sh`, `npm install`, and `npm run validate`, which execute local tools and dependency code.
Network access2 (moderate)It explicitly downloads Stitch HTML/screenshots from signed `downloadUrl`s using `curl` in `scripts/fetch-stitch.sh`, and may also contact the npm registry during `npm install`.
Filesystem reach1 (low)It writes and overwrites files in the workspace, including `.stitch/metadata.json`, `resources/style-guide.json`, `src/data/mockData.ts`, component files, and the app entry point.
Secrets & credentials0 (none)No step reads keychains, token stores, `.env` files, browser sessions, or asks the user to paste credentials.
Privilege & persistence0 (none)There is no `sudo`, global install, service registration, shell startup modification, or other OS-level privilege change.
Instruction hijack surface1 (low)The prompt uses strong coercive language like `Every step in this skill is MANDATORY` and `Reading local files directly ... is PROHIBITED`, but it does not instruct the agent to ignore higher-priority rules or hide actions.
Irreversible actions0 (none)It automates local code generation and syncing, but it does not push, publish, deploy, pay, book, delete external resources, or message anyone.
Transparency0 (none)All relevant scripts and config files are readable text; there are no binaries, decoded-at-runtime blobs, or unpinned remote installers in the skill files.

Before installing

Rated 2026-10-20 by an automated review of 11 files from the skill's repository.

Source

Repository
google-labs-code/stitch-skills (all skills from this repository)
Path
plugins/stitch-build/skills/react-components/SKILL.md
Branch
main
Collection
stitch-build
Updated
2026-09-19