Cleaning Up Stale Feature Flags

Identify stale feature flags in a Flind project and clean up the code that checks them. Use when the user wants to find, audit, or remove unused, fully rolled out, or abandoned feature flags, run a feature flag hygiene review or a weekly cleanup, reduce feature flag tech debt, or asks "which flags can I remove?". When the agent can read and edit a repository it performs the code cleanup itself: tested local changes, and one draft PR per flag when the user authorizes publishing. Agents without repository access generate a tailored cleanup prompt instead. Covers staleness detection, dependency checking, retained-path rules, and the code-first ordering. This skill does not archive or otherwise change a flag in Flind.

TheHalfMoon Updated

File contents

TheHalfMoon/Flind commit 3e2f11f2fe

Frequently asked questions

npx get-skill add thehalfmoon/cleaning-up-stale-feature-flags