Open History to see the last commit
1# skills/_artifacts/start_skill_tree.yaml
2library:
3 name: '@tanstack/react-start'
4 version: '1.166.2'
5 repository: 'https://github.com/TanStack/router'
6 description: >-
7 Full-stack React framework built on TanStack Router and Vite.
8 Adds SSR, streaming, server functions (type-safe RPCs), middleware,
9 server routes, and universal deployment. Isomorphic by default β
10 all code runs in both environments unless explicitly constrained.
11generated_from:
12 domain_map: '_artifacts/start_domain_map.yaml'
13generated_at: '2026-03-07'
14β
15skills:
16 # ββ Start Core Skills βββββββββββββββββββββββββββββββββββββββββββ
17 - name: 'Start Core'
18 slug: 'start-core'
19 type: 'core'
20 domain: 'project-setup'
21 path: 'skills/start-core/SKILL.md'
22 package: 'packages/start-client-core'
23 description: >-
24 Core overview for TanStack Start: tanstackStart() Vite plugin,
25 getRouter() factory, root route document shell (HeadContent,
26 Scripts, Outlet), client/server entry points, routeTree.gen.ts,
27 tsconfig configuration. Entry point for all Start skills.
28 sources:
29 - 'TanStack/router:docs/start/framework/react/build-from-scratch.md'
30 - 'TanStack/router:docs/start/framework/react/quick-start.md'
31 - 'TanStack/router:docs/start/framework/react/guide/routing.md'
32β
33 - name: 'Server Functions'
34 slug: 'start-core/server-functions'
35 type: 'sub-skill'
36 domain: 'server-functions'
37 path: 'skills/start-core/server-functions/SKILL.md'
38 package: 'packages/start-client-core'
39 description: >-
40 createServerFn (GET/POST), validator (Zod or function),
41 useServerFn hook, server context utilities (getRequest,
42 getRequestHeader, setResponseHeader, setResponseStatus), error
43 handling (throw errors, redirect, notFound), streaming
44 (ReadableStream, async generators), FormData handling, file
45 organization (.functions.ts, .server.ts).
46 requires:
47 - 'start-core'
48 sources:
49 - 'TanStack/router:docs/start/framework/react/guide/server-functions.md'
50β
51 - name: 'Middleware'
52 slug: 'start-core/middleware'
53 type: 'sub-skill'
54 domain: 'middleware-and-context'
55 path: 'skills/start-core/middleware/SKILL.md'
56 package: 'packages/start-client-core'
57 description: >-
58 createMiddleware, request middleware (.server only), server
59 function middleware (.client + .server), context passing via
60 next({ context }), sendContext for client-server transfer,
61 global middleware via createStart in src/start.ts, middleware
62 factories, method order enforcement.
63 requires:
64 - 'start-core'
65 - 'start-core/server-functions'
66 sources:
67 - 'TanStack/router:docs/start/framework/react/guide/middleware.md'
68β
69 - name: 'Execution Model'
70 slug: 'start-core/execution-model'
71 type: 'sub-skill'
72 domain: 'execution-model'
73 path: 'skills/start-core/execution-model/SKILL.md'
74 package: 'packages/start-client-core'
75 description: >-
76 Isomorphic-by-default principle, environment boundary functions
77 (createServerFn, createServerOnlyFn, createClientOnlyFn,
78 createIsomorphicFn), ClientOnly component, useHydrated hook,
79 import protection, dead code elimination, environment variable
80 safety (VITE_ prefix, process.env).
81 requires:
82 - 'start-core'
83 sources:
84 - 'TanStack/router:docs/start/framework/react/guide/execution-model.md'
85 - 'TanStack/router:docs/start/framework/react/guide/environment-variables.md'
86β
87 - name: 'Server Routes'
88 slug: 'start-core/server-routes'
89 type: 'sub-skill'
90 domain: 'server-routes'
91 path: 'skills/start-core/server-routes/SKILL.md'
92 package: 'packages/start-client-core'
93 description: >-
94 Server-side API endpoints using the server property on
95 createFileRoute, HTTP method handlers (GET, POST, PUT, DELETE),
96 createHandlers for per-handler middleware, handler context
97 (request, params, context), request body parsing, response
98 helpers, file naming for API routes.
99 requires:
100 - 'start-core'
101 sources:
102 - 'TanStack/router:docs/start/framework/react/guide/server-routes.md'
103β
104 - name: 'Deployment'
105 slug: 'start-core/deployment'
106 type: 'sub-skill'
107 domain: 'deployment-and-rendering'
108 path: 'skills/start-core/deployment/SKILL.md'
109 package: 'packages/start-client-core'
110 description: >-
111 Deploy to Cloudflare Workers, Netlify, Vercel, Node.js/Docker,
112 Bun, Railway. Selective SSR (ssr option per route), SPA mode,
113 static prerendering, ISR with Cache-Control headers, SEO and
114 head management.
115 requires:
116 - 'start-core'
117 sources:
118 - 'TanStack/router:docs/start/framework/react/guide/hosting.md'
119 - 'TanStack/router:docs/start/framework/react/guide/selective-ssr.md'
120 - 'TanStack/router:docs/start/framework/react/guide/static-prerendering.md'
121 - 'TanStack/router:docs/start/framework/react/guide/full-stack-seo.md'
122β
123 # ββ React Start Skills ββββββββββββββββββββββββββββββββββββββββββ
124 - name: 'React Start'
125 slug: 'react-start'
126 type: 'framework'
127 domain: 'project-setup'
128 path: 'skills/react-start/SKILL.md'
129 package: 'packages/react-start'
130 description: >-
131 React bindings for TanStack Start: createStart, StartClient,
132 StartServer, React-specific imports, re-exports from
133 @tanstack/react-router, full project setup with React.
134 requires:
135 - 'start-core'
136 sources:
137 - 'TanStack/router:packages/react-start/src'
138 - 'TanStack/router:docs/start/framework/react/build-from-scratch.md'
139β
140 # ββ Lifecycle Skills ββββββββββββββββββββββββββββββββββββββββββββ
141 - name: 'Migrate from Next.js'
142 slug: 'lifecycle/migrate-from-nextjs'
143 type: 'lifecycle'
144 domain: 'project-setup'
145 path: 'skills/lifecycle/migrate-from-nextjs/SKILL.md'
146 package: 'packages/react-start'
147 description: >-
148 Step-by-step migration from Next.js App Router to TanStack
149 Start: route definition conversion, API mapping, server
150 function conversion from Server Actions, middleware conversion,
151 data fetching pattern changes.
152 requires:
153 - 'start-core'
154 - 'react-start'
155 sources:
156 - 'TanStack/router:docs/start/framework/react/guide/server-functions.md'
157 - 'TanStack/router:docs/start/framework/react/guide/middleware.md'
158 - 'TanStack/router:docs/start/framework/react/guide/execution-model.md'