Conventions for writing tRPC routers and procedures. An agent skill from PrairieLearn/PrairieLearn.

Custom licenceAuto-check passedBackend & APIs

Install Trpc

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

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

GitHub CLI
$ gh skill install PrairieLearn/PrairieLearn 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/PrairieLearn/PrairieLearn.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/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
512
Token cost
~2k tokens
SKILL.md length
743 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Custom licence

At a glance

Conventions for writing tRPC routers and procedures. An agent skill from PrairieLearn/PrairieLearn.

  • Tasks that involve gRPC and Protobuf
  • SKILL.md covers Quick reference, Authorization scopes, File structure and Conventions, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Trpc is an agent skill from PrairieLearn/PrairieLearn. Conventions for writing tRPC routers and procedures.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering gRPC and Protobuf. It works with tRPC. The repository describes itself as: Online problem-driven learning system.

When your agent uses it

  • Tasks that involve gRPC and Protobuf

Example prompts

  • “Use the trpc skill to convention for writing tRPC routers and procedures. An agent skill from PrairieLearn/PrairieLearn”
  • “/trpc”

What it can do on your machine

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

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    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 2k tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 743 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 743 words (~2,008 tokens).

“tRPC routers are mounted per authorization scope, not per page. Each scope has its own directory under apps/prairielearn/src/trpc/ and is mounted behind the corresponding Express authorization middleware chain.”

— opening of SKILL.md by PrairieLearn, Custom licence
name
trpc

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/trpc of PrairieLearn/PrairieLearn.

Open the folder on GitHubat commit 076bf1b

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 skillPrairieLearn/PrairieLearn512—~2kAutomated safety check: PassCustom licence
Nestjs Trpctrycompai/crm11k—~2.8kAutomated safety check: PassMIT
Backend Dev Guidelineslangfuse/langfuse35k—~1.9kAutomated safety check: PassCustom licence
Trpc PatternsFranciscoMoretti/chat-js1.2k—~288Automated safety check: PassApache-2.0
Backend Dev Guidelineslitefuse/litefuse1001 repos~5.8kAutomated safety check: PassCustom licence
Erpc CommunicationMatrixAges/polywise662—~618Automated safety check: PassMIT

Similar skills

  • Nestjs Trpc

    trycompai/crm

    Build end-to-end type-safe tRPC APIs inside NestJS using the nestjs-trpc adapter — @Router/@Query/@Mutation/@Subscription decorators, TRPCModule.forRoot, injectable middlewares and context, Zod…

    11k GitHub stars~2.8k tokensUpdated 26 days ago
    Backend & APIsAuto-check passed
  • Backend Dev Guidelines

    langfuse/langfuse

    Build or review Langfuse backend code. An agent skill from langfuse/langfuse.

    35k GitHub stars~1.9k tokensUpdated today
    Backend & APIsAuto-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
  • Backend Dev Guidelines

    litefuse/litefuse

    Comprehensive backend development guide for Litefuse's Next.js 14/tRPC/Express/TypeScript monorepo.

    100 GitHub starsUsed in 1 repo~5.8k tokens
    Backend & APIsAuto-check passed
  • Erpc Communication

    MatrixAges/polywise

    Guides using eRPC (electron-tRPC) for inter-process communication (IPC) between Electron main and renderer processes.

    662 GitHub stars~618 tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • Lazy Prefetch Pattern

    FranciscoMoretti/chat-js

    Use the ChatJS React Query v5 lazy-prefetch pattern without blocking server rendering.

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

More from PrairieLearn/PrairieLearn

  • Element Runtime Assets

    PrairieLearn/PrairieLearn

    A skill your agent uses when creating a new PrairieLearn element or changing an element's runtime dependencies, scripts, styles, or bundled assets.

    512 GitHub stars~723 tokensUpdated today
    Auto-check passed
  • Element Validation

    PrairieLearn/PrairieLearn

    A skill your agent uses when changing or reviewing PrairieLearn element question.html contracts, including schema-level attributes/children, Python semantic validation, docs, and AI HTML validation…

    512 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Express Request Validation

    PrairieLearn/PrairieLearn

    Conventions for validating PrairieLearn Express request parameters, query strings, bodies, and action forms with Zod.

    512 GitHub stars~851 tokensUpdated today
    Auto-check passed
  • Element Backwards Compat

    PrairieLearn/PrairieLearn

    Backwards compatibility rules when changing element controllers in apps/prairielearn/elements/.

    512 GitHub stars~401 tokensUpdated today
    Auto-check passed
  • Groups And Teams

    PrairieLearn/PrairieLearn

    Dealing with groups and teams in PrairieLearn, and confusion about table/column/variable names.

    512 GitHub stars~257 tokensUpdated today
    Auto-check passed
  • Playwright Testing

    PrairieLearn/PrairieLearn

    Write or update the repository's Playwright E2E tests. An agent skill from PrairieLearn/PrairieLearn.

    512 GitHub stars~280 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Trpc

What does Trpc do?

Conventions for writing tRPC routers and procedures. An agent skill from PrairieLearn/PrairieLearn. Trpc is an agent skill from PrairieLearn/PrairieLearn. Conventions for writing tRPC routers and procedures.

When should I use Trpc?

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

How do I install Trpc in Claude Code?

Run `npx skills add PrairieLearn/PrairieLearn --skill trpc -a claude-code`. Or copy the skill folder (.agents/skills/trpc in PrairieLearn/PrairieLearn) 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 PrairieLearn/PrairieLearn --skill trpc -a codex`. Or copy the skill folder (.agents/skills/trpc in PrairieLearn/PrairieLearn) 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 PrairieLearn/PrairieLearn --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.

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 no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Trpc use?

Trpc has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Trpc use?

About 2k tokens (SKILL.md is roughly 8k 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: Nestjs Trpc (trycompai/crm, 11k stars), Backend Dev Guidelines (langfuse/langfuse, 35k stars), Trpc Patterns (FranciscoMoretti/chat-js, 1.2k stars) and Backend Dev Guidelines (litefuse/litefuse, 100 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Trpc?

PrairieLearn (a GitHub organization) maintains it in PrairieLearn/PrairieLearn, which has 512 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.

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