In the Skill's Own Terms
A build skill for frontend engineers converting Stitch screens into data-dense dashboards on React 18, Vite, TypeScript, TanStack Query and React Router, with optional ethers v6 or viem for on-chain reads.
Its workflow runs six steps: discover the Stitch MCP prefix, fetch the screen, persist the HTML and screenshot under .stitch/designs/, read DESIGN.md and map colors, typography and spacing to CSS variables in src/index.css, generate components and pages, then wire data through TanStack Query while keeping presentational components pure. A mapping table fixes behaviour for tables, buttons, forms, loading and wallet connect, and the file closes with a WCAG 2.2 AA quality checklist.
What it produces
- A production React + Vite dashboard built from the Stitch screen, using TanStack Query for its data layer.
- Local copies of the source design kept in the repo as .stitch/designs/{screen}.html and a matching .png screenshot.
- A source tree separated by responsibility, with hooks holding useQuery wrappers and wallet hooks, plus lib for ABI helpers and formatters.
How It Works
- 01Discover the MCP Prefix
Run list_tools first and note the Stitch prefix the tools are exposed under, since every later call is built from it.
- 02Fetch the Screen
Call the get_screen tool on the discovered prefix, passing both the Stitch project ID and the screen ID.
- 03Bridge DESIGN.md Tokens
Read the project DESIGN.md and translate its color, typography and spacing entries into CSS variables inside src/index.css.
- 04Split the Generated UI by Role
Generated code lands in src/components, src/pages and src/hooks rather than one flat file.
- 05Wire Data Through TanStack Query
Async fetches go through TanStack Query so the presentational components built from the Stitch screen stay pure.