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★ 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 hastriggerType: "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, orpromotionafter 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>), takerepoFullNameand 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 sendprojectKey,flagKey,confirm: true, and the variation IDs as references/auto-release.md says. SendpullRequest: { repoFullName, number }for the PR. Only a release whose environments all wait for a person can start without a PR (see No pull request). Returnsconfig_id.- From a flag release plan:
kind: "plan"andflagReleasePlanKey. If the tool's schema has nokindargument (an older server), leavekindout: a plan release is the default. - From each environment's release plan:
kind: "custom",executionMode: "sequential", andenvironmentsin release order. Each entry hasenvironmentKey, plusreleaseType: "policy"for an environment with an environment release plan, andenvironmentReleasePlanKeyfor a named plan. An immediate environment has onlyenvironmentKey. SendtriggerTypeonly when the flag release plan or the user names one; a left-out trigger isflag_eval. The entries take the same shape as increate-automated-rollout-config. See references/auto-release.md.
- From a flag release plan:
create-automated-rollout-config— the fallback only: start the release from each environment's release plan whencreate-flag-releaseis not listed, does not offerkind: "custom", or returnstool disabled. Same environments and variation IDs, in this tool's own field names (see references/auto-release.md). Returnsconfig_id.get-flag-release-plans— list the project's flag release plans (default: truemarks the default). Read one withflagReleasePlanKeyfor its environments, each withtriggerTypeandenvironmentReleasePlanKeyorisImmediate.get-environment-release-plans— read an environment's release plans (environmentKey), or one plan (releasePlanKey).get-flags— co
Установить flag-release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic