What problem does it solve? Defining type-safe API layers between frontend and backend often leads to inconsistent contracts, untyped fetch calls, and drift between client and server. This Skill standardizes how oRPC contracts are created, registered, and consumed so every endpoint stays fully typed end to end. ## Core Features & Use Cases - Contract Definition: Create typed API contracts in web/contract with detailed input structure using params, query, and body. - Router Composition: Register domain contracts in a central router grouped by API prefix, with inferred input/output types exported for the whole app. - TanStack Query Hooks: Generate service hooks that use typed query keys and contract clients for cache-safe data fetching. - Use Case: When adding a new billing endpoint, define the contract in web/contract/console/billing.ts, register it under the billing group in router.ts, then consume it in a React component via a typed hook in web/service/use-billing.ts. ## Quick Start Create a new oRPC contract for the invoices endpoint, register it in the router, and generate the matching TanStack Query hook.