orpc-building-custom-plugins

Create custom oRPC plugins with interceptors for handlers and links.

8|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/ali-master/skills --skill orpc-building-custom-plugins
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: orpc-building-custom-plugins
Source: https://github.com/ali-master/skills/tree/main/skills/orpc-building-custom-plugins
Command: npx skills add https://github.com/ali-master/skills --skill orpc-building-custom-plugins

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a guide to create custom plugins for oRPC handlers and links, allowing for extended functionality and customization.

Core Features & Use Cases

  • Custom Plugins: Develop custom plugins to extend oRPC handlers and links with interceptors.
  • Interceptors: Use interceptors to modify responses, handle requests, or inject context.
  • Use Case: Enhance your oRPC service by creating a plugin that adds logging, authentication, or custom headers to responses.

Quick Start

Run the 'orpc-building-custom-plugins' skill to learn how to create custom plugins for oRPC handlers and links.

Frequently Asked Questions about orpc-building-custom-plugins

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom plugins for oRPC handlers and links?

To create custom plugins for oRPC, you define interceptors that modify responses, handle requests, or inject context. This allows you to extend your oRPC services by adding custom functionality like logging or authentication.

What are oRPC interceptors used for?

oRPC interceptors are used to modify responses, handle incoming requests, or inject context into your services. They provide a mechanism to extend handler and link functionality without altering core logic.

How do I add logging or authentication to my oRPC service?

You can add logging or authentication to an oRPC service by building a custom plugin with interceptors. These interceptors hook into request handling and response modification to inject the required behavior.

Can I inject custom headers into oRPC responses?

Yes, you can inject custom headers into oRPC responses by creating a custom plugin. The plugin utilizes interceptors to modify the response object before it is returned to the client.

What is the difference between handler plugins and link plugins in oRPC?

Handler plugins and link plugins in oRPC both use interceptors to extend functionality, but they target different layers. Handler plugins manage server-side request processing, while link plugins handle client-side request and response manipulation.