react-useeffect-review skillA
react-useeffect-review is agent-read markdown (skill) from felvieira/claude-skills-fv: Checklist de quando NAO usar useEffect, baseado na doc oficial do React ("You Might Not Need an Effect"). Use ao escrever ou revisar useEffect, useState pra valor derivado, data fetching, sincronizacao de estado entre componentes, ou reset de estado ao trocar prop. Trigger em: "useEffect", "efeito colateral", "estado derivado", "sincronizar estado", "resetar estado quando prop muda", "race condition no fetch", "effect chain", "notificar parent via effect", "inicializacao duplicada em dev", "useS.
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# React useEffect — Quando NAO Usar Effects sao uma **valvula de escape** do React: servem pra sincronizar com um sistema externo (DOM nao-React, API do browser, subscription de store externa). Se nao ha sistema externo envolvido, provavelmente nao precisa de Effect — e o codigo com Effect desnecessario tende a rodar em passes extras, causar race condition ou disparar em momentos inesperados (ex: refresh de pagina). Esta skill entra em dois momentos: (1) ao escrever um `useEffect` novo, como checklist antes de commitar; (2) ao revisar codigo/PR que usa `useEffect`, como lente pra achar o antipattern especifico e sugerir a alternativa direta. ## Governanca Global Esta skill segue `GLOBAL.md`, `policies/execution.md`, `policies/handoffs.md`. ## Quando Usar - escrever um `useEffect` novo, como checklist antes de commitar - revisar código/PR que usa `useEffect`, pra achar o antipattern específico - componente renderiza duas vezes de forma inesperada, ou tem race condition em fetch - estado parece sincronizado manualmente quando poderia ser calculado direto ## Quando Nao Usar …
Read the whole file at its exact version.
How to install
mdr add felvieira/claude-skills-fv/react-useeffect-review@git:20260923.71c3dc0mdr add felvieira/claude-skills-fv/react-useeffect-review@sha256:3cbead9bb6f5b527Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_avkg2c5f2t7elifo)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260923.71c3dc0 latest | 2026-09-23 | 71c3dc0 | 5,377 B | A | view · diff |
| git:20260923.19fef73 | 2026-09-23 | 19fef73 | 4,005 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (5377 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
felvieira/claude-skills-fv · 23 stars · license Apache-2.0 · pushed 2026-09-23 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_avkg2c5f2t7elifo GET https://markdownregistry.com/api/v1/resolve?ref=felvieira/claude-skills-fv/react-useeffect-review GET https://markdownregistry.com/api/v1/blob/3cbead9bb6f5b5270737ea05260c113317d2a945adbc75627536ee6e768f5565
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.