tRPC Development Guidelines
Objective: Define standards for building end-to-end type-safe APIs with tRPC in TypeScript projects, covering router design, input validation, authentication, client integration, error handling, and testing.
Source File
View the full rule: .agent/rules/trpc.md
Sections
- Overview & When to Use
- Router Definition & Organization
- Procedures, Validation & Middleware
- Authentication, Context & Error Handling
- Client Integration, Testing & Performance
