--- description: Comprehensive Remix v2 code review with optional parallel agents. Detects Remix v2 in package.json, loads relevant review skills, runs verification protocol. name: review-remix-v2 --- # Remix v2 Code Review ## Arguments - `--parallel`: Spawn specialized subagents per technology area - Path: Target directory (default: current working directory) ## Step 1: Identify Changed Files ```bash git diff --name-only $(git merge-base HEAD main)..HEAD | grep -E '\.(tsx?|jsx?|mjs|cjs|css)$|^(remix|vite)\.config\.' ``` If nothing is returned, ask the user for an explicit path list before continuing. ## Step 2: Detect Remix v2 + Techs ```bash # Detect Remix v2 in package.json (any official adapter) grep -E '"@remix-run/(react|node|cloudflare|deno|serve)"' package.json | head -3 # Confirm app router layout ls app/routes/ 2>/dev/null | head -5 # meta exports (route metadata) grep -rE 'export const meta|export function meta|export let meta' app/ --include="*.tsx" --include="*.ts" -l | head -3 # Sessions / cookies / auth grep -rE 'createCookieSessionStorage|getSession\(|commitSession\(|destroySession\(' app/ --include="*.ts" --include="*.tsx" -l | head -3 # Form primitives (forms-review) grep -rE 'useFetcher\(|