Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
launchdarkly avatar

Launchdarkly Guarded Rollout

  • 2.4k installs
  • 20 repo stars
  • Updated July 27, 2026
  • launchdarkly/agent-skills

launchdarkly-guarded-rollout is an agent skill for "Configure guarded rollouts with progressive traffic increases, metric monitoring, and automatic rollback. Use when rele

About

The launchdarkly-guarded-rollout skill "Configure guarded rollouts with progressive traffic increases, metric monitoring, and automatic rollback. Use when releasing features gradually with safety thresholds." It covers start-guarded-rollout -- start a progressive rollout with monitoring. Key workflows include get-flag -- inspect the flag and its variations. Step 1: Prepare Before starting a guarded rollout: 1. Use get-flag to inspect the flag - note the variation IDs for test and control 2. Use list-metrics to find metrics suitable for monitoring 3. Ensure the flag is on in the target environment use toggle-flag if needed 4. Confirm there's no active guarded rollout on this flag already Step 2: Design Stages Plan the rollout progression. A typical Developers invoke launchdarkly-guarded-rollout when the task matches the triggers and reference files in SKILL.md for grounded, stepwise execution.

  • start-guarded-rollout -- start a progressive rollout with monitoring
  • get-flag -- inspect the flag and its variations
  • list-metrics -- find metrics to monitor during the rollout
  • stop-guarded-rollout -- halt an active rollout immediately
  • toggle-flag -- ensure the flag is turned on before starting

Launchdarkly Guarded Rollout by the numbers

  • 2,410 all-time installs (skills.sh)
  • +177 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #340 of 2,184 Testing & QA skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

launchdarkly-guarded-rollout capabilities & compatibility

Capabilities
start guarded rollout start a progressive rol · get flag inspect the flag and its variations · list metrics find metrics to monitor during t · stop guarded rollout halt an active rollout i · toggle flag ensure the flag is turned on befo
Use cases
documentation
From the docs

What launchdarkly-guarded-rollout says it does

description: "Configure guarded rollouts with progressive traffic increases, metric monitoring, and automatic rollback. Use when releasing features gradually with safety thresholds."
SKILL.md
compatibility: Requires the remotely hosted LaunchDarkly MCP server
SKILL.md
npx skills add https://github.com/launchdarkly/agent-skills --skill launchdarkly-guarded-rollout

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.4k
repo stars20
Security audit3 / 3 scanners passed
Last updatedJuly 27, 2026
Repositorylaunchdarkly/agent-skills

What problem does launchdarkly-guarded-rollout solve for developers using the documented workflows?

"Configure guarded rollouts with progressive traffic increases, metric monitoring, and automatic rollback. Use when releasing features gradually with safety thresholds."

Who is it for?

Developers working with launchdarkly-guarded-rollout patterns described in the skill documentation.

Skip if: Skip when docs are empty or the task is outside the skill documented scope.

When should I use this skill?

Use when "Configure guarded rollouts with progressive traffic increases, metric monitoring, and automatic rollback. Use when releasing features gradually with safety thresholds."

What you get

Actionable launchdarkly-guarded-rollout guidance grounded in SKILL.md workflows and reference files.

  • Guarded rollout configuration
  • Metric threshold definitions
  • Staged traffic plan

By the numbers

  • Skill metadata version 0.1.0 under Apache-2.0 license

Files

SKILL.mdMarkdownGitHub ↗

LaunchDarkly Guarded Rollouts

You're using a skill that will guide you through configuring guarded rollouts in LaunchDarkly. Your job is to design rollout stages, select monitoring metrics, configure regression thresholds, and start the rollout.

Prerequisites

This skill requires the remotely hosted LaunchDarkly MCP server to be configured in your environment.

Required MCP tools:

  • start-guarded-rollout -- start a progressive rollout with monitoring
  • get-flag -- inspect the flag and its variations
  • list-metrics -- find metrics to monitor during the rollout

Optional MCP tools:

  • stop-guarded-rollout -- halt an active rollout immediately
  • toggle-flag -- ensure the flag is turned on before starting
  • create-metric -- create metrics if they don't exist

Core Concepts

What Are Guarded Rollouts?

A guarded rollout progressively increases traffic to a new feature flag variation through a series of stages. At each stage, LaunchDarkly monitors selected metrics for regressions. If a regression is detected, the rollout can automatically pause and notify the team — or even roll back.

Key Components

ComponentDescription
Test variationThe new variation being rolled out
Control variationThe existing/baseline variation
StagesSteps with increasing traffic percentage and monitoring windows
MetricsWhat to monitor for regressions (error rate, latency, etc.)
Regression thresholdHow much a metric can degrade before triggering action
On regressionWhether to notify, rollback, or both when a threshold is breached

Rollout Weight Units

Rollout weights use thousandths (basis points):

  • 1000 = 1%
  • 10000 = 10%
  • 50000 = 50%
  • 100000 = 100%

Monitoring Window

The monitoring window is specified in milliseconds:

  • 3600000 = 1 hour
  • 86400000 = 24 hours
  • 604800000 = 7 days

Core Principles

1. Start Small: Begin with a low percentage (1-5%) to catch issues early 2. Monitor What Matters: Choose metrics that reflect user experience 3. Set Realistic Thresholds: Too tight = false alarms; too loose = missed regressions 4. Allow Time: Each stage needs enough monitoring time for signal to emerge 5. Have a Rollback Plan: Always configure at least notification on regression

Workflow

Step 1: Prepare

Before starting a guarded rollout:

1. Use get-flag to inspect the flag — note the variation IDs for test and control 2. Use list-metrics to find metrics suitable for monitoring 3. Ensure the flag is on in the target environment (use toggle-flag if needed) 4. Confirm there's no active guarded rollout on this flag already

Step 2: Design Stages

Plan the rollout progression. A typical pattern:

StageTrafficMonitoring WindowPurpose
11%1 hourSmoke test — catch obvious crashes
210%24 hoursEarly signal on metrics
350%24 hoursConfidence building
4100%24 hoursFull rollout with monitoring

Step 3: Configure Metrics

Select metrics that indicate problems:

Metric TypeExampleThresholdAction
Error rateapi-error-rate0.05 (5% increase)Rollback
Latencyp99-response-time0.2 (20% increase)Notify
Conversioncheckout-completed0.1 (10% decrease)Notify + Rollback

Step 4: Start the Rollout

Use start-guarded-rollout:

{
  "projectKey": "my-project",
  "flagKey": "new-checkout-flow",
  "environmentKey": "production",
  "testVariationId": "variation-id-for-new-flow",
  "controlVariationId": "variation-id-for-current-flow",
  "randomizationUnit": "user",
  "stages": [
    {"rolloutWeight": 1000, "monitoringWindowMilliseconds": 3600000},
    {"rolloutWeight": 10000, "monitoringWindowMilliseconds": 86400000},
    {"rolloutWeight": 50000, "monitoringWindowMilliseconds": 86400000},
    {"rolloutWeight": 100000, "monitoringWindowMilliseconds": 86400000}
  ],
  "metrics": [
    {
      "metricKey": "api-error-rate",
      "onRegression": {"notify": true, "rollback": true},
      "regressionThreshold": 0.05
    },
    {
      "metricKey": "checkout-completed",
      "onRegression": {"notify": true, "rollback": false},
      "regressionThreshold": 0.1
    }
  ]
}

Step 5: Verify

1. Use get-flag to confirm the guarded rollout is active 2. Check that the flag shows the rollout configuration in the environment 3. Monitor for any immediate regression notifications

Report results:

  • Guarded rollout started with N stages
  • M metrics being monitored
  • First stage at X% traffic for Y hours

Stopping a Rollout

If issues arise or you need to halt the rollout:

{
  "projectKey": "my-project",
  "flagKey": "new-checkout-flow",
  "environmentKey": "production"
}

This immediately stops the progressive rollout and locks the flag at its current state.

Edge Cases

SituationAction
Flag is offTurn it on first with toggle-flag — rollouts require the flag to be on
Active rollout existsStop it first with stop-guarded-rollout before starting a new one
No suitable metricsCreate metrics first with create-metric
Approval requiredIf the environment requires approvals, the tool will return an approval URL

What NOT to Do

  • Don't start a guarded rollout on a flag that's turned off
  • Don't skip the monitoring window design — rushing through stages defeats the purpose
  • Don't set regression thresholds to 0 — small fluctuations are normal
  • Don't forget to configure at least one metric — a rollout without monitoring is just a regular rollout

Related skills

Forks & variants (1)

Launchdarkly Guarded Rollout has 1 known copy in the catalog totaling 40 installs. They canonicalize to this original listing.

FAQ

Who is launchdarkly-guarded-rollout for?

Developers and software engineers working with launchdarkly-guarded-rollout patterns described in the skill documentation.

When should I use launchdarkly-guarded-rollout?

When "Configure guarded rollouts with progressive traffic increases, metric monitoring, and automatic rollback. Use when releasing features gradually with safety thresholds.".

Is launchdarkly-guarded-rollout safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.