How to add or change a tRPC API endpoint in services/api — one procedure per file merged with mergeRouters, the 4-tier procedure model (networkAuthenticatedProcedure / authenticatedConfirmedProcedure / authenticatedProcedure / openProcedure), Zod .input() from @op/common/client schemas, .output() via encoders, schemas live in @op/common (never hand-rolled DTOs), types consumed via @op/api/encoders (never RouterOutput), thin routers that delegate to @op/common services, and realtime channel registration instead of manual invalidation. Use when adding/editing a query or mutation, a router, an encoder, picking the right procedure factory, or wiring auth/channels.
EnglishBranching and PR workflow — feature branches off dev with issue- naming, conventional commits, and gh pr create --base dev. Use before any commit or push, when opening a PR, or when asked about branch names, rebasing, or merging dev.
EnglishIncludes API Endpoints and Branch and PR.
Supported by the Atlas install prompt. Skill-specific requirements vary.
Pack stats
What’s included
API Endpoints
How to add or change a tRPC API endpoint in services/api — one procedure per file merged with mergeRouters, the 4-tier procedure model (networkAuthenticatedProcedure / authenticatedConfirmedProcedure / authenticatedProcedure / openProcedure), Zod .input() from @op/common/client schemas, .output() via encoders, schemas live in @op/common (never hand-rolled DTOs), types consumed via @op/api/encoders (never RouterOutput), thin routers that delegate to @op/common services, and realtime channel registration instead of manual invalidation. Use when adding/editing a query or mutation, a router, an encoder, picking the right procedure factory, or wiring auth/channels.
Branch and PR
Branching and PR workflow — feature branches off dev with issue- naming, conventional commits, and gh pr create --base dev. Use before any commit or push, when opening a PR, or when asked about branch names, rebasing, or merging dev.
Quick start
- Choose your skills. Select individual skills above, or choose the entire pack.
- Copy the install prompt. Use Copy install prompt above the list.
- Send it to your agent. Paste into your coding agent’s chat. Your agent reviews the source and guides the setup.
Try it with your agent
After installation, start with a request like:
Use the API Endpoints skill to help with my task.
Ask me for the context you need before getting started.Requirements & license
- A coding agent that can access your project files and install skills.
- Your agent checks each skill’s instructions, dependencies, and permissions during setup.
- Reported license for the skills shown: MIT. The author’s terms apply.