This skill provides a comprehensive knowledge base for implementing the Saga pattern within PHP environments, specifically optimized for modern PHP 8.4 features. It enables Claude to design, implement, and audit complex distributed transactions, ensuring data consistency across microservices without relying on traditional two-phase commits. By providing standardized interfaces for Saga steps, state management, and orchestration logic, it helps developers avoid critical pitfalls like missing compensations, non-idempotent actions, and race conditions. It is an essential tool for architects building resilient e-commerce, fintech, or any distributed system requiring eventual consistency.
주요 기능
01Detailed checklists for idempotency and compensating transactions
02Automated detection patterns for finding Saga violations in PHP codebases
03PHP 8.4 implementation patterns for Saga orchestration and choreography
0445 GitHub stars
05Standardized Saga state machine and context management interfaces
06Reference templates for complex workflows like multi-service order processing
사용 사례
01Designing resilient multi-step checkout processes across inventory, payment, and shipping services
02Auditing microservices for missing compensating actions or idempotency issues in transaction logs
03Refactoring legacy synchronous distributed transactions into asynchronous, event-driven Sagas