Loading...
Loading...
Control LaunchDarkly feature flag targeting including toggling flags on/off, percentage rollouts, targeting rules, individual targets, and copying flag configurations between environments. Use when the user wants to change who sees a flag, roll out to a percentage, add targeting rules, or promote config between environments.
npx skill4agent add launchdarkly/agent-skills launchdarkly-flag-targetingget-flagtoggle-flagupdate-rolloutupdate-targeting-rulesupdate-individual-targetscopy-flag-configoffVariationget-flagonfallthroughoffVariationrulestargetsprerequisites| User wants | Tool | Notes |
|---|---|---|
| "Turn it on" | | Simplest change |
| "Turn it off" | | Serves offVariation to everyone |
| "Roll out to X%" | | Weights must sum to 100 |
| "Enable for beta users" | | Rules are ANDed within, ORed between |
| "Add specific users" | | Highest priority, overrides all rules |
| "Full rollout" | | Serve one variation to everyone |
| "Copy from staging" | | Promote tested config to production |
toggle-flagrequiresApproval: truetoggle-flagon: trueon: falseenvcommentupdate-rolloutrolloutType: "percentage"rolloutType: "variation"variationIndexupdate-targeting-rulesaddRuleremoveRuleupdateRuleVariationOrRolloutaddClausesremoveClausesreorderRulesupdate-individual-targetsaddTargetsremoveTargetsaddContextTargetsremoveContextTargetsreplaceTargetsget-flagtruefalseupdate-rollout