Skip to content
SkillModel-led824 tokens in use

react-vite-dashboard

Converts Stitch screens into React and Vite dashboards with TanStack Query, DESIGN.md tokens and read-only Web3 patterns.

10,975 stars on the repository Apache License 2.0google-labs-code/stitch-skills · plugins/stitch-build/skills/react-vite-dashboard
npx skills add google-labs-code/stitch-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing react-vite-dashboard costs

38tokens idle
824tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldeclared and detectedwrites filesdeclared

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter8/15
  • Structure22/25
  • Examples15/15
  • Output10/15
  • Size15/15
  • Resources0/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−2

    does this on the machine, as the frontmatter declares

    SKILL.md, line 56

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity80
  • Maintenance52
  • Community68
  • Maturity32
  • Momentum40

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.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers