Skip to main content

server-functions

Write and consume TanStack Start server functions — the web-only data layer. ACTIVATE when adding backend logic to a web-only Ship app (no apps/api), fetching data in a route loader, or when an agent reaches for createServerFn. Enforces importing createServerFn from @tanstack/react-start (NOT @tanstack/react-router), the createServerFn({ method }).handler() shape with optional .inputValidator(zodSchema), and consuming via a route loader + Route.useLoaderData(). Covers when to use server functions vs the oRPC client.

Jump to install

Source facts

Repository
paralect/ship
Last source activity
June 5, 2026 at 11:07
Detected SKILL.md language
English
Stars
431
Forks
72

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.