← Back to Skills
๐Ÿšฉ

Feature Flag Audit

Search the codebase for feature flags, check their status, and identify stale ones

Developer 5 steps 5 tools 3 servers

Example Prompt

Audit all feature flags in our codebase and identify any that are stale or can be removed

About

Performs a comprehensive audit of feature flags by scanning the source code for flag references and cross-referencing them with the flag configuration store. Identifies flags that are permanently enabled, disabled, or no longer referenced in code, and recommends cleanup actions for stale flags.

Workflow Steps

1

Search the codebase for all feature flag references and usage patterns

๐Ÿ” Search Repositories
2

Read flag configuration files to map defined flags to their current state

๐Ÿ“ƒ Read Repo File
3

Check the feature flag store for runtime status of each flag

๐Ÿ”‘ Get Key
4

Analyze flags to identify stale, orphaned, or permanently-on flags

๐Ÿง  Structured Reasoning
5

Create a GitHub issue with the audit results and cleanup recommendations

โž• Create Issue

Tags

feature-flagsauditcode-qualitycleanup