launchdarkly-flag-targeting

Coordinate LaunchDarkly flag targeting changes across environments with safety checks.

25|8|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/launchdarkly/agent-skills --skill launchdarkly-flag-targeting
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: launchdarkly-flag-targeting
Source: https://github.com/launchdarkly/agent-skills/tree/main/skills/feature-flags/launchdarkly-flag-targeting
Command: npx skills add https://github.com/launchdarkly/agent-skills --skill launchdarkly-flag-targeting

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Streamlines and safeguards the process of changing who sees a LaunchDarkly feature flag by guiding engineers through state-aware targeting changes, rollouts, and cross-environment config promotions.

Core Features & Use Cases

  • Understand current flag state and apply safe targeting changes without impacting unintended users.
  • Manage on/off toggles, percentage rollouts, targeting rules, and individual targets with an audit trail.
  • Copy and promote flag configurations between environments to accelerate safe promotions from staging to production.

Quick Start

Install by placing this skill directory where your agent loads skills.

Frequently Asked Questions about launchdarkly-flag-targeting

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely change LaunchDarkly flag targeting rules across staging and production?

To safely change LaunchDarkly flag targeting rules across environments, this Skill coordinates state-aware updates and applies safety checks to prevent impacting unintended users. It guides you through adjusting rules with a full audit trail.

What is the best way to copy a feature flag configuration from staging to production?

The best way to copy a feature flag configuration between environments is using the copy-flag-config tool. This promotes configurations from staging to production while maintaining safety checks and an audit trail.

Do I need an MCP server to manage LaunchDarkly percentage rollouts and individual targets?

Yes, you need an MCP server and its tools, such as update-rollout and update-individual-targets, to manage LaunchDarkly percentage rollouts and individual targets. The Skill relies on these tools to execute state-aware changes safely.

How does state-aware targeting prevent unintended users from seeing a feature flag?

State-aware targeting prevents unintended exposure by evaluating the current flag state before applying on/off toggles, rollouts, or rule adjustments. This ensures changes only affect the intended audience with safety checks.

Can I toggle a LaunchDarkly flag on and off while keeping an audit trail of the change?

Yes, you can toggle a LaunchDarkly flag on and off while keeping an audit trail. The Skill uses the toggle-flag tool to record state-aware changes, ensuring all targeting modifications are tracked.