command-pattern
OfficialDecouple actions with commands for flexibility.
AuthorPatternsDev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Decouple the object that invokes an operation from the object that performs it, enabling flexible command execution, undo/redo support, and easier maintenance.
Core Features & Use Cases
- Decouples invocation from execution to simplify code changes and testing.
- Supports queued or time-bound commands, unlocks undo/redo workflows, and enables pluggable behavior via command objects.
- Common use cases include orchestrating domain operations, UI workflows, or any scenario needing pluggable command execution.
Quick Start
Create a Command class with an execute method and use an OrderManager.execute to run specific command objects.
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: command-pattern Download link: https://github.com/PatternsDev/skills/archive/main.zip#command-pattern 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.