What problem does it solve?
This Skill provides a structured approach and essential tools for developing and maintaining the PHP backend of the Power Shop WordPress plugin, focusing on REST API, Domain-driven design, and data transfer objects.
Core Features & Use Cases
- REST API Development: Guides the creation and modification of custom REST API endpoints for Power Shop.
- Domain-Driven Design: Facilitates the development of robust Domain classes and adheres to established patterns.
- DTO Pattern: Simplifies data transfer between different layers of the application.
- Use Case: When adding a new feature that requires fetching product sales data via a new API endpoint, this Skill will guide you through creating the
V2Api class, defining the endpoint, implementing the callback, and registering it with the Domains\Loader.
Quick Start
Use the power-shop-php skill to create a new REST API endpoint for fetching customer notes.