orpc-contract-first
OfficialGuide for oRPC contract-first API patterns.
AuthorYFGaia
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Guides teams to implement oRPC contract-first APIs in the Dify frontend, aligning contracts, routers, and service layers to reduce integration drift.
Core Features & Use Cases
- Defines input/output contracts, router organization, and typed service hooks to enable end-to-end API development.
- Supports creating new API contracts, adding service endpoints, and migrating legacy calls to the oRPC pattern within web/contract and web/service.
Quick Start
Create a new contract under web/contract/console for a domain, wire it in router.ts, and implement a matching hook in web/service.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: orpc-contract-first Download link: https://github.com/YFGaia/dify-plus/archive/main.zip#orpc-contract-first 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 223,000+ vetted skills library on demand.