用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ehyland/skills --skill trpc命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
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.
A fully featured React components library
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.
正在显示 SKILL.md
基于 SOC 职业分类
| name | trpc |
| description | End-to-end typesafe APIs with tRPC |
| metadata | {"author":"Eamon Hyland","version":"2026.2.3","source":"Generated from https://trpc.io/docs, scripts located at https://github.com/ehyland/skills"} |
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.
| 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 |
| 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 |
| Topic | Description | Reference |
|---|---|---|
| Base Procedures | Creating and using reusable base procedures | best-practices-base-procedures |