home/categories/backend/tanstack-router-packages-start-client-core-skills-start-core-server-functions-skill-md
backenddevelopment

start-coreserver-functions

createServerFn (GET/POST), inputValidator (Zod or function), useServerFn hook, server context utilities (getRequest, getRequestHeader, setResponseHeader, setResponseStatus), error handling (throw errors, redirect, notFound), streaming, FormData handling, file organization (.functions.ts, .server.ts).

TanStack
maintainer
TanStack
Updated 3/16/2026
Stars
14113
Forks
1630
quick start

Installation and usage

createServerFn (GET/POST), inputValidator (Zod or function), useServerFn hook, server context utilities (getRequest, getRequestHeader, setResponseHeader, setResponseStatus), error handling (throw errors, redirect, notFound), streaming, FormData handling, file organization (.functions.ts, .server.ts).

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use start-coreserver-functions