useeffect-dependencies

Installation
SKILL.md

useEffect Dependency Fixer

Phase 1 — Diagnose Before Touching Anything

Identify the actual bug category before suggesting any fix. Most mistakes come from misdiagnosing the category.

Symptom Likely Category
ESLint error, effect works fine Missing dep that happens to be stable
Infinite re-render loop Object/function dep recreated on every render
Stale value read inside effect Closure captures old binding
Effect never re-runs when it should Dep omitted or effect has wrong placement
useCallback chain grew just to satisfy deps Stabilization needed, not suppression

Phase 2 — The Non-Obvious Rules

2.1 Referential Stability Is the Real Problem

Related skills

More from blunotech-dev/agents

Installs
2
GitHub Stars
2
First Seen
Apr 15, 2026