trpc - End-to-end typesafe APIs with tRPC
Build and consume fully typesafe APIs without schemas or code generation
Tags
Updated: 2026-02-12Capabilities
Typical Inputs
Typical Outputs
What this skill does
- initialize routers
- define procedures
- validate inputs/outputs
- create context
- apply middlewares
- handle errors
- integrate with TanStack Query
Inputs
- TypeScript types
- API endpoints
- validation schemas
- context data
- middleware configurations
Outputs
- type-safe API client
- validated procedure calls
- error responses
- context objects
- middleware chains
Requirements
- TypeScript runtime
- tRPC framework
- Zod/Standard Schema
- React integration
- Node.js environment
