orpc-contract-first

Installation
SKILL.md

oRPC Contract-First Development

Project Structure

web/contract/
├── base.ts           # Base contract (inputStructure: 'detailed')
├── router.ts         # Router composition & type exports
├── marketplace.ts    # Marketplace contracts
└── console/          # Console contracts by domain
    ├── system.ts
    └── billing.ts

Workflow

  1. Create contract in web/contract/console/{domain}.ts
    • Import base from ../base and type from @orpc/contract
    • Define route with path, method, input, output
Installs
Repository
smithery/ai
First Seen
orpc-contract-first — smithery/ai