vite-tanstack
TanStack (Router/Query/Form/Table) configuration guide for Vite + React projects.
Skill by JsonLee12138
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jsonlee12138-vite-tanstack
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/vite-tanstack
What's inside
- Skill name
vite-tanstack- Description
- TanStack (Router/Query/Form/Table) configuration guide for Vite + React projects. Covers Vite plugin setup, main.tsx registration, DevTools configuration, and editor settings. Use when setting up or reviewing TanStack config in a Vite project. Triggers on: vite-tanstack, tanstack config, tanstack router setup, tanstack query setup, tanstack form setup, tanstack table setup.
- License
- Apache-2.0
- Instructions
- 106 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- form.md · references/
- query.md · references/
- router.md · references/
- table.md · references/
SKILL.md (first lines)
# Vite + TanStack Configuration Guide
Provides configuration references for TanStack libraries in a Vite + React + TypeScript project.
## Modules
Four optional modules — load only what's needed:
| Module | What it covers |
|--------|---------------|
| **router** | Vite plugin, createRouter, RouterProvider, type registration, VSCode settings |
| **query** | QueryClient init, QueryClientProvider |
| **form** | Form provider setup |
| **table** | react-table initialization |
All modules share a unified DevTools setup via `@tanstack/react-devtools` + `@tanstack/devtools-vite`.
## Argument Parsing
From `$ARGUMENTS`:
- Module names: `router`, `query`, `form`, `table` (space-separated, any combination)
- `all` — load all four modules
- No arguments — ask user which modules they need using AskUserQuestion (multiSelect)
**Examples:**
- `/vite-tanstack router query` → load router.md + query.md
- `/vite-tanstack all` → load all four references
- `/vite-tanstack` → ask which modules are needed
## Shared Configuration
### Package Dependencies
**dependencies:**
```
@tanstack/react-devtools
@tanstack/react-router (if router)
@tanstack/react-router-devtools (if router)
@tanstack/react-query (if query)
@tanstack/react-query-devtools (if query)
@tanstack/react-form (if form)
@tanstack/react-form-devtools (if form)
@tanstack/react-table (if table)
```
**devDependencies:**
```
@tanstack/devtools-vite
@tanstack/router-plugin (if router)
```
### Vite Plugin: Unified DevTools
In `vite.config.ts`, always register the devtools plugin:
```ts
import { devtools } from '@tanstack/devtools-vite';
export default defineConfig({
plugins: [
devtools({
removeDevtoolsOnBuild: true,
}),
// ... other plugins
],
});
```
### main.tsx: TanStackDevtools Component
In `main.tsx`, the `TanStackDevtools` component wraps all module-specific devtools panels as plugins:
```tsx
import { TanStackDevtools } from '@tanstack/react-devtools';
// Inside render tree:
<TanStackDevtools
plugins={[
// Add each module's devtools panel as a plugin here
// See individual module references for specifics
]}
/>
```
**Component nesting order:** `QueryClientProvider` wraps `TanStackDevtools` + `RouterProvider`. Each module reference shows its specific position.
## Module References
Load these based on requested modules:
- **Router**: See [references/router.md](references/router.md) for Vite plugin, router creation, type registration, VSCode settings, and Router DevTools panel
- **Query**: See [references/query.md](references/query.md) for QueryClient initialization, provider setup, and Query DevTools panel
- **Form**: See [references/form.md](references/form.md) for Form provider setup and Form DevTools panel
- **Table**: See [references/table.md](references/table.md) for react-table initialization
## Compliance Checklist
When reviewing or writing TanStack config code, verify:
- [ ] `@tanstack/devtools-vite` plugin registered in `vite.config.ts` with `removeDevtoolsOnBuild: true`
- [ ] `TanStackDevtools` component present in render tree with appropriate module panels
- [ ] Each module's provider is registered in correct nesting order
- [ ] TypeScript module augmentation declared for router (if using router)
- [ ] VSCode settings configured for generated files (if using router)From JsonLee12138/prompts, Apache-2.0.
More from JsonLee12138/prompts
- 0.507score
actions-npm
JsonLee12138
Use when creating or debugging GitHub Actions workflows that publish npm packages with trusted publishing / OIDC.
SkillCFreshness: C★ 2Claude Code +9 - 0.448score
claude-design
JsonLee12138
Unified design workflow router for critique, accessibility review, developer handoff, design system work, UX copy, user research, and research synthesis.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
components
JsonLee12138
Use when designing, implementing, or reviewing React/TypeScript components with naming conventions, props typing, hooks usage, and UnoCSS styling standards.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
design-patterns-principles
JsonLee12138
Use when a request asks for software design patterns or design principles, including explanations, comparisons, summaries, or quick reference grounded in…
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
eslint-config
JsonLee12138
Use when configuring ESLint with @antfu/eslint-config for a single project or a monorepo workspace, including flat config setup, shared config packages…
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
makefile
JsonLee12138
Use when creating, editing, or validating Makefiles.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
solo-ops
JsonLee12138
AI team role manager for multi-agent development workflows.
SkillDFreshness: D★ 2Claude Code +9 - 0.448score
unocss-shadcn
JsonLee12138
Configure UnoCSS with unocss-preset-shadcn using a semi-automatic, framework-agnostic workflow.
SkillDFreshness: D★ 2Claude Code +9 - 0.417score
brainstorming
JsonLee12138
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior.
SkillDFreshness: D★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Feb 24, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/JsonLee12138/prompts
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from JsonLee12138
- 0.507score
actions-npm
JsonLee12138
Use when creating or debugging GitHub Actions workflows that publish npm packages with trusted publishing / OIDC.
SkillCFreshness: C★ 2Claude Code +9 - 0.502score
task-splitting
JsonLee12138
Decompose requirement, design, or brainstorming documents into reviewable task drafts with one function per task and one file per task, then create…
SkillDFreshness: D★ 33Claude Code +9 - 0.502score
prompt-engineering-patterns
JsonLee12138
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.
SkillDFreshness: D★ 33Claude Code +9 - 0.497score
mckinsey-consultant
JsonLee12138
McKinsey-style business consultant for hypothesis-driven problem solving, structured analysis, and strategic recommendations Use when the user asks for…
SkillDFreshness: D★ 33Claude Code +9 - 0.497score
pm
JsonLee12138
Full-stack product manager covering strategy, discovery, execution, go-to-market, market research, data analytics, marketing growth, and PM toolkit Use when…
SkillDFreshness: D★ 33Claude Code +9 - 0.497score
pencil-designer
JsonLee12138
Senior Pencil UI/UX Designer specializing in design systems, responsive interfaces, and accessible applications with mandatory Pencil MCP integration Use when…
SkillDFreshness: D★ 33Claude Code +9
Cite this page
vite-tanstack skill. Agent Mart. https://agentmart.dev/skills/jsonlee12138-vite-tanstack (last updated 2026-10-24)