Enforces React hooks discipline: correct dependency arrays, derive during render instead of effects, and stabilize identities only when measured. Use when debugging stale closures, render loops, or extracting custom hooks.
Most hook bugs are one of two mistakes: lying to the dependency array, or using an effect to compute state that render could compute. Fix those two and the render graph becomes readable.
react-hooks/exhaustive-deps; if a dependency causes a loop, the
fix is to remove the dependency's reactivity (memoize it, move it into a
ref, or lift it), not to hide it from the linter.. An effect that watches state to setStateanother value is a double render and a drift bug waiting for the day the effect misses. ReserveuseMemo` for derivations proven expensive by measurement.key={id}
from the parent to remount it. An effect that watches id to reset state
runs one render late and flashes stale content.useCallback, and stabilize objects
with useMemo, only where an unstable identity actually causes a re-run or
re-render you measured. Blanket memoization adds noise without payoff.useDebounce, a
usePagination) or one effect-plus-state cluster complex enough to deserve
a name and a test. Do not extract a hook that is called once and only wraps
a single useState; that is indirection without reuse.useSyncExternalStore, transitions) need the
React docs; this covers everyday discipline.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job