tanstack-start-conventions
Installation
SKILL.md
TanStack Start conventions
Stack conventions for TanStack Start apps in this org. Requires skill tanstack-router-conventions (search params, pretty URLs, loaders + Query, form vs useMutation, typed Router TS, devtools) - do not duplicate it here. Pair with tanstack-start-auth for auth and session layout.
Which reference to read
| Task | File |
|---|---|
Scaffold or refactor app/src folders, thin routes, Layout/Page naming, tests |
app-structure.md |
Split code between .server.ts / .functions.ts, import protection, beforeLoad vs loader, error logging |
client-server-boundaries.md |
Write createServerFn, validation, form submit, invalidation |
server-functions.md |
| Loader or component hits DB/fs/secrets, client-nav bugs | execution-model.md |
Set route ssr, debug SSR / hydration, Query dehydration |
selective-ssr.md |
API route under routes/api/ (path params, search, POST body) |
params-search-api-routes.md |
Experimental RSC (renderServerComponent, createCompositeComponent) |
server-components.md |
bun --bun for Vite + Nitro scripts |
local-runtime.md |
Auth flows: skill tanstack-start-auth.