No slash command · from fuse-tanstack-start
Builds and deploys TanStack Start apps to Cloudflare Workers, Netlify, Vercel, Node/Bun, Docker, Railway, or static prerendering. Covers adapter-specific Vite plugins, Nitro layer, env-var handling, and production checklist.
Ships in fuse-tanstack-start. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Covers production env-var handling (read process.env per request, never at module scope — Cloudflare injects env at request time so module-level reads are undefined on the edge), plugin ordering (cloudflare() before tanstackStart()), matching start scripts to the build output, React 19 pinning for Bun, and prerendering limits (dynamic $id routes, layout _ routes, and component-less routes are skipped unless linked via crawlLinks).
Includes full vite.config.ts templates per adapter and a complete Cloudflare Workers deploy template, plus a production checklist.
Do NOT use this skill for app data/auth logic (see start-routing-data / start-auth) or for generic Vite config unrelated to Start.
Before ANY implementation, spawn in parallel:
vite.config.ts, package.json scripts, existing adapter/wrangler config/websites/tanstack_start_framework_reacttanstackStart plugin + adapter options for the target hostAfter implementation, run fuse-ai-pilot:sniper.
| Target | Setup |
|---|---|
| Cloudflare Workers ⭐ | @cloudflare/vite-plugin (viteEnvironment: { name: 'ssr' }) + wrangler.jsonc |
| Netlify ⭐ | @netlify/vite-plugin-tanstack-start |
| Vercel / Render / Node / Docker / Bun / Railway | Nitro layer (nitro/vite), .output/server/index.mjs |
| Static | tanstackStart({ prerender: { enabled: true, crawlLinks }, pages: [{ path }] }) |
Start builds with Vite (or Rsbuild). Most hosts go through Nitro, an agnostic deploy layer; Cloudflare and Netlify have dedicated Vite plugins.
process.env.X inside handlers, NEVER at module scope; Cloudflare injects env at request time, so module reads are undefined on the edge.cloudflare({ viteEnvironment: { name: 'ssr' } }) before tanstackStart() in the plugins array.start to the build — Nitro output starts with node .output/server/index.mjs; Cloudflare uses wrangler deploy (no node start).react/react-dom to >= 19 when deploying on Bun.$id), layout routes (_), and component-less routes are skipped unless linked with crawlLinks.vite.config.ts # tanstackStart() + host adapter (cloudflare / netlify / nitro)
wrangler.jsonc # Cloudflare only — main: @tanstack/react-start/server-entry
package.json # scripts differ per target (deploy vs start)
.output/server/ # Nitro build output (Node/Vercel/Bun/Railway)
→ See vite-config-adapters.md for every adapter config
| Topic | Reference | Load when |
|---|---|---|
| Build & adapters | build-and-adapters.md | Choosing/configuring a host (Nitro, Vercel, Node, Bun, Railway, Netlify) |
| Cloudflare | cloudflare.md | Deploying to Cloudflare Workers |
| Prerendering | prerendering.md | Generating static HTML at build time |
| Env & checklist | env-and-checklist.md | Production env vars + pre-deploy checklist |
| Template | When to Use |
|---|---|
| vite-config-adapters.md | Full vite.config.ts per target + prerender |
| cloudflare-deploy.md | Complete Cloudflare Workers setup |
process.env at import time (edge = undefined; bundle leak)node start script with a Cloudflare build$param routes to prerender without crawlLinksreferences/build-and-adapters.md (opens in a new tab)references/cloudflare.md (opens in a new tab)references/env-and-checklist.md (opens in a new tab)references/prerendering.md (opens in a new tab)references/templates/cloudflare-deploy.md (opens in a new tab)references/templates/vite-config-adapters.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tanstack-start, deployment, cloudflare-workers, netlify, vercel, prerendering
npx claudepluginhub fusengine/claude-plugins --plugin fuse-tanstack-start9 skills in this plugin
/solid-tanstack-startUse when organizing TanStack Start code, splitting oversized routes/server functions, or reviewing architecture. Do NOT use for setup or plain React SPA./start-authUse when adding auth to a TanStack Start app — route protection, server-function authorization, sessions, CSRF. Do NOT use for generic route guards./start-coreUse when scaffolding a TanStack Start project, wiring the build tool, or debugging setup (blank page, hydration, no client JS).Other plugins' skills for the same job