coupling

Community

Decouple React components to reduce prop drilling.

AuthorByeongminLee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Long prop chains across component trees cause fragile code and make maintenance painful. This skill promotes using composition and clear boundaries to keep changes localized, preventing unrelated parts from breaking when you modify a feature.

Core Features & Use Cases

  • Composition over drilling: replace deep prop chains with composition (children) to pass content and behavior.
  • Single-responsibility interfaces: encourage small, focused hooks and components to limit ripple effects.
  • Guided application: apply the pattern when props traverse three or more levels or a hook returns five or more values, so changes stay isolated.
  • Real-world example: refactor a modal workflow to pass content via children instead of threading props through multiple layers.

Quick Start

Refactor components to minimize prop drilling by adopting the composition pattern (children) and isolating responsibilities.

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: coupling
Download link: https://github.com/ByeongminLee/nextjs-claude-code/archive/main.zip#coupling

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.