pattern-mediator
CommunityCentralize component messaging instantly.
Software Engineering#coordination#cqrs#event-bus#behavioral-design#command-bus#mediator-pattern#component-decoupling
Authorjohnnystefan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Mediator pattern skill clarifies which component coordinates interactions so tightly coupled objects stop depending on each other and the application avoids tangled imports.
Core Features & Use Cases
- Identify coupling hotspots: Spot objects that repeatedly call each other and risk creating dependency hell.
- Declare mediator contract: Define a notify-like bridge so every participant broadcasts events instead of invoking peers directly.
- Implement concrete mediator: Centralize routing logic to drive workflows such as event buses, command handlers, or CQRS orchestrations.
- Use Case: Apply this pattern when a dialog, a service, and a logging handler must all coordinate without referencing each other directly.
Quick Start
Ask the pattern-mediator skill to centralize communication between your components via a mediator interface.
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: pattern-mediator Download link: https://github.com/johnnystefan/test-saas-business/archive/main.zip#pattern-mediator 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.