Flag Janitor
Installation
SKILL.md
Flag Janitor
Feature flags accumulate silently. A codebase that started with 5 flags for a safe launch ends up with 50 a year later — half of them permanently on, never cleaned up, making every code review harder and every new developer more confused.
Paste a directory path and get back every dead flag, where it lives, and the exact refactor needed to remove it safely.
Supports any flag system. Zero external API. Works entirely from your local codebase.
Trigger Phrases
- "dead feature flags", "clean up feature flags", "feature flag audit"
- "remove old flags", "stale flags", "flag cleanup", "flag debt"
- "hardcoded feature flags", "always-on flags", "obsolete flags"
- "LaunchDarkly cleanup", "Unleash cleanup", "feature toggle debt"
- "/flag-janitor"