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.
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
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