What problem does it solve? Building APIs in full-stack TypeScript projects often requires duplicating type definitions, writing validation logic twice, and manually keeping client and server contracts in sync. This Skill provides comprehensive guidance for building tRPC APIs where types flow automatically from server to client without code generation. ## Core Features & Use Cases - Router and Procedure Patterns: Define queries, mutations, nested routers, and middleware with Zod input validation and context management. - React Query Integration: Use typed hooks for queries, mutations, optimistic updates, infinite scrolling, and real-time WebSocket subscriptions. - Next.js App Router Support: Covers server components, server actions, API route handlers, and client provider setup. - Use Case: When building a Next.js dashboard that needs authenticated CRUD endpoints, use this Skill to scaffold a protected tRPC router with Zod validation, auth middleware, and fully typed React Query hooks. ## Quick Start Ask the AI to create a tRPC router with a protected procedure, Zod input validation, and a React Query mutation hook for your Next.js app.