laravel:template-method-and-plugins
CommunityExtend code without modifying core logic.
Authormeistro57
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps maintain stable core logic while allowing for flexible extensions by introducing new classes rather than altering existing code.
Core Features & Use Cases
- Template Method Pattern: Defines a skeleton of an algorithm in a base class, deferring specific steps to subclasses.
- Strategy/Plugin Pattern: Defines an interface for interchangeable algorithms and registers implementations, allowing selection by key or configuration.
- Use Case: When processing different file types (CSV, JSON, XML), use the Strategy pattern to add new parsers as separate classes without changing the main processing logic.
Quick Start
Use the laravel:template-method-and-plugins skill to create a new CSV importer by extending the base Importer class.
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:template-method-and-plugins Download link: https://github.com/meistro57/chat_bridge/archive/main.zip#laravel-template-method-and-plugins 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.