mcpField

frontend-query-mutation

langgeniusDevelopment92 installs

About frontend-query-mutation

Guide for implementing Dify frontend query and mutation patterns with TanStack Query and oRPC. Trigger when creating or updating contracts in web/contract, wiring router composition, consuming consoleQuery or marketplaceQuery in components or services, deciding whether to call queryOptions()/mutationOptions() directly or extract a helper or use-* hook, configuring oRPC experimental_defaults/default options, handling conditional queries, cache updates/invalidation, mutation error handling, or migrating legacy service calls to contract-first query and mutation helpers.

Install

Copy the command and run it in a terminal.

$npx skills add https://langgenius/dify --skill frontend-query-mutation

After installing, type/frontend-query-mutationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
contract-patterns.md
runtime-rules.md

Comments

Markdown supported