gaia-react-perf
gaia-react/gaia/.claude/skills/gaia-react-perf/SKILL.md
Diagnose 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, it 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".
What's in it
- Pre-flight: Worktree check
--- name: gaia-react-perf description: Diagnose 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, it 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". --- 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. If invoked from a linked worktree, reject hard: `gaia_refuse_if_worktree` (`.gaia/scripts/main-only-lib.sh`) asks the shared resolver which tree this is and refuses out loud, naming the main checkout, when the answer is a worktree. Detection (run this first, before anything else): ```bash . .gaia/scripts/main-only-lib.sh gaia_refuse_if_worktree "/gaia-react-perf" || exit 1 ``` If the detection does not fire, fall through to the workflow dispatch line below. Read `.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.
More agent context in gaia-react/gaia
20 other files this repository gives its agents.
CLAUDE.md
Skill
- a11y-fixes.claude/skills/a11y-fixes/SKILL.md
- eslint-fixes.claude/skills/eslint-fixes/SKILL.md
- file-tech-debt.claude/skills/file-tech-debt/SKILL.md
- gaia-handoff.claude/skills/gaia-handoff/SKILL.md
- gaia-pickup.claude/skills/gaia-pickup/SKILL.md
- gaia-wiki.claude/skills/gaia-wiki/SKILL.md
- new-component.claude/skills/new-component/SKILL.md
- new-hook.claude/skills/new-hook/SKILL.md
- new-route.claude/skills/new-route/SKILL.md
- new-service.claude/skills/new-service/SKILL.md
- playwright-cli.claude/skills/playwright-cli/SKILL.md
- react-code.claude/skills/react-code/SKILL.md
- release-notes.claude/skills/release-notes/SKILL.md
- skeleton-loaders.claude/skills/skeleton-loaders/SKILL.md
- tailwind.claude/skills/tailwind/SKILL.md
- tdd.claude/skills/tdd/SKILL.md
- typescript.claude/skills/typescript/SKILL.md
- update-deps.claude/skills/update-deps/SKILL.md
- update-gaia.claude/skills/update-gaia/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

