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.
Instalación
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
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