# tRPC End-to-End Typesafe API Framework

> tRPC enables developers to build fully typesafe APIs in TypeScript without schemas, code generation, or runtime bloat. The client infers server types directly, providing autocompletion for inputs, outputs, and errors. It supports request batching, subscriptions, and adapters for Next.js, Express, Fastify, and many other frameworks.

- Skill: `agentskillexchange/trpc-end-to-end-typesafe-api-framework` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/trpc-end-to-end-typesafe-api-framework`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/trpc-end-to-end-typesafe-api-framework/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/trpc-end-to-end-typesafe-api-framework

---


# tRPC End-to-End Typesafe API Framework

tRPC enables developers to build fully typesafe APIs in TypeScript without schemas, code generation, or runtime bloat. The client infers server types directly, providing autocompletion for inputs, outputs, and errors. It supports request batching, subscriptions, and adapters for Next.js, Express, Fastify, and many other frameworks.

## Installation

Use the upstream install or setup path that matches your environment:
- yarn create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
- npx create-next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
- pnpm create next-app --example https://github.com/trpc/trpc --example-path examples/next-prisma-starter trpc-prisma-starter
- npx @tanstack/intent@latest install

Basic usage or getting-started notes:
- 🐎&nbsp; Snappy DX - No code generation, run-time bloat, or build pipeline.
- There are a few [examples](https://trpc.io/docs/example-apps) that you can use for playing out with tRPC or bootstrapping your new project. For example, if you want a Next.js app, you can use the full-stack Next.js ex...
- **Quick start with a full-stack Next.js example:**

- Source: https://github.com/trpc/trpc
- Extracted from upstream docs: https://raw.githubusercontent.com/trpc/trpc/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/trpc-end-to-end-typesafe-api-framework/)

