Tooluck logoTooluck
SKILL.md

react-vite-dashboard

Agent skill fromgoogle-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).

How to install react-vite-dashboard

install react-vite-dashboard
# install the stitch-skills pack with the skills CLI
npx skills add google-labs-code/stitch-skills

# or add only this skill to Claude Code: copy the folder

plugins/stitch-build/skills/react-vite-dashboard/

# into

~/.claude/skills/react-vite-dashboard/ (all projects)

.claude/skills/react-vite-dashboard/ (one project)

plugins/stitch-build/skills/react-vite-dashboard/SKILL.md

Apache-2.0Full file
1# Stitch to React + Vite Dashboard
2
3You are a frontend engineer building **data-dense dashboards** from Stitch screens. Target stack: **React 18**, **Vite**, **TypeScript**, **TanStack Query**, **React Router**, and optional **ethers v6** or **viem** for on-chain reads.
4
5## Prerequisites
6
7- Stitch MCP configured ([setup guide](https://stitch.withgoogle.com/docs/mcp/setup/))
8- A project `DESIGN.md` (see the `design-md` skill) for token fidelity
9- Vite + React + TypeScript scaffold (`npm create vite@latest`)
10
11## Workflow
12
131. **Discover MCP prefix** — run `list_tools`, note the Stitch prefix (e.g. `stitch:`).
142. **Fetch screen** — `[prefix]:get_screen` with project and screen IDs.
153. **Download assets** — persist HTML/screenshot under `.stitch/designs/{screen}.html` and `.png`.
164. **Read DESIGN.md** — map `colors.*`, `typography.*`, `spacing.*` to CSS variables in `src/index.css`.
175. **Generate components** — split into `src/components/`, `src/pages/`, `src/hooks/`.
186. **Wire data** — use TanStack Query for async fetches; keep presentational components pure.
19
20## HTML → React mapping
21
22| Pattern | Implementation |
23|---------|----------------|
24| Layout grid / flex | Tailwind utilities or CSS modules aligned to DESIGN.md spacing tokens |
25| Cards / panels | `<section>` with tokenized border-radius and elevation fallbacks for forced-colors |
26| Tables | Semantic `<table>` or TanStack Table; never div-only grids for tabular data |
27…

Excerpt shown under the repository's Apache-2.0 license.

More skills in stitch-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates