What problem does it solve?
This Skill helps you create and maintain oRPC API routes in the ChatbotX builder app without breaking the project's routing, auth, or validation patterns. It removes guesswork when adding endpoints, wiring middleware, or exposing new functionality through RPC and OpenAPI.
Core Features & Use Cases
- Router and Procedure Design: Define new oRPC procedures with the correct route metadata, input validation, optional output schemas, and handler structure.
- Authentication Patterns: Choose between session-based authorized APIs and workspace token APIs, then apply workspace-scoped authorization where needed.
- API Organization: Register feature routers in the correct app indexes and split authenticated and public APIs into consistent feature-level files.
- Production Guardrails: Use the expected error mapping, logging conventions, and schema patterns that match the ChatbotX codebase.
- Use Case: Add a new workspace feature endpoint, expose it in OpenAPI, and ensure it respects the project's auth and middleware conventions.
Quick Start
Use the orpc-api skill to design and implement a new authenticated workspace endpoint that follows ChatbotX router, schema, and logging conventions.