acc-create-strategy

Installation
SKILL.md

Strategy Pattern Generator

Creates Strategy pattern infrastructure for interchangeable algorithm families.

When to Use

Scenario Example
Multiple algorithms Pricing, tax, shipping calculation
Runtime selection Payment processing based on amount
Avoiding conditionals Replace switch/if-else chains
Algorithm families Sorting, compression, encryption

Component Characteristics

StrategyInterface

  • Defines algorithm contract
  • Single method for execution
  • Supports method for selection
Related skills
Installs
1
GitHub Stars
71
First Seen
Feb 11, 2026