json-rpc
OfficialBuild safe JSON-RPC methods with guardrails
Software Engineering#security#error handling#schema validation#json-rpc#batch requests#rpc server#method routing
AuthorProbably-Group
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you implement JSON-RPC 2.0 servers and clients without common security and reliability pitfalls like method injection, unsafe parameter handling, and incorrect error responses.
Core Features & Use Cases
- Safe method dispatch: Enforces an explicit allowlist of method names to prevent user-controlled execution.
- Strict params validation: Validates request and params with schemas (e.g., Zod) before any method runs.
- Correct protocol behavior: Supports single and batch requests, uses proper JSON-RPC 2.0 error codes, and handles notifications (no response when
idis absent).
Quick Start
Ask your AI to generate a JSON-RPC 2.0 server that routes only allowlisted methods, validates params with Zod, limits batch size, and returns sanitized error objects with standard error codes.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: json-rpc Download link: https://github.com/Probably-Group/Dev-AID/archive/main.zip#json-rpc Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.