How this repo does oRPC and the public docs each convention follows (the contract, the handler and retries). Use before changing the API contract, a router, the RPC route or an oRPC client, so the change follows the current upstream guide.
Save adds this to your Try on my work favorites. Hearts show appreciation.
Try it
See what this would do for you. No sign-up needed.
Set it up
Pick the app you use.
practices-orpc
- 1
Open Plugins → Skills
Left sidebar → Plugins, then the Skills tab.
- 2
Add → Upload from your computer
Pick the SKILL.md (or Create with editor and paste the text), then Create.
- 3
Use it with /
In a chat, type / and pick the skill, then write your request.
Show the skill file
# oRPC practices How this repo does it, and the public guide each choice follows. Each row is a convention, where it lives, and the upstream page that documents it. - **Read the linked page before you build.** The link is the source of truth, not the row. If upstream has moved on, follow upstream and update the row. - **Change the row with the code.** Adopting, dropping or changing a convention changes its row in the same commit. - **No row without a link.** Where upstream is silent, the row says what the choice rests on instead. | Practice | Where | Upstream | | ----------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | | Contract-first: `@repo/contract` defines inputs, outputs and errors in zod; `@repo/service` implements it. | `packages/contract/src/rpc`, `packages/service/src/rpc` | [Procedure contract](https://orpc.dev/docs/contract/procedure) | | The contract is its own package with no dependency on the service or the database, so every client can import it. | `packages/contract/package.json` | [Monorepo setup](https://orpc.dev/docs/recipes/monorepo-setup) | | The RPC route exports `POST` alone: `RPCHandler` leaves `GET` unmatched by default, and no procedure asks for it. | `apps/web/src/app/v1/rpc/[...rest]/route.ts`, `packages/service/src/rpc/v1-rpc.ts` | [RPC handler](https://orpc.dev/docs/rpc/handler) | | Queries retry by what failed: only an unreachable or busy server, never an answer it would repeat. | `packages/client/src/library-cache.ts` | [Query retries](https://tanstack.com/query/latest/docs/framework/react/guides/query-retries) |
Read a skill before you install it: it tells the AI what to do. Promptu never installs or runs anything.

