backend-trpc
Installation
SKILL.md
tRPC (Type-Safe API Layer)
Overview
tRPC enables end-to-end typesafe APIs by sharing TypeScript types between client and server. No code generation, no schema files—just TypeScript.
Version: v11.7+ (2024-2025)
Requirements: TypeScript ≥5.7.2 with strict mode
Key Benefit: Change a procedure's input/output → TypeScript errors appear immediately on client.
When to Use This Skill
✅ Use tRPC when:
- Building full-stack TypeScript apps (Next.js, React + Express)
- You control both client and server code
- Need type-safe API without GraphQL complexity
- Want automatic request batching and caching
- Building internal APIs, dashboards, admin panels