← スキル一覧に戻る

implement-orpc-api
by Oungseik
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: implement-orpc-api description: Implement a new handler and attach to the oRPC router license: MIT compatibility: opencode
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.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です