← Back to the Hub

trpc 0.1.0

The tRPC repository's agent skills: conventions, TDD, and type-system and boundary discipline.

Owner: Baudrier AI · MIT · from trpc/trpc at ee3e8f2

Claude Code nothing to guardCodex nothing to guardGitHub Copilot nothing to guard

Install

$ uv tool install baudrier # once

$ baudrier install trpc --dry # look first: nothing is written

$ baudrier install trpc # for the agents your repository uses; or --to claude|codex|copilot|generic

It shows what it will write, hook scripts first, and asks before it writes.

Last step: paste the line the install prints last into your agent, opened in your repository. It fits the harness to your repository. Don’t skip it. For Claude Code:

Read .baudrier/harness/trpc/FINISH_SETUP.claude.md and follow it.

For another agent, the file ends in .codex.md, .copilot.md or .generic.md.

What each agent keeps

What Codex rebuilds or loses (5)
  • principle-boundary-discipline: disable-model-invocation lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • principle-encode-lessons-in-structure: disable-model-invocation lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • principle-type-system-discipline: disable-model-invocation lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • tdd: disable-model-invocation lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged
  • typescript-best-practices: disable-model-invocation lost, Claude Code frontmatter that Codex does not read; the skill's text is unchanged

Skills 7

  • pr-agent-callout Put a callout at the top of a PR body while an agent is working on the PR, and remove it once the agent no longer plans to push. Use when starting or stopping work on any PR you push to, including other people's.
  • principle-boundary-discipline Apply when wiring validation, error handling, or framework adapters. Concentrate guards at system boundaries (CLI, config, network, external APIs); trust internal types and keep business logic in pure functions.
  • principle-encode-lessons-in-structure Apply when you catch yourself writing the same instruction a second time, or notice a recurring correction. Encode the rule as a lint, metadata flag, runtime check, or script instead of more text.
  • principle-type-system-discipline Apply when designing types, reviewing a function signature, or writing code in any statically-typed language. Make illegal states unrepresentable, brand semantic primitives, parse external data at boundaries, exhaust variants, derive from authoritative schemas.
  • tdd Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.
  • trpc-conventions tRPC's test setup and TypeScript conventions, which win where the generic pstack tdd, typescript-best-practices and principle-type-system-discipline skills disagree. Use when fixing a bug, writing or changing tests, or writing or reviewing TypeScript in packages/.
  • typescript-best-practices TypeScript best practices. Use when reading or editing any .ts or .tsx file.

Files 13

  • 990 B
  • 1.2 kB
  • 980 B
  • 1.1 kB
  • 1.1 kB
  • 4.8 kB
  • 1.9 kB
  • 558 B
  • 1.6 kB
  • 3.1 kB
  • 2.7 kB
  • 2.8 kB
  • 9.3 kB
Loading harness.yaml...

All files as JSON · card.json

MIT (recognised from the licence file), its licence file travels with every install; from trpc/trpc at ee3e8f2, absorbed on 2026-11-27. The files are the source repository authors' work, copied unchanged; Baudrier AI is not affiliated with that project.