Feature Flag Audit
Search the codebase for feature flags, check their status, and identify stale ones
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
Search the codebase for all feature flag references and usage patterns
๐ Search RepositoriesRead flag configuration files to map defined flags to their current state
๐ Read Repo FileCheck the feature flag store for runtime status of each flag
๐ Get KeyAnalyze flags to identify stale, orphaned, or permanently-on flags
๐ง Structured ReasoningCreate a GitHub issue with the audit results and cleanup recommendations
โ Create IssueTools Used
Create Issue
Create a new issue in a GitHub repository with title, body, labels, and assignees
Read Repo File
Read the contents of a file from a GitHub repository at a specific branch or commit
Search Repositories
Search GitHub repositories by name, topic, language, or other criteria
Get Key
Retrieve the value of a key from a Redis datastore
Structured Reasoning
Break down a complex problem into sequential reasoning steps with explicit chain-of-thought