tRPC end-to-end type safety, procedures, routers, middleware, and React integration.

MITAuto-check: notesBackend & APIs

Install Trpc

skills CLI
$ npx skills add majiayu000/claude-skill-registry --skill trpc -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/claude-skill-registry trpc --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/claude-skill-registry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/api/trpc .claude/skills/trpc && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
trpc
GitHub stars
666
Used in
1 other repo
Token cost
~595 tokens
SKILL.md length
83 words
Files
2
Skills in repo
971
Repo updated
First seen
Licence
MIT

At a glance

tRPC end-to-end type safety, procedures, routers, middleware, and React integration.

  • Tasks that involve gRPC and Protobuf
  • SKILL.md covers Capabilities, Usage, Patterns and Best Practices, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Type safety

What it does

Trpc is an agent skill from majiayu000/claude-skill-registry. tRPC end-to-end type safety, procedures, routers, middleware, and React integration.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `metadata.json`).

It sits in Backend & APIs, covering gRPC and Protobuf and Type safety. It works with tRPC, React and Next.js. The repository describes itself as: Searchable Claude Code skills catalog with source-linked guides and generated registry artifacts. The licence is MIT.

When your agent uses it

  • Tasks that involve gRPC and Protobuf
  • Tasks that involve Type safety

Example prompts

  • “/trpc”

Requirements

  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Glob, Grep

What it can do on your machine

Read from SKILL.md and the folder at commit 000116a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Glob
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Trpc loads about 595 tokens when it runs. Until then it costs about 22 tokens; SKILL.md has 83 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~22
When it runs · the whole SKILL.md, loaded when a task matches
~595

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Glob, Grep

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from majiayu000/claude-skill-registry at commit 000116a, republished under its MIT licence (© majiayu000). 83 words, ~595 tokens.

Download SKILL.mdSave it as .claude/skills/trpc/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
trpc
description
tRPC end-to-end type safety, procedures, routers, middleware, and React integration.
allowed-tools
Read, Write, Edit, Bash, Glob, Grep

tRPC Skill

Expert assistance for building type-safe APIs with tRPC.

Capabilities

  • Create type-safe procedures and routers
  • Implement middleware for auth/validation
  • Set up tRPC with Next.js/React
  • Handle subscriptions
  • Configure error handling
  • Build type-safe client hooks

Usage

Invoke this skill when you need to:

  • Build end-to-end type-safe APIs
  • Integrate with React/Next.js
  • Replace REST with type-safe RPC
  • Implement real-time features

Patterns

Router Definition
typescript
// server/trpc/routers/user.ts
import { z } from 'zod';
import { router, publicProcedure, protectedProcedure } from '../trpc';
import { TRPCError } from '@trpc/server';

export const userRouter = router({
  list: protectedProcedure
    .input(z.object({
      page: z.number().min(1).default(1),
      limit: z.number().min(1).max(100).default(10),
      search: z.string().optional(),
    }))
    .query(async ({ ctx, input }) => {
      const users = await ctx.prisma.user.findMany({
        where: input.search
          ? { name: { contains: input.search } }
          : undefined,
        skip: (input.page - 1) * input.limit,
        take: input.limit,
      });
      return users;
    }),

  byId: protectedProcedure
    .input(z.string())
    .query(async ({ ctx, input }) => {
      const user = await ctx.prisma.user.findUnique({
        where: { id: input },
      });
      if (!user) {
        throw new TRPCError({ code: 'NOT_FOUND' });
      }
      return user;
    }),

  create: protectedProcedure
    .input(z.object({
      name: z.string().min(1),
      email: z.string().email(),
    }))
    .mutation(async ({ ctx, input }) => {
      return ctx.prisma.user.create({ data: input });
    }),
});
React Integration
typescript
// In component
const { data, isLoading } = trpc.user.list.useQuery({ page: 1 });
const createUser = trpc.user.create.useMutation();

<button onClick={() => createUser.mutate({ name, email })}>
  Create
</button>

Best Practices

  • Use Zod for input validation
  • Implement proper middleware
  • Leverage type inference
  • Handle errors consistently

Target Processes

  • t3-stack-development
  • nextjs-full-stack
  • type-safe-api

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/api/trpc of majiayu000/claude-skill-registry.

  • SKILL.md
  • metadata.json

Open the folder on GitHubat commit 000116a

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in majiayu000/claude-skill-registry, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Trpc next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Trpc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Trpc this skillmajiayu000/claude-skill-registry6661 repos~595Automated safety check: NotesMIT
Trpc Fullstacksickn33/agentic-awesome-skills47k2 repos~3.9kAutomated safety check: PassMIT
Olore Trpc Latestolorehq/olore103—~1kAutomated safety check: PassMIT
Trpcpproenca/dot-skills214—~2.8kAutomated safety check: PassMIT
Yjs Nextjspproenca/dot-skills214—~2.6kAutomated safety check: PassMIT
Codebase Contexthomarr-labs/homarr5k—~659Automated safety check: PassApache-2.0

Similar skills

  • Trpc Fullstack

    sickn33/agentic-awesome-skills

    Build end-to-end type-safe APIs with tRPC — routers, procedures, middleware, subscriptions, and Next.js/React integration patterns.

    47k GitHub starsUsed in 2 repos~3.9k tokens
    Backend & APIsAuto-check passed
  • Olore Trpc Latest

    olorehq/olore

    Local tRPC documentation reference (latest). An agent skill from olorehq/olore.

    103 GitHub stars~1k tokensUpdated today
    Backend & APIsAuto-check passed
  • Trpc

    pproenca/dot-skills

    Corrects the wrong defaults a model has for tRPC v11 (verified against 11.18.0).

    214 GitHub stars~2.8k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Yjs Nextjs

    pproenca/dot-skills

    Corrects the wrong defaults a capable model has when building Yjs collaborative editing into a Next.js 16 App Router app with tRPC v11 and shadcn/ui — pinned to Yjs 13.6.31.

    214 GitHub stars~2.6k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Codebase Context

    homarr-labs/homarr

    Navigate Homarr's monorepo architecture and reuse shared packages.

    5k GitHub stars~659 tokensUpdated today
    DevelopmentAuto-check passed
  • Trpc Patterns

    FranciscoMoretti/chat-js

    Implement ChatJS tRPC routers, TanStack Query hooks, mutations, and cache invalidation.

    1.2k GitHub stars~288 tokensUpdated today
    Backend & APIsAuto-check passed

More from majiayu000/claude-skill-registry

All 971 skills in this repo
  • Deep Research

    majiayu000/claude-skill-registry

    Multi-source deep research using firecrawl and exa MCPs. An agent skill from majiayu000/claude-skill-registry.

    666 GitHub starsUsed in 6 repos~1.1k tokens
    Auto-check passed
  • Exa Search

    majiayu000/claude-skill-registry

    Neural search via Exa MCP for web, code, and company research.

    666 GitHub starsUsed in 5 repos~856 tokens
    Auto-check passed
  • Fal AI Media

    majiayu000/claude-skill-registry

    Unified media generation via fal.ai MCP — image, video, and audio.

    666 GitHub starsUsed in 5 repos~1.7k tokens
    Auto-check passed
  • Bgpt Paper Search

    majiayu000/claude-skill-registry

    Search scientific papers and retrieve structured experimental data extracted from full-text studies via the BGPT MCP server.

    666 GitHub starsUsed in 4 repos~619 tokens
    Auto-check: notes
  • Bio Alignment Pairwise

    majiayu000/claude-skill-registry

    Perform pairwise sequence alignment using Biopython Bio.Align.PairwiseAligner.

    666 GitHub starsUsed in 4 repos~1.7k tokens
    Auto-check passed
  • Open Notebook

    majiayu000/claude-skill-registry

    Self-hosted, open-source alternative to Google NotebookLM for AI-powered research and document analysis.

    666 GitHub starsUsed in 4 repos~2.4k tokens
    Auto-check passed

Questions about Trpc

What does Trpc do?

tRPC end-to-end type safety, procedures, routers, middleware, and React integration. Trpc is an agent skill from majiayu000/claude-skill-registry. tRPC end-to-end type safety, procedures, routers, middleware, and React integration.

When should I use Trpc?

Trpc fits situations like: tasks that involve gRPC and Protobuf; tasks that involve Type safety.

How do I install Trpc in Claude Code?

Run `npx skills add majiayu000/claude-skill-registry --skill trpc -a claude-code`. Or copy the skill folder (skills/api/trpc in majiayu000/claude-skill-registry) into .claude/skills/trpc in your project. Claude Code loads it when a task matches its description.

How do I install Trpc in Codex?

Run `npx skills add majiayu000/claude-skill-registry --skill trpc -a codex`. Or copy the skill folder (skills/api/trpc in majiayu000/claude-skill-registry) into .agents/skills/trpc in your project. Codex loads it when a task matches its description.

Can I use Trpc in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/claude-skill-registry --skill trpc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/trpc, .gemini/skills/trpc, .github/skills/trpc and .opencode/skills/trpc in your project.

What does Trpc need to run?

SKILL.md names no scripts, command-line tools or credentials: Trpc is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Glob, Grep.

Does Trpc access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Trpc safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Trpc use?

Trpc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Trpc use?

About 595 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Trpc?

Skills that share tags, products or a category with Trpc: Trpc Fullstack (sickn33/agentic-awesome-skills, 47k stars), Olore Trpc Latest (olorehq/olore, 103 stars), Trpc (pproenca/dot-skills, 214 stars) and Yjs Nextjs (pproenca/dot-skills, 214 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Trpc?

majiayu000 (a GitHub user) maintains it in majiayu000/claude-skill-registry, which has 666 GitHub stars. The repository holds 971 skills in this directory. The repository was last updated on October 7, 2026.

Source: majiayu000/claude-skill-registry on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.