skills/trpc/SKILL.md
End-to-end typesafe APIs for TypeScript with automatic type inference, no code generation. MANDATORY TRIGGERS: trpc, tRPC, typesafe api, typesafe rpc, end-to-end type safety, @trpc/server, @trpc/client, @trpc/react-query, @trpc/tanstack-react-query, t3 stack trpc. Also trigger when user wants to build type-safe APIs without code generation, create full-stack TypeScript apps with shared types, integrate React Query with type-safe backends, or add real-time subscriptions via SSE. When in doubt about whether to use this skill for TypeScript API or RPC tasks, use it.
npx skillsauth add abhisheksharma-17/skills-graph trpcInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Move fast and break nothing. End-to-end typesafe APIs made easy — no schemas, no code generation.
Source: trpc.io v11.16.0 | Package: @trpc/server | License: MIT
| Reference | File | Read When |
|-----------|------|-----------|
| Overview & Setup | references/00-overview.md | Getting started, installation, what tRPC is, quickstart, packages |
| Routers & Procedures | references/01-routers-procedures.md | Defining queries, mutations, subscriptions, merging routers |
| Input & Output Validation | references/02-input-output-validation.md | Zod schemas, input validation, output validators, custom validators |
| Context & Middleware | references/03-context-middleware.md | Request context, auth middleware, logging, chaining, context extension |
| Error Handling | references/04-error-handling.md | TRPCError, error codes, error formatting, error shapes |
| Client & Links | references/05-client-links.md | Vanilla client, httpBatchLink, splitLink, loggerLink, custom links |
| React Query Integration | references/06-react-query.md | @trpc/tanstack-react-query, useQuery, useMutation, prefetching |
| Next.js Integration | references/07-nextjs-integration.md | App Router setup, Pages Router, RSC, server-side calls, API routes |
| Subscriptions & Streaming | references/08-subscriptions-streaming.md | SSE, httpSubscriptionLink, httpBatchStreamLink, generators |
| Server Adapters | references/09-server-adapters.md | Express, Fastify, standalone, fetch/edge, AWS Lambda, Cloudflare |
| Testing | references/10-testing.md | createCallerFactory, integration tests, frontend testing, mocking |
| Advanced Patterns | references/11-advanced-patterns.md | Inference helpers, merging routers, factory patterns, authorization |
# Core packages
npm install @trpc/server @trpc/client zod
# React Query integration
npm install @trpc/tanstack-react-query @tanstack/react-query
# Next.js integration
npm install @trpc/next
development
High-throughput LLM inference and serving engine with PagedAttention, continuous batching, and OpenAI-compatible API. MANDATORY TRIGGERS: vLLM, vllm, LLM serving, LLM inference engine, PagedAttention. Also trigger when the user wants to serve LLMs in production, deploy models with tensor parallelism, use speculative decoding, quantize models for inference, build OpenAI-compatible API servers, or optimize LLM throughput and latency. When in doubt about whether to use this skill for LLM serving tasks, use it.
tools
Type-safe Python agent framework for building production-grade GenAI applications with Pydantic validation, structured outputs, and dependency injection. MANDATORY TRIGGERS: pydantic-ai, pydantic_ai, PydanticAI, pydantic ai agent. Also trigger when the user wants to build type-safe AI agents in Python, create structured LLM outputs with Pydantic models, implement dependency injection for agents, use tools/capabilities with LLMs, or build multi-agent systems with Python type safety. When in doubt about whether to use this skill for Python AI agent tasks, use it.
development
Durable execution platform for building fault-tolerant workflows, long-running processes, and resilient distributed applications. MANDATORY TRIGGERS: temporal, temporal.io, temporalio, durable execution, workflow orchestration engine. Also trigger when the user wants to build fault-tolerant workflows, implement saga patterns, create long-running distributed processes, orchestrate microservices with retries and timeouts, or build durable AI agent pipelines. When in doubt about whether to use this skill for workflow orchestration or durable execution tasks, use it.
tools
AI framework for building RAG pipelines, agents, workflows, and data-augmented LLM applications with 300+ integrations. MANDATORY TRIGGERS: llamaindex, llama-index, llama_index, LlamaIndex, VectorStoreIndex, SimpleDirectoryReader, LlamaHub, LlamaParse. Also trigger when the user wants to build RAG applications with LlamaIndex, create document indexing pipelines, build agentic workflows with tool calling, implement structured data extraction from documents, or connect LLMs to custom data sources. When in doubt about whether to use this skill for RAG, document indexing, or LLM data augmentation tasks, use it.