Skip to content
mcp/skillhub

Agent Skill

stitch::react-components skill

stitch::react-componentsgoogle-labs-code/stitch-skillsplugins/stitch-build/skills/react-components/SKILL.md

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.

8.5kApache-2.0

always on

42 tokname + description

once used

1,917 tokSKILL.md body

bundled files

102 scripts

repo stars

8.5kGitHub

Install the stitch::react-components skill

Skills CLI (Claude Code, Codex, Cursor and others)

npx skills add https://github.com/google-labs-code/stitch-skills --skill 'stitch::react-components'

Claude Code, by hand (all projects)

git clone --depth 1 https://github.com/google-labs-code/stitch-skills.git /tmp/stitch-skills
mkdir -p ~/.claude/skills
cp -R /tmp/stitch-skills/plugins/stitch-build/skills/react-components ~/.claude/skills/react-components

For one project only, copy the folder into .claude/skills/ in that project instead. The agent picks it up when a task matches its description.

What it costs your context

Agent Skills load in three steps. Tokens counted with the o200k tokenizer; your model's count will differ a little.

WhenWhat loadsCost
Every sessionName and description42 tok
When the agent uses itThe SKILL.md instructions1,917 tok
Only if opened10 bundled files (18 KB)varies

Until it is used, stitch::react-components costs about 32× less than the median MCP server we measured (1,362 tokens on every turn). Installing all 16 skills from google-labs-code/stitch-skills would load 801 tokens of descriptions. Skills vs MCP study

Checks

  • Ships scripts the agent can run. Read them before installing.
  • The name breaks the specification (lowercase letters, digits and single hyphens, up to 64 characters).

Pre-approved tools (allowed-tools): stitch*:*, Bash, Read, Write, web_fetch. The agent can use these without asking while the skill is active.

Checked 2026-10-22 · method

What's inside

The headings of its SKILL.md. Read the full file on GitHub.

  • Stitch to React Components
  • Phase 1: Retrieval and networking
  • Anti-patterns for Phase 1
  • Phase 2: Style extraction
  • Anti-patterns for Phase 2
  • Phase 3: Architectural rules
  • Anti-patterns for Phase 3
  • Phase 4: Execution steps
  • Anti-patterns for Phase 4
  • Troubleshooting

More skills from google-labs-code/stitch-skills

All skills in this repo
  1. design-mdgoogle-labs-code/stitch-skills

    Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files

    64k17 tok idle · 1,679 in use
  2. enhance-promptgoogle-labs-code/stitch-skills

    Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

    8.5k42 tok idle · 1,531 in use
  3. react-vite-dashboardgoogle-labs-code/stitch-skills

    Convert Stitch designs into production React + Vite dashboards with TanStack Query, accessible tokens from DESIGN.md, and Web3-ready patterns (ethers/viem).

    8.5k37 tok idle · 820 in use
  4. remotiongoogle-labs-code/stitch-skills

    Generate walkthrough videos from Stitch projects using Remotion with smooth transitions, zooming, and text overlays

    8.5k122 tok idle · 2,946 in use
  5. shadcn-uigoogle-labs-code/stitch-skills

    Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best practices.

    8.5k131 tok idle · 2,134 in use
  6. site-mdgoogle-labs-code/stitch-skills

    Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop

    8.5k24 tok idle · 661 in use
  7. stitch-loopgoogle-labs-code/stitch-skills

    Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern

    8.5k22 tok idle · 2,613 in use
  8. stitch::code-to-designgoogle-labs-code/stitch-skills

    Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction, and file upload. **ALWAYS** use this skill when the user's intent is to move existing web apps or React/Angular/Vue components into Stitch (e.g., requests to "save", "migrate", or "upload"). You must use this skill even for simple "save" operations, as it is the only way to ensure the design system is extracted and assets are properly linked.

    8.5k115 tok idle · 718 in use