Skip to content

hrida-ai/zlabs-coding-guidelines

v1.0.0

Zlabs coding guidelines as on-demand skills for TypeScript, React/Next.js, NestJS, tRPC, Prisma, Better Auth and Turborepo codebases

nestjs-trpc

Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod input/output schemas, and the Rust CLI that generates the AppRouter type for clients. Use this skill whenever the user mentions nestjs-trpc, tRPC in a NestJS app, @Router or @Query decorators, TRPCModule, AppRouterHost, "typed API between my Nest backend and frontend", generating AppRouter types, or is migrating a NestJS GraphQL/REST API to tRPC — even if they don't name the library explicitly.

Version
1.0.0
License
MIT
Read SKILL.md at the source

Pinned to revision d196d27c19bb, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.