react-component-discipline

Community

Keep React components focused and safe.

Authorbuchananwill
Version1.0.0
Installs0

System Documentation

What problem does it solve?

React components often mix domain logic with UI, making code hard to test and maintain. This skill enforces a clear separation: domain logic belongs in pure functions or non-UI utilities, while UI components render and handle events.

Core Features & Use Cases

  • Guides teams to apply a three-layer architecture: domain logic, data hooks, and presentational components.
  • Reduces dependency-array bloat and stale closures by encouraging focused hooks and minimal component responsibilities.
  • Provides actionable patterns such as the Finger Rule to keep dependencies readable and ensure render stability.

Quick Start

Audit a component to ensure it handles only UI concerns and move business logic into pure functions or hooks.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: react-component-discipline
Download link: https://github.com/buchananwill/ue-claude-scaffold/archive/main.zip#react-component-discipline

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.