gaia-react-perf · git:20261019.d7c051e · 2026-10-19 · sha256 aa864eca7e40d46c
gaia-react-perf git:20261019.d7c051eA
Immutable. This exact content never changes and is served at /api/v1/blob/aa864eca7e40d46c.
--- name: gaia-react-perf description: Diagnoses React render performance by driving a micro-interaction, capturing real renders, and surfacing memo-defeating reference instability with a recommended structural fix. Measure-only, it emits a diagnosis and does not auto-fix. Trigger on `/gaia-react-perf` or natural-language asks like "profile renders", "measure renders", "why is X re-rendering", or "diagnose render performance". Do NOT trigger on vague "feels slow", "janky", or "optimize my app" (react-doctor's `scan` mode covers those). --- Run the GAIA **react-perf** measure-only diagnostic with these arguments: `$ARGUMENTS` ## Pre-flight: Worktree check This skill drives the app's dev server and profiles the clone's build, so it refuses from a linked worktree. Run this first, before anything else: ```bash . .gaia/scripts/main-only-lib.sh gaia_refuse_if_worktree "/gaia-react-perf" || exit 1 ``` Read `frontend/.claude/skills/gaia-react-perf/references/measure-only.md` from the project root and follow it exactly. Treat the arguments above as an optional inline target (the page plus the micro-interaction to profile); if empty, ask the user to name a concrete micro-interaction before proceeding, per the reference.