Getting started

Agent skill

A skill for Claude Code — which Vantu item fits where, how to wire it, the design rules and a review checklist. Other agents get the same rules as a short instructions file.

Install

One command. The skill lands in .claude/skills/vantu — Claude Code picks it up on its own, and you can commit the folder so the whole team has it.

Terminal
npx shadcn@latest add https://vantu-ui.vercel.app/r/vantu-skill.json

Then ask for it by name, for example /vantu build the deals page, or just describe the screen — the skill triggers whenever you build or review a dashboard. Run the command again to update it.

Cursor, Copilot and other agents without skills: paste .claude/skills/vantu/INSTRUCTIONS.md into AGENTS.md or CLAUDE.md, or save it as .cursor/rules/vantu.mdc. The same rules are on Using with AI.

What’s inside

  • SKILL.mdEntry point: workflow, decision rules (which item for which region), design rules and setup.
  • INSTRUCTIONS.mdShort always-on rules — also for AGENTS.md, CLAUDE.md or Cursor rules.
  • checklist.mdThe review loop before finishing: what to check and grep for.
  • references/catalog.mdEvery component, block, chart and template with what it is for — generated from the registry, so it never goes stale.

SKILL.md

The entry point Claude Code loads when the task matches its description.

.claude/skills/vantu/SKILL.md
---
name: vantu
description: Use Vantu UI's React components, blocks, charts and templates for AI-powered SaaS dashboards (CRM, prospecting, analytics, team and settings screens). Covers layered cards, KPI strips, data tables, charts (area, line, bar, donut, funnel, heatmap, sparkline), AI search and insights, sequences, command menus, forms and full app shells. Use when building or reviewing a dashboard screen, when the user mentions Vantu or @vantu, or asks "where could I use Vantu", "review my UI against Vantu", or "make this match Vantu".
---

# Vantu UI

Copy-in React 19 + Tailwind CSS v4 + React Aria components for AI SaaS
dashboards: 70 components, 15 blocks, 10 charts and 8 templates.
Every item is plain source the project owns. **Read an item's docs before
writing code with it; never guess a prop.**

## Workflow

```
Vantu task:
- [ ] 1. Find: pick an item per screen region (Decision rules, then references/catalog.md)
- [ ] 2. Read: the item's docs page — usage, props, examples
- [ ] 3. Install: npx shadcn@latest add https://vantu-ui.vercel.app/r/<slug>.json (pulls vantu-base once)
- [ ] 4. Wire: real data and state only; keep the item's structure and styles
- [ ] 5. Review: run checklist.md and fix until every line passes
```

## Files

| File | Read it when |
| --- | --- |
| [references/catalog.md](references/catalog.md) | Choosing an item the decision rules don't name |
| [INSTRUCTIONS.md](INSTRUCTIONS.md) | You need the short always-on rules (also for AGENTS.md / CLAUDE.md) |
| [checklist.md](checklist.md) | Before you finish. Always |

Full docs and source of every item: https://vantu-ui.vercel.app/llms-full.txt

## Decision rules

- **Screen frame** → `home-dashboard` / `team-dashboard` templates (sidebar + topbar + page header + main column + 360px rail).
- **KPIs at the top** → `metrics-strip` (`trend="line"` for sparklines).
- **Any list of records** → `data-table` (views, search, filters, bulk actions, pagination) — configure `columns`, don't fork it.
- **Small static table** → `table`.
- **Trend over time** → `area-chart` (with `previous` for comparison) or `line-chart` (2–6 series).
- **Part-to-whole** → `donut-chart` (≤ 6 parts). **Ranking** → `horizontal-bar-chart`. **Stage conversion** → `funnel-chart`. **Goal vs. target** → `radial-chart`. **Inline trend** → `sparkline`.
- **AI search / criteria** → `ai-search-panel`; **AI explanation** → `ai-insight`; **long AI work** → `progress-steps`.
- **Activity / timeline** → `activity-feed`. **Plan usage** → `usage-card`. **⌘K** → `command-menu`.

## Design rules

- Cards: `Card` shell (bg-subtle, 4px padding) → `CardHeader` with an `IconTile` → white `CardBody` panel.
- Colors, radii and shadows only from tokens; text never uses a chart series color.
- One primary action per view. Icon-only buttons need an `aria-label`.

## Setup

```bash
npx shadcn@latest add https://vantu-ui.vercel.app/r/vantu-base.json
npx shadcn@latest add https://vantu-ui.vercel.app/r/button.json
```

Files land at the paths they have in Vantu (`components/ui`, `components/blocks`, `components/charts`, `utils/cx.ts`, `styles/*`). Import `styles/globals.css` once in the root layout and keep the `@/` alias pointing at the folder that holds them.

checklist.md

The agent runs this before it says it’s done, and fixes until every line passes.

.claude/skills/vantu/checklist.md
# Vantu review checklist

Run before you finish. Fix, then run again until every line passes.

- [ ] Every region uses a Vantu item where one exists (check references/catalog.md).
- [ ] No raw hex colors, ad-hoc shadows or radii: `grep -rnE "#[0-9a-fA-F]{6}|shadow-\[|rounded-\[" src/app src/features` only hits intentional cases.
- [ ] Cards follow Card → CardHeader (IconTile) → CardBody; tables use ui/table or data-table.
- [ ] One primary button per view.
- [ ] Icon-only buttons have `aria-label`; form fields have labels.
- [ ] Charts keep their tooltip and screen-reader table; series colors are not reused for text.
- [ ] Numbers line up: totals shown in KPIs match the data in tables and charts.
- [ ] Layout checked at 1440px and 390px wide: no horizontal page scroll, tables scroll inside their card.
- [ ] `tsc --noEmit` and the production build pass.