laravel:strategy-pattern
CommunityRuntime behavior selection.
Authormeistro57
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of selecting and applying different behaviors or algorithms at runtime, based on specific conditions or contexts, without altering the core logic.
Core Features & Use Cases
- Dynamic Behavior Selection: Easily switch between multiple implementations of an interface.
- Decoupled Implementations: Promotes cleaner code by separating distinct strategies.
- Use Case: In an e-commerce application, use this pattern to apply different tax calculation strategies based on the customer's country (e.g., US sales tax, EU VAT).
Quick Start
Register your strategy implementations in a service provider and inject the factory where needed.
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: laravel:strategy-pattern Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-strategy-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 223,000+ vetted skills library on demand.