frontend-query-mutation
Installation
SKILL.md
Frontend Query & Mutation
Intent
- Keep contract as the single source of truth in
web/contract/*. - Prefer contract-shaped
queryOptions()andmutationOptions(). - Keep default cache behavior with
consoleQuery/marketplaceQuerysetup, and keep business orchestration in feature vertical hooks when direct contract calls are not enough. - Treat
web/service/use-*query or mutation wrappers as legacy migration targets, not the preferred destination. - Keep abstractions minimal to preserve TypeScript inference.