Not loaded · from launchdarkly
Guides configuring progressive feature flag rollouts in LaunchDarkly with staged traffic increases, metric monitoring, and automatic rollback. Use when releasing features gradually with safety thresholds.
Claude Code won't load this skill
It ships in launchdarkly at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
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, choose which regressions roll back automatically, and start the rollout.
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 monitoringget-flags -- inspect the flag and its variationsget-metrics -- find metrics to monitor during the rolloutOptional MCP tools:
stop-guarded-rollout -- halt an active rollout immediatelytoggle-flag -- ensure the flag is turned on before startingcreate-metric -- create metrics if they don't existA 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.
| Component | Description |
|---|---|
| Test variation | The new variation being rolled out |
| Control variation | The existing/baseline variation |
| Stages | Steps with increasing traffic percentage and monitoring windows |
| Metrics | What to monitor for regressions (error rate, latency, etc.) |
| Auto-rollback | Per metric: whether a regression rolls back automatically or only notifies |
Rollout weights use thousandths (basis points):
1000 = 1%10000 = 10%50000 = 50%, the maximum for a guarded stageThe monitoring window is specified in milliseconds:
3600000 = 1 hour86400000 = 24 hours604800000 = 7 daysBefore starting a guarded rollout:
get-flags to inspect the flag — note the variation IDs for test and controlget-metrics to find metrics suitable for monitoringtoggle-flag with on: true and confirm: true)Plan the rollout progression. A typical pattern:
| Stage | Traffic | Monitoring Window | Purpose |
|---|---|---|---|
| 1 | 1% | 1 hour | Smoke test — catch obvious crashes |
| 2 | 10% | 24 hours | Early signal on metrics |
| 3 | 50% | 24 hours | Confidence building |
Each stage's rolloutWeight is capped at 50000 (50%). Do not add a 100% stage: after the last stage passes, LaunchDarkly completes the rollout.
Select metrics that indicate problems. Each metric entry takes exactly key (a metric or metric group key), isGroup, and autoRollback (roll back automatically on regression, or only notify):
| Metric Type | Example | autoRollback |
|---|---|---|
| Error rate | api-error-rate | true |
| Latency | p99-response-time | false (notify only) |
| Conversion | checkout-completed | true |
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}
],
"metrics": [
{"key": "api-error-rate", "isGroup": false, "autoRollback": true},
{"key": "checkout-completed", "isGroup": false, "autoRollback": true}
]
}
get-flags to confirm the guarded rollout is activeReport results:
If issues arise or you need to halt the rollout, call stop-guarded-rollout:
{
"projectKey": "my-project",
"flagKey": "new-checkout-flow",
"environmentKey": "production",
"confirm": true
}
This immediately stops the progressive rollout and locks the flag at its current state.
| Situation | Action |
|---|---|
| Flag is off | Turn it on first with toggle-flag (on: true, confirm: true) — rollouts require the flag to be on |
| Active rollout exists | Stop it first with stop-guarded-rollout before starting a new one |
| No suitable metrics | Create metrics first with create-metric |
| Approval required | The tool returns requiresApproval: true and how to submit the change with create-approval-request; share that request's approvalRequest.url |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub launchdarkly/ai-tooling --plugin launchdarkly56 skills in this plugin
/agent-graphsCreate and manage agent graphs — directed graphs of configs connected by edges with handoff logic. Use when building multi-agent workflows where configs route to each other./aiconfig-agent-graphsDEPRECATED redirect — this skill was renamed to agent-graphs. Do not use this skill; invoke agent-graphs instead. Kept only so old references to aiconfig-agent-graphs still point users to the new name./aiconfig-ai-metricsDEPRECATED redirect — this skill was renamed to built-in-metrics. Do not use this skill; invoke built-in-metrics instead. Kept only so old references to aiconfig-ai-metrics still point users to the new name.Other plugins' skills for the same job