Skill 55 · Launchdarkly Release Autopilot Onboarding
Subchapter 55.7
references/release-plans.mdMarkdown2 KBView on GitHub
Use this from Step 6 of the onboarding skill when the account has environment release plans. A release plan is a reusable recipe for one environment, made of phases, rollout steps, and metrics. A plan with metrics makes a release guarded, so a regression on a metric can roll it back. A plan without metrics is progressive: say so.
Follow the create-release-plan tool guidance. Ask each setting as its own question, never bundled:
user or account.get-metrics. Offer up to four relevant metrics with multiSelect: true. If none fit, use launchdarkly-metric-choose to decide which metrics to add, and record each one to create. Step 8 creates them in LaunchDarkly before the plans that use them. This flow creates the metric only: if the app does not send the event yet, list instrumenting it as a follow-up, and do not edit code or .env files.Every phase needs at least one clause. For a phase that targets everyone, use:
{ "attribute": "kind", "op": "in", "values": ["<randomization unit>"], "contextKind": "<randomization unit>" }get-release-plans hides incomplete plans that were migrated from release policies. An incomplete plan cannot start a release, so if the user expects a plan that is missing, that environment needs a new complete plan.
Always list before creating, so the new key does not collide with an active plan.