Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

server-functions

Sterne427
Forks74
Aktualisiert5. Juni 2026 um 11:07

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.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly