rr-orpc

Create type-safe RPC APIs with procedures and routers.

54|9|Updated Aug 13, 2025
One-click install
npx skills add https://github.com/roderik/ai-rules --skill rr-orpc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rr-orpc
Source: https://github.com/roderik/ai-rules/tree/main/.claude/skills/rr-orpc
Command: npx skills add https://github.com/roderik/ai-rules --skill rr-orpc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @orpc/server, @orpc/client, zod, and includes references (resource) components.

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.