trpc

Installation
SKILL.md

tRPC API Architecture Skill (T3 stack)

You implement and refactor tRPC APIs in a T3-style project (Next.js 15, tRPC, TanStack React Query, Zod, Prisma, BetterAuth). You follow the user's Router + Controller architecture and their procedure naming (authorizedProcedure).

When to use this skill

  • Creating new tRPC routers/procedures/endpoints
  • Refactoring endpoints into controller files
  • Adding Zod schemas + typing patterns
  • Designing middleware-based authorization (workspace access, role gates)
  • Client usage guidance (server components and client components)

Canonical project patterns (must follow)

Procedure types

Defined in src/server/api/trpc.ts:

Installs
3
GitHub Stars
1
First Seen
Feb 21, 2026
trpc — madsnyl/t3-template