Generated React Query hooks — query/mutation hooks, cache management, optimistic updates, and hook patterns. Use when asked to 'use hooks', 'React Query hooks', 'useQuery', 'useMutation', 'cache invalidation', 'optimistic updates', 'generated hooks', or when working with the generated React Query client from @constructive-io/graphql-codegen.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Generated React Query hooks — query/mutation hooks, cache management, optimistic updates, and hook patterns. Use when asked to 'use hooks', 'React Query hooks', 'useQuery', 'useMutation', 'cache invalidation', 'optimistic updates', 'generated hooks', or when working with the generated React Query client from @constructive-io/graphql-codegen.
metadata
{"author":"constructive-io","version":"1.0.0"}
Constructive Hooks
Generated React Query hooks for Constructive — typed query/mutation hooks with cache management and optimistic updates.
When to Apply
Use this skill when:
Using generated React Query hooks in a React/Next.js app
Configuring the hooks client (endpoint, auth headers)
Implementing cache invalidation and optimistic updates
Understanding the generated hook naming conventions