Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

flag-release

БесплатноБез исполняемых скриптовНе проверен

Start the release of an existing LaunchDarkly flag that guards a pull request's change, from the project's flag release plan, or from each environment's…

launchdarklyот launchdarkly★ 32 звезды на GitHub

Об этом скилле

Start a Flag's Release

You're using a skill that takes an existing feature flag (created OFF) that guards a pull request's change, and starts its release so the change releases safely after the PR merges, with no human toggling a flag. The skill starts a flag release with create-flag-release, in one of two ways:

  • From a flag release plan (kind: "plan"). A flag release plan is an optional project-level recipe: it lists environments in release order, and for each one it names an environment release plan (rollout steps and metrics) or says the environment releases immediately.
  • From each environment's release plan (kind: "custom"). This is the normal path for a project with no flag release plan, and for a request that a flag release plan cannot express. It names the environments to release, in order, and each one's environment release plan and trigger.

create-automated-rollout-config is only a fallback, for a server whose create-flag-release is not listed, does not offer kind: "custom", or returns tool disabled. See Which tool starts the release.

A human-stated release intent sits above every plan.

This is the release step of the PR flag workflow, and it's deliberately atomic:

Step Owned by
Decide whether to flag should-flag-change (advisory)
Create the flag + wire the code launchdarkly-flag-create
Start the release this skill

By the time this skill runs, the flag exists (OFF) and the guarding code is wired and pushed. This skill only starts the release. It never creates flags or edits code. It can be driven directly by an automation harness, or as the final step of the flag-and-release-change orchestrator.

The deploy is not the release. The merge ships the control path (flag OFF). The release is the flag operation that LaunchDarkly performs afterward, governed by the plans.

Honoring a hold is the one thing you must get right. Each recorded environment releases by its triggerType. There is no per-call field for a hold or a date. An environment is held only when it is left out of the release, or has triggerType: "manual" (it waits for a person). Never record an environment that the user holds with a trigger that releases it on its own (flag_eval, webhook, or promotion after a released environment). When in doubt, hold.

Prerequisites

  • The remotely hosted LaunchDarkly MCP server.
  • The guarding flag already exists in LaunchDarkly, created OFF, with the agreed key/tags.
  • A pull-request reference (repoFullName + PR number) so the release follows the right merge. If you have only the PR URL (https://github.com/<owner>/<name>/pull/<number>), take repoFullName and the number from it. Without a PR reference, see No pull request.

MCP tools this skill uses:

  • create-flag-release — start the flag release. Always send projectKey, flagKey, confirm: true, and the variation IDs as references/auto-release.md says. Send pullRequest: { repoFullName, number } for the PR. Only a release whose environments all wait for a person can start without a PR (see No pull request). Returns config_id.
    • From a flag release plan: kind: "plan" and flagReleasePlanKey. If the tool's schema has no kind argument (an older server), leave kind out: a plan release is the default.
    • From each environment's release plan: kind: "custom", executionMode: "sequential", and environments in release order. Each entry has environmentKey, plus releaseType: "policy" for an environment with an environment release plan, and environmentReleasePlanKey for a named plan. An immediate environment has only environmentKey. Send triggerType only when the flag release plan or the user names one; a left-out trigger is flag_eval. The entries take the same shape as in create-automated-rollout-config. See references/auto-release.md.
  • create-automated-rollout-config — the fallback only: start the release from each environment's release plan when create-flag-release is not listed, does not offer kind: "custom", or returns tool disabled. Same environments and variation IDs, in this tool's own field names (see references/auto-release.md). Returns config_id.
  • get-flag-release-plans — list the project's flag release plans (default: true marks the default). Read one with flagReleasePlanKey for its environments, each with triggerType and environmentReleasePlanKey or isImmediate.
  • get-environment-release-plans — read an environment's release plans (environmentKey), or one plan (releasePlanKey).
  • get-flags — co
Полный SKILL.md на GitHub

Установить flag-release в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdmarketplace.jsonreferences/auto-release.md

FAQ

Что делает скилл flag-release?

Start the release of an existing LaunchDarkly flag that guards a pull request's change, from the project's flag release plan, or from each environment's release plan when the project has none, so the change releases safely after the PR merges. Honors a stated release intent (release now / hold / notBefore / segment / prerequisite): it never starts a release that would release a held environment. Use as the release step once the guarding flag exists and its code is wired. Keywords: start release, flag release, flag release plan, environment release plan, guarded rollout, progressive rollout, release intent, hold release, dark launch.

Как установить скилл flag-release?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл flag-release запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить flag-release с