veto_flag_auditor
Audits codebases for feature flag SDK calls and custom if(flag) patterns, then classifies each flag as actively toggled, removal candidate, or orphaned to simplify cleanup.
Instructions
SDK-agnostic feature flag auditor — detects LaunchDarkly/Unleash SDK calls AND custom if(flags.X) patterns. Classifies flags as: actively toggled / candidate for removal / orphaned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_dir": "<project_dir>"
},
"name": "veto_flag_auditor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sdk | No | SDK hint: 'launchdarkly','unleash','custom', or 'auto' (default). | |
| project_dir | Yes | Absolute path to the project root. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |