trpc-type-safety

Installation
Summary

End-to-end type-safe APIs for TypeScript with zero code generation.

  • Shares TypeScript types between client and server automatically—no codegen required, with full type inference across queries, mutations, and subscriptions
  • Integrates seamlessly with React Query for caching, optimistic updates, and infinite queries; supports Next.js App Router, Server Components, and WebSocket subscriptions
  • Validates all inputs with Zod schemas; includes middleware for authentication, logging, and rate limiting; error handling with typed TRPCError codes
  • Supports batching, DataLoader patterns, file uploads via signed URLs, and production patterns like caching, monitoring, and OpenTelemetry tracing
SKILL.md

tRPC - End-to-End Type Safety

Related skills
Installs
1.1K
GitHub Stars
47
First Seen
Jan 23, 2026