React state and effects discipline
Skill TheGoat395/Codex-Skills/skills/react-state-and-effects-discipline
Discipline React state, derived data, effects, refs, reducers, context, and event handlers. Use when components have duplicated state, unnecessary useEffect, prop-to-state syncing, stale closures, event logic in effects, external subscriptions, DOM integration, network sync, or complex UI state.From its SKILL.md
npx -y skills add TheGoat395/Codex-Skills --skill react-state-and-effects-disciplineAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.1 KB, 147 tokens by cl100k_base, as published. Nobody here has run it
React State And Effects Discipline
Use This Skill
Use this skill for use react state and effects only where they belong.
Operating Contract
- Inspect the existing project before changing code.
- Identify the router/framework, entry files, styling system, and interaction system.
- Keep premium visual standards active: no generic copy, no default-looking UI, no unfinished states.
- Follow existing project conventions unless a change clearly improves the result.
- Run available checks and visually inspect responsive output when the change affects UI.
Required Reference
Read references/react-state-and-effects-discipline-guide.md before making architectural or visible UI changes with this skill.
What ships with it: 2 files
4.3 KB alongside SKILL.md
agents/
- openai.yaml293 B