Skip to main content
Run any Skill in Manus
with one click

react-component-discipline

Stars2
Forks0
UpdatedApril 10, 2026 at 23:59

Use when writing, reviewing, or refactoring React components — especially those with hooks, callbacks, modals, or store interactions. Enforces separation of data logic from UI, keeps dependency arrays small enough to reason about, and prevents the emergent complexity bugs (infinite render loops, stale closures) that arise when components accumulate too many concerns. Use this skill whenever you see a useCallback or useMemo with more than five dependencies, a component file over 150 lines, or any mix of store orchestration and JSX in the same function.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly