This skill builds data-dense dashboards from Stitch screens on React 18, Vite, TypeScript and TanStack Query. It maps colors, typography and spacing from a project DESIGN.md into CSS variables and gives each HTML pattern a semantic React counterpart.
It also covers on-chain reads with viem or ethers v6, so portfolio and protocol dashboards can show contract data with formatted token amounts and clear transaction errors.
What You Get
- Components, pages, hooks, lib and styles folders laid out for a Vite app
- CSS variables bridged from the colors, typography and spacing in DESIGN.md
- TanStack Query wrappers for async fetches and contract reads
- A quality checklist covering WCAG 2.2 AA, keyboard order and responsive widths
- A wallet provider pattern that keeps private keys out of generated code
Common Use Cases
- Building a DeFi portfolio dashboard from a Stitch screen
- Creating an analytics view with semantic tables and skeleton loading states
- Adding read-only contract data to a React dashboard with viem or ethers
What Makes It Unique
It pairs Stitch conversion with dashboard and Web3 conventions: semantic tables, aria-busy loading states, token formatting with formatUnits, and a DESIGN.md linter run for contrast checks. Most Stitch build skills stop at generic components.
Under The Hood
The skill is a single SKILL.md with no scripts. It calls the Stitch MCP tools to fetch a screen, saves the HTML and screenshot under .stitch/designs, reads DESIGN.md, and writes React source files. It names npx @google/design.md lint as a local check and tells the agent to take RPC URLs from environment variables.