What problem does it solve?
Feature flags drift out of sync with the code that evaluates them: deploys remove flag checks silently, deleted flags keep getting called by shipped code, and stale flags accumulate as technical debt. This Skill audits the gap between flag configuration and real $feature_flag_called traffic so teams catch broken rollouts and clean up dead flags before they cause user-facing issues.
Core Features & Use Cases
- Evaluation cliff detection: Identifies active flags whose call volume collapsed against their baseline, distinguishing deliberate code removal from silent SDK or capture breakage.
- Ghost flag detection: Finds shipped code evaluating flag keys that were deleted or never existed, where SDKs silently return false and users get the fallback path.
- Response-distribution shift analysis: Compares variant response mixes over time to catch condition drift not explained by flag edits, including cohort-driven changes.
- Flag-debt hygiene reports: Bundles stale flags, fully-rolled-out flags still checked in hot paths, and deactivated flags with heavy call volume into prioritized cleanup recommendations.
- Use Case: A team deactivates a checkout flag but the code check stays live at 40k calls/day; the scout files a report quantifying the dead check and routes it to the flag owner.
Quick Start
Ask the agent to audit this project's feature flags for evaluation cliffs, ghost flags, and stale flag debt using the last 14 days of traffic.