trpc-knowledge-patch

Installation
SKILL.md

tRPC v11 Knowledge Patch

Claude's baseline knowledge covers tRPC through v10. This skill provides features from v11 (December 2024) onwards.

Reference Index

  • v11 Migration & Breaking Changes — Transformers moved to links, React Query v5 required, createTRPCProxyClient renamed, TypeScript 5.7.2+ / Node 18+ requirements
  • Subscriptions & Streaming — SSE subscriptions via async generators, tracked() reconnection, httpSubscriptionLink, useSubscription status union, streaming queries/mutations, embedded promises with httpBatchStreamLink
  • TanStack React Query Integration — New @trpc/tanstack-react-query package, createTRPCContext, createTRPCOptionsProxy for RSC/singletons, .queryOptions()/.mutationOptions() API, migration codemod
  • Next.js Server Actionsexperimental_caller with experimental_nextAppDirCaller, turning procedures into plain async functions, auth guards, progressive enhancement
  • Advanced Features — Lazy routers, localLink, shorthand router definitions, non-JSON content types (FormData/File/Blob), @trpc/openapi (alpha), HTTP/2 standalone adapter

Quick Reference — v11 Breaking Changes

Change v10 v11
Transformer location createTRPCClient({ transformer }) httpBatchLink({ transformer })
React Query version v4 v5 required (isPending replaces isLoading)
Client constructor createTRPCProxyClient createTRPCClient (same API)
Related skills
Installs
2
GitHub Stars
19
First Seen
Apr 7, 2026