tRPC framework patterns and best practices for type-safe APIs. Use when working with tRPC routers, procedures, subscriptions, middleware, or client setup. Covers WebSocket subscriptions, Zod validation, error handling, context creation. Triggers: trpc, router, procedure, subscription, publicProcedure, middleware, createTRPCRouter, wsLink, createWSClient, TRPCError, zod input, initTRPC.
$npx -y skills add chaingraphlabs/chaingraph --skill trpc-patternsInstalls into the current project.
Run `npx skills use "https://github.com/chaingraphlabs/chaingraph" --skill "chaingraphlabs/chaingraph/trpc-patterns"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/chaingraphlabs/chaingraph" that are relevant to the current task. Run `npx skills add "https://github.com/chaingraphlabs/chaingraph"` and select the relevant skills, then follow their instructions.