create-adapter
Installation
SKILL.md
Adapter Pattern Generator
Creates Adapter pattern infrastructure for converting incompatible interfaces into expected ones.
When to Use
| Scenario | Example |
|---|---|
| Legacy code integration | Wrap old API with new interface |
| Third-party library wrapping | Stripe SDK, AWS SDK adapters |
| Interface standardization | Multiple payment gateways with unified interface |
| Backward compatibility | Support old and new interfaces |
Component Characteristics
Target Interface
- Defines expected operations
- Client code depends on this
- Domain layer contract