orpc-contracts

Official

Ship end-to-end API contracts with type safety.

AuthorQuanby-IT-Solutions
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The oRPC contract-first API design approach defines schemas and routes before implementation, enabling end-to-end type safety and consistent client-server contracts across the monorepo.

Core Features & Use Cases

  • Contract-first workflow: define schemas and routes in @repo/contracts, then implement on backend with @orpc/nest and on frontend with @orpc/client for guaranteed type safety.
  • Cross-framework compatibility: works with NestJS backend and Next.js frontend to ensure uniform contracts and OpenAPI metadata.
  • Use Case: rapidly spin up new API endpoints by authoring contracts, then generate typed server and client implementations.

Quick Start

Start by defining a v1 contract in the contracts package and wire it into the backend and frontend through the version router.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: orpc-contracts
Download link: https://github.com/Quanby-IT-Solutions/turbo-template/archive/main.zip#orpc-contracts

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.