start-core/server-functions

Official

Type-safe server functions for TanStack Start.

AuthorTanStack
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides type-safe, server-only functions for TanStack Start, enabling you to run server-side logic behind createServerFn without leaking implementation to the client and keeping loaders/isomorphic code clean.

Core Features & Use Cases

  • Create server functions with createServerFn for GET/POST methods, with input validation and server-only logic.
  • Client integrations via useServerFn, server context utilities (getRequest, getRequestHeader, setResponseHeader, setResponseStatus).
  • Error handling & streaming with redirect, notFound, and FormData support; suitable for loaders, components, and server routes.

Quick Start

Create a server function with createServerFn, wire it into a loader or component, and call it to perform server-side tasks.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: start-core/server-functions
Download link: https://github.com/TanStack/router/archive/main.zip#start-core-server-functions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.