php-patterns

Official

Master PHP design patterns for robust code.

AuthorOrcaQubits
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers implement common and effective PHP design patterns, leading to more organized, maintainable, and scalable code, especially within the WooCommerce ecosystem.

Core Features & Use Cases

  • Pattern Implementation: Provides guidance and examples for Singleton, Factory, Strategy, Observer, Repository, Decorator, and Dependency Injection.
  • WooCommerce Integration: Demonstrates how these patterns are applied or can be applied within WooCommerce and WordPress development.
  • Use Case: When building a new WooCommerce payment gateway, use the Strategy pattern to ensure it can be easily swapped with other gateways, and apply the Singleton pattern to the main plugin class for a single entry point.

Quick Start

Use the php-patterns skill to implement the Factory pattern for creating different WooCommerce product types.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: php-patterns
Download link: https://github.com/OrcaQubits/agentic-commerce-claude-plugins/archive/main.zip#php-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.