adversarial-tanstack
Installation
SKILL.md
Adversarial TanStack Gate
A merge gate for TanStack Start + TypeScript web-app changes — a pass/fail gate: a single blind reviewer subagent judges the work against this gate's rules with an adversarial mandate, and the work passes only when every rule is PASS or N/A. This skill renders verdicts; it never fixes the work.
Rules are pinned to @tanstack/react-start 1.168+ (v1 RC, July 2026) and TypeScript 5.8–6.x semantics.
When to Apply
- A TanStack Start feature, route, or server function is about to merge and needs an objective PASS/FAIL, not advisory feedback.
- An agent (Claude, Codex) authored Start app code and you want an independent check its author bias cannot rubber-stamp.
- A diff touches the client/server boundary — env vars, loaders, server functions, auth — where a wrong PASS ships secrets or unauthorized data access.
- Auditing an existing Start codebase file set against the current v1 RC API surface (stale
.inputValidator(), removedcreateServerFileRoute).
Do not apply to non-Start React apps (most serverfn/boundary/ssr rules will return N/A and the gate degenerates to a TypeScript check) or when the user wants explanations and refactors rather than a verdict.
Review Protocol
Follow these steps exactly — the gate's value is that every review runs the same way.