trpc
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
More from ehyland/skills
mantine
A fully featured React components library
21ehyland
Eamon Hyland's opinionated tooling and conventions for TypeScript projects. Use when setting up new projects, configuring a linter, monorepos, library publishing, or when the user mentions Eamon's preferences.
15vitest
Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.
10web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
10tsdown
Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.
9turborepo
|
9