Guide for implementing oRPC contract-first API patterns in Dify frontend. Triggers when creating new API contracts, adding service endpoints, integrating TanStack Query with typed contracts, or migrating legacy service calls to oRPC. Use for all API layer work in web/contract and web/service directories.
安装
npx skills add langgenius/dify --skill orpc-contract-firstnpx skills add langgenius/dify --skill orpc-contract-first -a claude-code -gnpx skills add langgenius/dify --skill orpc-contract-first -a codex -ggemini skills install https://github.com/langgenius/dify.git --path .agents/skills/orpc-contract-firstgh skill install langgenius/dify orpc-contract-firstgit clone --depth 1 https://github.com/langgenius/dify /tmp/langgenius__dify
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/langgenius__dify/.agents/skills/orpc-contract-first ~/.claude/skills/orpc-contract-first # Claude Code
cp -R /tmp/langgenius__dify/.agents/skills/orpc-contract-first ~/.agents/skills/orpc-contract-first # Codex, Cursor, Gemini CLI, Copilot, OpenCode