code-smells/couplers
CommunityDecouple classes to simplify communication.
Software Engineering#refactoring#code smells#couplers#feature envy#inappropriate intimacy#message chains#middle man
Authorjohnnystefan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill reveals excessive coupling and over-delegation between classes, helping engineers keep encapsulation intact and prevent brittle, hard-to-change systems.
Core Features & Use Cases
- Detection checklist: audits getters, navigation chains, and hollow delegators to highlight Feature Envy, Inappropriate Intimacy, Message Chains, and Middle Man smells.
- Refactor guidance: recommends Move Method, Extract Method, Move Field, Hide Delegate, and Remove Middle Man tactics to re-establish clear boundaries.
- Use Case: During a TypeScript cleanup, evaluate employee-department-chain logic to hide delegates and move responsibilities back to the owning entities.
Quick Start
Ask the couplers skill to review class interactions for Feature Envy, Message Chains, Inappropriate Intimacy, or Middle Man and recommend concrete refactors.
Dependency Matrix
Required Modules
None requiredComponents
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: code-smells/couplers Download link: https://github.com/johnnystefan/test-saas-business/archive/main.zip#code-smells-couplers Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.