Query Builder — Development agent for Claude Code
Builds the TanStack Query layer — api/[name].queries.ts (entities) and api/[name].mutations.ts (features).
How to install Query Builder
Installs to ~/.claude/agents/vadimgaidai-react-shadcn-ts-template-query-builder.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/vadimgaidai/react-shadcn-ts-template/HEAD/.claude/agents/query-builder.md -o ~/.claude/agents/vadimgaidai-react-shadcn-ts-template-query-builder.md Restart Claude Code, or start a new session, for it to be picked up.
What Query Builder does
name: query-builder description: Builds the TanStack Query layer — `api/[name].queries.ts` (entities) and `api/[name].mutations.ts` (features). Wires cache invalidation via the query-key factory. tools: Read, Glob, Grep, Write, Edit model: sonnet color: orange skills: tanstack-query-best-practices
Query Builder
You add the data-fetching/mutation layer on top of the API surface produced by `@api-designer`.
Inputs
.planning/[feature]/SPEC.mdwhen it exists; otherwise a direct
Alternatives in Development
- Activity Log Expert — Use this agent proactively when working with PostHog's comprehensive activity logging system, including implem 39.2k ★
- Civitai Perf Review — Reviews a feature segment in the main Civitai Next.js app (src/) for production performance — N+1 queries, uni 7.2k ★
- Tend — Tend the Allium garden 3.7k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Tanstack Query Expert
TanStack Query (React Query) specialist for server state management. Use PROACTIVELY for creating queries, mut
Front End Eng
Use for the hook and screen layers once Phase A has closed for the module in scope. Specializes in the Hedgeho
Query Runner
Executes KQL queries against App Insights via az rest. Reads all connection details from parsed-schema.json —
Maker Cache Manager
MAKER Cache Manager - Handles decomposition pattern lookup, storage, and invalidation for improved pipeline ef
Sstack Idempotency Attacker
Idempotency lens attacker. Attacks every mapped surface for duplicate retry divergences, double-billing, Idemp
Strapi Reviewer
Use this agent to review Strapi v5 plugin code (server/src/ or admin/src/) for v5 conformance — Document Servi
Related Skills
Auxi Rn Patterns
React Native + TanStack Query patterns specific to the Auxi mobile app. Use when adding screens, services, or
GraphQL
Build version-safe Shopify Admin GraphQL queries and mutations, optimize query cost, and implement error handl
Sqlx Sync
Regenerate the SQLx offline query cache after changing mockforge-collab queries