librpc

Provide a pre-wired gRPC framework with RpcServer and RpcClient.

1|1|Updated Aug 7, 2025
One-click install
npx skills add https://github.com/copilot-ld/copilot-ld --skill librpc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: librpc
Source: https://github.com/copilot-ld/copilot-ld/tree/main/packages/librpc
Command: npx skills add https://github.com/copilot-ld/copilot-ld --skill librpc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

gRPC inter-service communication boilerplate is reduced by providing a pre-wired framework with RpcServer and RpcClient.

Core Features & Use Cases

  • RpcServer and RpcClient for service creation and consumption.
  • loadProto to load protobuf definitions and generate types.
  • createClientFactory to build typed, ready-to-use service clients.

Quick Start

Initialize a server with RpcServer, register your service, and create a typed client with createClientFactory to call it.

Frequently Asked Questions about librpc

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

FAQPage Schema
How do I reduce gRPC boilerplate for microservices communication?

You can reduce gRPC boilerplate by using a pre-wired framework with RpcServer and RpcClient to handle service creation and consumption automatically.

What is the best way to generate typed gRPC clients from protobuf definitions?

The best way to generate typed gRPC clients is to load protobuf definitions and use a client factory to build ready-to-use service clients.

How does HMAC authentication work for inter-service RPC calls?

HMAC authentication for inter-service RPC calls works by requiring a shared secret to sign and verify communication between services.

Do I need protobuf definitions to set up distributed tracing in microservices?

Yes, you need protobuf definitions to load service types, and telemetry libraries are required to enable distributed tracing for reliable calls.

Can I use a shared secret to secure inter-service communication without manual setup?

Yes, a shared secret secures inter-service communication by enabling HMAC authentication, handled by the pre-wired framework without manual setup.