acc-create-chain-of-responsibility
Installation
SKILL.md
Chain of Responsibility Pattern Generator
Creates Chain of Responsibility pattern infrastructure for sequential request processing.
When to Use
| Scenario | Example |
|---|---|
| Multiple processors | Validation, discounts, approvals |
| Unknown handlers | Plugin systems |
| Priority processing | First match wins |
| Middleware | HTTP pipeline, logging |
Component Characteristics
HandlerInterface
- Defines handle method
- Optional setNext for linking
- Returns result or delegates