orpc-contract-first
关于 orpc-contract-first
在 Dify 前端中实现 oRPC 契约优先 API 模式的指南。在 web/contract 中创建或更新契约、连接 router 组合、将 TanStack Query 与类型化契约集成、将旧版服务调用迁移到 oRPC,或决定直接调用 queryOptions 还是提取辅助函数或 web/service 中的 use-* hook 时触发。
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / langgenius/ dify --skill orpc-contract-first安装后在 Claude Code 中输入/orpc-contract-first确认已加载。
评论
支持 Markdown