ts-api-layer

Installation
SKILL.md

When to Use This Skill

Use when you need to:

  • Decide whether a new endpoint should be a tRPC procedure or a REST route handler
  • Design a tRPC router with input validation and typed errors
  • Write a Next.js route handler with proper status codes
  • Explain why a mobile team or third-party integrator can't consume a tRPC API

Trigger keywords: tRPC, REST API, route handler, app/api, procedure, query, mutation, OpenAPI, public API, API contract, TRPCError, Zod input validation, API versioning, third-party integration.

Freshness rule: tRPC's router/procedure API has changed across major versions (v10 → v11) — recheck the installed @trpc/server version's docs before writing router code.


Recommendation First

Installs
5
GitHub Stars
1
First Seen
Aug 10, 2026
ts-api-layer — ronjunevaldoz/ts-agent-skills