Agent skill

React Useeffect

by flornkm in flornkm/personal-site

Avoid useEffect. An agent skill from flornkm/personal-site.

No licenceAuto-check passed

Install React Useeffect

skills CLI
$ npx skills add flornkm/personal-site --skill react-useeffect -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install flornkm/personal-site react-useeffect --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/flornkm/personal-site.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/react-useeffect .claude/skills/react-useeffect && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
react-useeffect
GitHub stars
150
Token cost
~1.2k tokens
SKILL.md length
524 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
None found

At a glance

Avoid useEffect. An agent skill from flornkm/personal-site.

  • Works in 5 steps: useEffect(() => setFullName(first + ' '… → useEffect(() => setComment(''),… → useEffect(() => { if (added) showToast()… → …
  • Reviewing any useEffect
  • SKILL.md covers Decision flow, Quick reference, Anti-patterns to refuse and When an Effect is actually right, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

React Useeffect is an agent skill from flornkm/personal-site. Avoid useEffect. Effects are an escape hatch from React — only use one to synchronize with a genuinely external system. Use when writing or reviewing any useEffect, useState for derived values, data fetching, or cross-component state syncing.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with React. The repository describes itself as: Florians personal site.

When your agent uses it

  • Reviewing any useEffect
  • UseState for derived values
  • Cross-component state syncing

Example prompts

  • “/react-useeffect”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. useEffect(() => setFullName(first + ' ' + last), [first, last]) — just compute const fullName = first + ' ' + last.
  2. useEffect(() => setComment(''), [userId]) — pass key={userId} instead.
  3. useEffect(() => { if (added) showToast() }, [added]) — call showToast() directly in the click handler.
  4. useEffect(() => { fetch(query).then(setResults) }, [query]) with no cleanup — race condition. Use an ignore flag or AbortController, or…
  5. Effect chains where one Effect's setState triggers another Effect — collapse into one event handler.

What it can do on your machine

Read from SKILL.md and the folder at commit acc40c8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com
    • react.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

React Useeffect loads about 1.2k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 524 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 524 words (~1,176 tokens).

“useEffect is an escape hatch from React. If there is no external system involved (browser API, third-party widget, network, non-React store), you almost certainly do not need one. Default to "no Effect" and only add one if you can name…”

— opening of SKILL.md by flornkm
name
react-useeffect

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/react-useeffect of flornkm/personal-site.

Open the folder on GitHubat commit acc40c8

Compare with similar skills

React Useeffect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

React Useeffect compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
React Useeffect this skillflornkm/personal-site150—~1.2kAutomated safety check: PassNone
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
Vercel Composition Patternssupabase/supabase111k59 repos~726Automated safety check: PassMIT
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
React UI State PatternsChrisWiles/claude-code-showcase6.1k8 repos~1.6kAutomated safety check: PassNone

Similar skills

  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 59 repos~726 tokens
    DevelopmentAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • React UI State Patterns

    ChrisWiles/claude-code-showcase

    Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.

    6.1k GitHub starsUsed in 8 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • Stitch to Remotion Walkthrough Videos

    google-labs-code/stitch-skills

    Official

    Builds walkthrough videos from Stitch design projects using Remotion, with transitions, zoom effects and text overlays on each screen.

    8.4k GitHub starsUsed in 6 repos~3.2k tokens
    Media & CreativeAuto-check: notes

More from flornkm/personal-site

All 14 skills in this repo
  • Animation Vocabulary

    flornkm/personal-site

    Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" →…

    150 GitHub starsUsed in 13 repos~3.2k tokens
    Auto-check passed
  • Apple Design

    flornkm/personal-site

    Apple's approach to interface design and fluid, physical motion, translated for the web.

    150 GitHub starsUsed in 19 repos~5.6k tokens
    Auto-check passed
  • Central Icons

    flornkm/personal-site

    ALWAYS ACTIVE. An agent skill from flornkm/personal-site.

    150 GitHub stars~475 tokensUpdated today
    Auto-check: notes
  • Clean Jsx No Inline Ternaries

    flornkm/personal-site

    Keep JSX and component logic clean by minimizing inline ternaries, nested conditionals, and stringified conditional classes.

    150 GitHub stars~988 tokensUpdated today
    Auto-check passed
  • Design System

    flornkm/personal-site

    How to build UI in this repo — compose classes with cn, use the CSS-variable design tokens (never raw hex/px), reuse the typographic and ui/ primitives, and define variants with cva like the…

    150 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Prefer Container Queries

    flornkm/personal-site

    Enforce Tailwind container queries over viewport breakpoints for responsive components.

    150 GitHub stars~1.1k tokensUpdated today
    Auto-check passed

Works with

Questions about React Useeffect

What does React Useeffect do?

Avoid useEffect. An agent skill from flornkm/personal-site. React Useeffect is an agent skill from flornkm/personal-site. Avoid useEffect.

When should I use React Useeffect?

React Useeffect fits situations like: reviewing any useEffect; useState for derived values; cross-component state syncing.

How do I install React Useeffect in Claude Code?

Run `npx skills add flornkm/personal-site --skill react-useeffect -a claude-code`. Or copy the skill folder (.agents/skills/react-useeffect in flornkm/personal-site) into .claude/skills/react-useeffect in your project. Claude Code loads it when a task matches its description.

How do I install React Useeffect in Codex?

Run `npx skills add flornkm/personal-site --skill react-useeffect -a codex`. Or copy the skill folder (.agents/skills/react-useeffect in flornkm/personal-site) into .agents/skills/react-useeffect in your project. Codex loads it when a task matches its description.

Can I use React Useeffect in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add flornkm/personal-site --skill react-useeffect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-useeffect, .gemini/skills/react-useeffect, .github/skills/react-useeffect and .opencode/skills/react-useeffect in your project.

What does React Useeffect need to run?

SKILL.md names no scripts, command-line tools or credentials: React Useeffect is instructions for the agent only.

Does React Useeffect access the network?

SKILL.md names 2 domains. As links in the text: github.com and react.dev. This is read from the text; nothing was executed.

Is React Useeffect safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does React Useeffect use?

No licence was found for React Useeffect or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does React Useeffect use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to React Useeffect?

Skills that share tags, products or a category with React Useeffect: Web Artifacts Builder (anthropics/skills, 180k stars), Vercel Composition Patterns (supabase/supabase, 111k stars), React Doctor (makeplane/plane, 61k stars) and React Router Development (remix-run/react-router, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains React Useeffect?

flornkm (a GitHub user) maintains it in flornkm/personal-site, which has 150 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on October 7, 2026.

Source: flornkm/personal-site on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.