tanstack-query-svelte-review
TanStack Query Svelte Review
Review server-state behavior for stable keys, correct query functions, version-aware Svelte reactivity, safe mutation side effects, SSR correctness, and security-sensitive cache handling.
Process
- Inspect the diff and surrounding code before applying checklist items.
- Detect whether the project uses
@tanstack/svelte-queryv5 or v6 before judging Svelte stores/runes patterns. - Check correctness, boundaries, security, data flow, observability, tests, and deployment impact for the changed behavior.
- Report concrete findings first, ordered by severity, with file references and affected behavior.
- Call out missing tests or residual risk only when it is tied to the reviewed change.
Large PR Subagent Review
For broad or materially risky pull requests, recommend focused additional review only when independent expertise is likely to improve the verdict. Judge this from concrete risk, novelty, blast radius, reversibility, and context size—not file count or category matching alone. Small and conventional changes should remain one pragmatic pass.
When additional reviewers add value, split only by independent material surfaces. Each returns concrete evidence-based findings; the main agent removes duplicates and false positives and owns the proportional final verdict.