trpc

SKILL.md

The skill is based on tRPC v11.9.0, generated at 2026-02-03.

tRPC allows you to build & consume fully typesafe APIs without schemas or code generation. It uses TypeScript to share types between your server and client.

Core References

Topic Description Reference
Routers Initializing tRPC and defining routers core-router
Procedures Defining queries, mutations, and subscriptions core-procedure
Validators Input and output validation using Zod/Standard Schema core-validator
Context Defining and creating context (inner/outer) core-context
Middlewares Procedure middlewares and context extension core-middleware
Vanilla Client Setting up and using the vanilla tRPC client core-client-vanilla

Features

Topic Description Reference
Error Handling Throwing and handling TRPCError features-error-handling
Links Understanding and using tRPC links features-links
TanStack Query Integration with TanStack React Query features-tanstack-react-query

Best Practices

Topic Description Reference
Base Procedures Creating and using reusable base procedures best-practices-base-procedures
Weekly Installs
15
Repository
ehyland/skills
First Seen
Feb 7, 2026
Installed on
opencode14
github-copilot11
gemini-cli10
amp10
codex10
kimi-cli10