you-might-not-need-an-effect

star 28.8k

Analyze and fix useEffect anti-patterns in your code

simstudioai By simstudioai schedule Updated 4/7/2026

name: you-might-not-need-an-effect description: Analyze and fix useEffect anti-patterns in your code

You Might Not Need an Effect

Arguments:

  • scope: what to analyze (default: your current changes). Examples: "diff to main", "PR #123", "src/components/", "whole codebase"
  • fix: whether to apply fixes (default: true). Set to false to only propose changes.

User arguments: $ARGUMENTS

Steps:

  1. Read https://react.dev/learn/you-might-not-need-an-effect to understand the guidelines
  2. Analyze the specified scope for useEffect anti-patterns
  3. If fix=true, apply the fixes. If fix=false, propose the fixes without applying.
Install via CLI
npx skills add https://github.com/simstudioai/sim --skill you-might-not-need-an-effect
Repository Details
star Stars 28,807
call_split Forks 3,661
navigation Branch main
article Path SKILL.md
More from Creator