feature-flag-manager
Audit, document, and clean up stale feature flags across your entire codebase with automated removal patches.
- Identify "dead" feature flags that are no longer used in code but exist in UI
- Generate a Markdown registry of all active flags with owners and ages
- Produce git-ready patches to safely remove stale C-style toggle branches
$5
One-time purchase
Included in download
- Identify "dead" feature flags that are no longer used in code but exist in UI
- Generate a Markdown registry of all active flags with owners and ages
- file_read, file_write automation included
- Includes example output and usage patterns
See it in action
### Finding #3 — flag `new-checkout-flow` - Severity: High | Verdict: Stale - Why: 100% on for 217 days; no code changes since rollout. - Action: Created removal patch in `cleanup-patches/remove-flag-new-checkout-flow.patch`. - Locations: `src/checkout/router.ts:18`, `src/cart.ts:67`
feature-flag-manager
Audit, document, and clean up stale feature flags across your entire codebase with automated removal patches.
$5
One-time purchase
⚡ Also available via Agensi MCP — your AI agent can load this skill on demand via MCP. Learn more →
Included in download
- Identify "dead" feature flags that are no longer used in code but exist in UI
- Generate a Markdown registry of all active flags with owners and ages
- file_read, file_write automation included
- Includes example output and usage patterns
- Instant install
See it in action
### Finding #3 — flag `new-checkout-flow` - Severity: High | Verdict: Stale - Why: 100% on for 217 days; no code changes since rollout. - Action: Created removal patch in `cleanup-patches/remove-flag-new-checkout-flow.patch`. - Locations: `src/checkout/router.ts:18`, `src/cart.ts:67`
About This Skill
Automated Feature Flag Lifecycle Management
The Feature Flag Manager is a developer-centric tool designed to combat "toggle debt." It systematically audits your codebase to identify stale, abandoned, or forgotten feature flags across multiple providers, including LaunchDarkly, Unleash, Flagsmith, Split, ConfigCat, and OpenFeature.
Manually tracking down every if (flags.isEnabled('new-ui')) block is error-prone and tedious. This skill automates the discovery process using static analysis and cross-references finding with git history and flag-service APIs to determine exactly which flags are safe to remove.
What it does
- Flag Discovery: Automatically detects SDK usage and extracts flag keys from your source code.
- Staleness Auditing: Evaluates flags based on age, rollout percentage (100% on/off), and recent commit activity.
- Registry Generation: Produces a living identity of your flags in Markdown and JSON, including ownership data from
CODEOWNERS. - Automated Cleanup: Generates precise
.patchfiles that inline the winning code branch and remove the conditional logic.
Why use this skill
Unlike simple search-and-replace, this skill understands the context of the flag's state. It produces isolated, review-ready patches that ensure dead code paths are safely deleted while preserving the logic currently serving your users in production.
📖 Learn more: Best DevOps & Deployment Skills for Claude Code →
Use Cases
- Identify "dead" feature flags that are no longer used in code but exist in UI
- Generate a Markdown registry of all active flags with owners and ages
- Produce git-ready patches to safely remove stale C-style toggle branches
- Sync codebase flags with LaunchDarkly or Unleash API data for rollout status
How to Install
mkdir -p ~/.claude/skills && curl -sL https://www.agensi.io/api/install/feature-flag-manager | tar xz -C ~/.claude/skills/Free skills install directly. Paid skills require purchase - use the download button above after buying.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Early access skill
Be the first to review this skill.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Reads source for flag usage discovery and git history for flag age. Generates the registry and cleanup patches as files; the user reviews and opens the PRs through their normal workflow. Does not call flag-service APIs — when state metadata is needed beyond what code reveals, the user provides an export.
Cross-references with the flag service's API for rollout state and last-evaluation timestamps when API access is available; without it, falls back to age + commit-history signals only.
Creator
Frequently Asked Questions
Learn More About AI Agent Skills
Similar Skills
git-commit-writer
Writes conventional commit messages by analyzing your staged git changes. Detects commit type, scope, and breaking changes automatically.
env-doctor
Diagnoses why your project will not start. Checks runtime versions, dependencies, environment variables, databases, ports, and build artifacts systematically.
codex-grade-coding
Turn your AI agent into a senior engineer with strict task classification and verification-driven coding protocols.
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.