tanstack-start
Skill1 starsChanged 3 months agoMITView on GitHub
Build, review, debug, configure, migrate, or plan TanStack Start React applications with current docs. Use for TanStack Start, @tanstack/react-start, file-based routing, route colocation (-components/-hooks/-lib beside routes), feature modules (src/modules reusable code), pathless layouts, TanStack Router integration, Vite/Rsbuild setup, SSR, streaming, server functions, server routes, middleware, loaders, TanStack Query integration, environment variables, sessions/auth, deployment, hosting, and Next.js migrations.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- itsLeonB/agent-config-managertheir own version, first seen Nov 11, 2026
- vercel-labs/json-rendertheir own version, first seen Oct 29, 2026
- Firzus/agent-skillstheir own version, first seen Oct 23, 2026
- rockcookies/skillstheir own version, first seen Oct 13, 2026
- joelhooks/joelclawtheir own version, first seen Oct 8, 2026
- Mindrally/skillstheir own version, first seen Oct 8, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- vercel-labs/json-render★ 20ksame name
- Mindrally/skills★ 275same name
- joelhooks/joelclaw★ 68same name
- dlupiak/claude-session-dashboard★ 66same name
- Firzus/agent-skills★ 6same name
- Aver005/agent-skills★ 2same name
- rockcookies/skills★ 1same name
- authdog/agent-skills★ 0same name
- itsLeonB/agent-config-manager★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository81 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agents-mdSkill
- base-uiSkill
- better-authSkill
- brainstormSkill
- bullmqSkill
- bunSkill
- clickhouseSkill
- clone-to-tempSkill
- compound-uiSkill
- copywritingSkill
- create-durable-planSkill
- d3Skill
- date-fnsSkill
- decimal-jsSkill
- deduplicateSkill
- design-engineerSkill
- designSkill
- drizzle-ormSkill
- effectSkill
- elysia-architectureSkill
- elysiaSkill
- evlogSkill
- feedsmithSkill
- grokSkill
- handoffSkill
- heyapiSkill
- impitSkill
- intlayerSkill
- jsdocSkill
- kafkaSkill
- kill-legacySkill
- legend-stateSkill
- loopSkill
- mantine-hooksSkill
- mobbinSkill
- motionSkill
- oxfmtSkill
- oxlintSkill
- permixSkill
- plain-languageSkill
- playwrightSkill
- react-boundariesSkill
- react-emailSkill
- reactSkill
- reorganizeSkill
- researchSkill
- schema-dtsSkill
- sentrySkill
- seoSkill
- setup-competitors-mdSkill
- setup-copywriting-mdSkill
- setup-icp-mdSkill
- setup-project-mdSkill
- simplify-layoutSkill
- storybookSkill
- subagentsSkill
- tailwindSkill
- tailwind-variantsSkill
- takumiSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 5 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 8
Use this skill when the work touches TanStack Start or @tanstack/react-start.
- Very specific: line 15
Start entrypoints: src/router.tsx, src/routes/__root.tsx, generated routeTree.gen.ts, optional src/start.ts, and optional custom …
- Very specific: line 19
When adding, moving, or reviewing page/layout UI, hooks, or helpers under src/routes, follow route-colocation.md.
- Distinctive: line 25
Treat TanStack Start as a full-stack React framework powered by TanStack Router.
- Very specific: line 26
Prefer folder + index.tsx for every page route (avoid flat page leaves when colocation is needed).
- Very specific: line 28
Use server functions for same-origin app RPC.
- Distinctive: line 29
Do not rely on route guards as the data security boundary.
- Very specific: line 31
If the app defines src/start.ts, explicitly preserve or install CSRF middleware for server functions.
- Distinctive: line 32
Read server environment variables per request in edge runtimes.
- Distinctive: line 33
Keep generated route-tree files generated.
- Distinctive: line 37
Prefer the repo's existing checks.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TanStack Start
Use this skill when the work touches TanStack Start or @tanstack/react-start.
Workflow
- Identify the app's current Start shape before changing code:
- Package versions for
@tanstack/react-start,@tanstack/react-router, build plugins, React, and optional@tanstack/react-query. - Build tool: Vite or Rsbuild.
- Start entrypoints:
src/router.tsx,src/routes/__root.tsx, generatedrouteTree.gen.ts, optionalsrc/start.ts, and optional customsrc/server.ts. - Route files under
src/routes, especially loaders,server.handlers, middleware, and auth boundaries.
- Package versions for
- Refresh current docs when the task depends on latest behavior, deployment adapters, security defaults, RC/experimental APIs, or a version mismatch. Start from source-map.md.
- For new apps or routing/setup work, use setup-routing.md.
- When adding, moving, or reviewing page/layout UI, hooks, or helpers under
src/routes, follow route-colocation.md. Prefer folder +index.tsxfor every page; keep route-only UI in-components/-hooks/-lib; put reusable feature code insrc/modules/<feature>/. - For data loading, server functions, server routes, middleware, env boundaries, auth, and execution-model issues, use server-data.md.
- For deployment, production modes, prerendering, ISR, SPA mode, selective SSR, custom server entrypoints, and verification, use deployment-production.md.
Implementation Judgment
- Treat TanStack Start as a full-stack React framework powered by TanStack Router. Keep Router conventions central: typed file routes, route loaders, route context, search params, and route invalidation.
- Prefer folder +
index.tsxfor every page route (avoid flat page leaves when colocation is needed). Colocate route-only modules with hyphen-prefixed folders (-components,-hooks,-lib, …). Put reusable feature code insrc/modules/<feature>/(reuse test). Never add unprefixed non-route files undersrc/routes— they become URLs. Details: route-colocation.md. - TanStack Start remains a Release Candidate as of 2026-08-06: feature-complete with an API considered stable, but not bug-free before v1. npm
latestis the current recommended line. React Server Components remain experimental. Verify the latest docs before depending on unstable or newly changed behavior. - Use server functions for same-origin app RPC. Use server routes for public or external HTTP endpoints, webhooks, form posts, and API-style
Responsehandling. - Do not rely on route guards as the data security boundary. Authorize every server function and server route that touches private data.
- Remember that route loaders are isomorphic. Put secrets and server-only work behind server functions, server routes, server-only utilities, or
.server.*modules. - If the app defines
src/start.ts, explicitly preserve or install CSRF middleware for server functions. - Read server environment variables per request in edge runtimes. Use public prefixes only for intentionally client-exposed values.
- Keep generated route-tree files generated; do not hand-edit them unless the repo explicitly owns a generated snapshot workflow.
Verification
Prefer the repo's existing checks. For meaningful Start changes, include at least the relevant subset of:
- Typecheck/build, ensuring route tree generation runs.
- Unit or integration tests for loaders, server functions, server routes, and middleware.
- Browser smoke test for navigation, hydration, redirects, pending/error states, and forms.
- Deployment or adapter smoke test when changing hosting, env, SSR mode, prerendering, or server entrypoints.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

