Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Removes avoidable React useEffect usage and replaces it with render derivation, event handlers, or existing hooks in Langfuse frontend code.
68% 72%+4 ptsof test cases passed
Passed 18 of 25 test cases with the skill, and 17 of 25 without it.
3 of 3 safety checks passed
Not used yet
Do not add useEffect by default. Use it only to synchronize a component with
a concrete system outside React. If there is no external system, remove the
effect.
Before adding or retaining an effect, answer all of these questions:
If the first question has no concrete answer, do not use an effect.
web/AGENTS.md and the nearest package guidance before changing web
code.../frontend-large-feature-architecture/SKILL.md.references/refactoring-patterns.md
before implementing a refactor.Apply these rules in order:
useState initializer.key to remount for a new entity
only when discarding the old local draft is intended. Use an explicit user
action for refresh/reset when drafts must not be overwritten silently.Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.