PHP Fallback Strategy Auditor
Audits PHP applications for missing fallback and graceful degradation strategies to ensure system resilience during service failures.
This skill analyzes PHP codebases to identify critical points of failure when interacting with external services, caches, or feature flags. It detects 'all-or-nothing' execution patterns and recommends implementing resilient patterns like stale-while-revalidate, circuit breaker fallbacks, and default values. By auditing for graceful degradation, it helps developers build robust systems that remain partially functional even when dependencies fail, preventing cascading errors and improving overall system uptime.
Características Principales
0145 GitHub stars
02Evaluates complex service methods for partial 'degraded mode' functionality
03Audits feature flag implementations for safe, conservative default values
04Checks circuit breaker configurations for meaningful recovery and response paths
05Detects cache-aside patterns that fail to utilize stale data during origin outages
06Identifies external API calls lacking proper try-catch or fallback logic
Casos de Uso
01Preventing 500 errors when third-party microservices or APIs become unavailable
02Ensuring dashboards and complex UIs remain usable even if optional data components fail
03Implementing 'stale-while-revalidate' patterns to maintain performance during backend lag