Trpc

tRPC v11 end-to-end type-safe APIs for TypeScript. Covers router and procedure definitions, input validation with Zod, middleware and context, subscriptions, error handling with TRPCError, React client hooks via @trpc/react-query, server-side callers with createCallerFactory, adapter setup (standalone, Express, Fastify, Hono), and testing patterns. Use when building tRPC routers, defining procedures, setting up middleware, configuring adapters, integrating tRPC with React, handling errors, implementing subscriptions, or testing tRPC procedures.

oakoss f730cb8 9 files · 41.8 KB Updated

File contents

oakoss/agent-skills/tree/main/skills/trpc commit f730cb85ec

Frequently asked questions

npx skillmds add oakoss/trpc