What problem does it solve?
This Skill simplifies the creation of robust, end-to-end type-safe RPC APIs, eliminating common boilerplate and type-related errors in client-server communication.
Core Features & Use Cases
- Type-Safe RPC: Define procedures and routers with full type inference from server to client.
- Framework Integrations: Seamlessly integrate with Next.js, React Query, and other popular frameworks.
- Advanced Features: Handle streaming (SSE), file uploads/downloads, and native JavaScript types with ease.
- Use Case: Quickly set up a new API endpoint for a web application, ensuring that both frontend and backend developers work with perfectly synchronized types, reducing bugs and development time.
Quick Start
Use the rr-orpc skill to set up a basic oRPC server with a 'getUser' procedure and a corresponding type-safe client.