Agent skill
implement-orpc-api
Implement a new handler and attach to the oRPC router
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/implement-orpc-api-oungseik-gakom
SKILL.md
What I do
- make sure you understand the all requirements and ask question about unclear or edge cases
- checkout database schema written with the Drizzle from the
packages/db/src - checkout Drizzle version from packages/db/package.json and modify the schema if necessary.
- check available middewares from
apps/<package>/src/lib/server/orpc/base.tsand use the appropriate middleware. If the middleware is not suitable with requirement, then create a new one. - create handler file under
apps/<package>/src/lib/server/orpc/handlers/<scope>/<operation>.ts. For example:apps/website/src/lib/server/orpc/handlers/organizations/listMembers.ts - implement input schema using zod.
- attach the middleware after input, because some middleware need data from the import and have to typesafe.
- attach the handler to the router in
apps/<package>/src/lib/server/orpc/router.ts
No need to run npm run <script>. I will run the necessary scripts and manually check the types for you.
When to use me
Use this when you are going to implement a feature and expose API as an oRPC. Ask clarifying questions if the you are unclear.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?