Home / felvieira / claude-skills-fv · skills/79-react-useeffect-review/SKILL.md · GitHub

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

Latest version
mdr add felvieira/claude-skills-fv/react-useeffect-review@git:20260923.71c3dc0
Exact content
mdr add felvieira/claude-skills-fv/react-useeffect-review@sha256:3cbead9bb6f5b527

Pin 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_avkg2c5f2t7elifo.svg)](https://markdownregistry.com/a/art_avkg2c5f2t7elifo)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260923.71c3dc0 latest2026-09-23 71c3dc0 5,377 BA view · diff
git:20260923.19fef732026-09-23 19fef73 4,005 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • 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

GitHub

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.

More from felvieira/claude-skills-fv

AGENTS.md agents
felvieira/claude-skills-fv · AGENTS.md
git:20260807.c8dbdd1 · audit A · 23 stars
CLAUDE.md claude
felvieira/claude-skills-fv · CLAUDE.md
git:20260919.b968287 · audit A · 23 stars
po-feature-spec skill
felvieira/claude-skills-fv · skills/01-po-feature-spec/SKILL.md · Skill do Product Owner para especificação de features. Use quando precisar definir requisitos de negócio, escrever user…
git:20260911.446d12e · audit A · 23 stars
ui-ux-design skill
felvieira/claude-skills-fv · skills/02-ui-ux-design/SKILL.md · Skill do Designer UI/UX para interfaces e experiência do usuário: wireframes, design system tokens, componentes de UI…
git:20260910.85302b4 · audit A · 23 stars
backend-api skill
felvieira/claude-skills-fv · skills/03-backend-api/SKILL.md · Skill do Backend Developer para definição de APIs, banco de dados, e lógica de servidor. Use quando precisar definir…
git:20260909.c321d06 · audit A · 23 stars
frontend-integration skill
felvieira/claude-skills-fv · skills/04-frontend-integration/SKILL.md · Skill do Frontend Developer para implementação com React/Next.js, Zustand, React Query, e Skeleton loading. Use quando…
git:20260909.c321d06 · audit A · 23 stars
qa-testing skill
felvieira/claude-skills-fv · skills/05-qa-testing/SKILL.md · Skill do QA Engineer para testes unitarios, integracao e E2E. Use quando precisar escrever testes, validar regressao…
git:20260909.4b28693 · audit A · 23 stars
security-review skill
felvieira/claude-skills-fv · skills/06-security-review/SKILL.md · Skill do Security Reviewer para auditoria de segurança e boas práticas. Use quando precisar revisar código para…
git:20260909.4b28693 · audit A · 23 stars
deploy-docker skill
felvieira/claude-skills-fv · skills/07-deploy-docker/SKILL.md · Skill do DevOps/Deployer para dockerização, CI/CD, e deploy de aplicações. Use quando precisar criar Dockerfile…
git:20260909.4b28693 · audit A · 23 stars
context-manager skill
felvieira/claude-skills-fv · skills/08-context-manager/SKILL.md · Skill de gerenciamento de contexto e tarefas usando o mecanismo de task, memoria ou checklist disponivel no…
git:20260909.4b28693 · audit A · 23 stars
orchestrator skill
felvieira/claude-skills-fv · skills/09-orchestrator/SKILL.md · Skill do Tech Lead/Orquestrador do pipeline de desenvolvimento. Deve ser usada no inicio de toda task e entre etapas…
git:20260909.4b28693 · audit A · 23 stars
documenter skill
felvieira/claude-skills-fv · skills/10-documenter/SKILL.md · Skill de Documentação por nível de decisão. Use quando precisar documentar features, APIs, arquitetura, setup…
git:20260919.9ec8972 · audit A · 23 stars

Every file in felvieira/claude-skills-fv

Browse by kind, by grade A, or by owner.