Orpc Contract First

Use when designing, implementing, refactoring, or reviewing an oRPC API with contract-first architecture, especially in a TypeScript monorepo. Trigger when the user mentions oRPC contracts, `@orpc/contract`, `implement(contract)`, shared API contracts, monorepo API packages, OpenAPI-to-oRPC generation, router-to-contract migration, or keeping web/client and API/server apps type-safe through a shared package. This skill guides agents to put contracts and schemas in a dedicated shared package, keep business logic out of the contract, implement contracts from server packages/apps, and wire clients without leaking server internals.

terion-labs Updated

File contents

terion-labs/skills commit 3951207008

Frequently asked questions

npx get-skill add terion-labs/orpc-contract-first