Command Palette

Search for a command to run...

Назад к скиллам
скилл № 50786

launchdarkly-metric-choose

Choose the right metrics for a LaunchDarkly experiment, guarded rollout, or environment release plan. Use when the user wants to know which metrics to use…

БесплатноБез исполняемых скриптов
launchdarklyот launchdarkly★ 32 звезды на GitHub

Установить launchdarkly-metric-choose в Claude Code и Claude Desktop

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

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

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

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

LaunchDarkly Metric Choose

You're using a skill that helps users select the right metrics before setting up an experiment, guarded rollout, or environment release plan. Your job is to understand the feature context, surface the metrics that the environment's release plans already use, inventory what's available and healthy, and produce a clear typed recommendation.

This skill is advisory. It does not create metrics, attach them to experiments, or configure rollouts. For those tasks, see the related skills at the end of this document.

Prerequisites

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

Required MCP tools:

  • get-metrics — inventory available metrics with their types and event keys
  • get-metric-events — check which event keys have recent activity

Optional MCP tools (enhance workflow):

  • get-environment-release-plans — fetch an environment's release plans (projectKey, environmentKey). Each plan's progressiveRelease.metrics are the metrics that a release with that plan is guarded by, and default: true marks the plan that releases use unless they name another. Use this for the guarded rollout and release plan paths.

Workflow

Step 1: Identify the Context

Ask two questions upfront:

  1. What is this for?

    • (a) Experiment — testing a hypothesis with a flag variant
    • (b) Guarded rollout — progressively rolling out a change with automatic regression detection
    • (c) Environment release plan — creating or editing an environment's release plan, whose metrics guard every release that uses the plan
  2. What is the change?

    • Flag key (if applicable)
    • Plain-language description: "Rolling out a new checkout flow" / "Testing a new recommendation algorithm"

Step 2: Fetch Existing Configuration (Guarded Rollout and Release Plan only)

For experiments — skip this step. There is no pre-existing configuration to surface.

For guarded rollouts and release plan work, ask which environment the rollout or plan is for (if not stated), then call get-environment-release-plans first:

get-environment-release-plans(projectKey, environmentKey)

Surface the results before making any recommendations:

production has 2 release plans:

Plan: "Guarded rollout" (default)
  Guarded by:
    ✓ api-error-rate  (count, LowerThanBaseline, auto-rollback)
    ✓ p95-latency     (value, LowerThanBaseline, auto-rollback)

Plan: "Progressive"
  No metrics (progressive only).

This tells the user what's already covered before they choose anything additional. A release that uses the default plan is guarded by its metrics, so the recommendation is about what to add on top, not rebuild from scratch. A guarded rollout started by hand takes only the metrics you give it: say so, and offer the plan's metrics as the starting point.

If the environment has no release plans, or none has metrics, note that all metrics must be selected manually. An incomplete plan (migrated from a release policy) cannot start a release; say so when you name one.

Step 3: Inventory Available Metrics with Event Health

Call get-metrics to see all metrics in the project, then cross-reference with get-metric-events.

Organize into two groups:

Group Criteria Note
Healthy Event key appears in get-metric-events Safe to recommend
At-risk Event key absent from get-metric-events Warn: may not produce data

Pageview and click metrics have no custom event key, so get-metric-events cannot vouch for them. List them separately as "not checked" rather than at-risk.

Show this inventory before recommending — it may reveal that a metric the user has in mind has no events flowing.

Step 4: Recommend

The reasoning differs meaningfully by context.


(a) Experiment

Start with the hypothesis, not the metric list.

Ask the user to complete this sentence before looking at available metrics:

"If this change succeeds, [metric] will [increase / decrease]."

The primary metric must directly measure that hypothesis — not a proxy, not a correlation. If the user can't complete the sentence, help them get there first.

Propose one primary metric. It must:

  • Directly measure the hypothesis
  • Have events actively flowing
  • Have an unambiguous success direction (HigherThanBaseline or LowerThanBaseline)

Propose typed secondary metrics. Suggest at least one of each type that applies:

Type Purpose Example
Guardrail Did the change break anything? Error rate, crash rate, latency p95
Counter-metric Did A improve at the cost of B? If primary is conversion, add support tickets or session length
Supporting signal Does correlated behavior confirm the hypothesis? If primary is signup, add onboarding step 2 completion

One of each type is usually the right amount. More secondary metric

Полный SKILL.md на GitHub

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

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

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

FAQ

Что делает скилл launchdarkly-metric-choose?

Choose the right metrics for a LaunchDarkly experiment, guarded rollout, or environment release plan. Use when the user wants to know which metrics to use, which is the primary metric for an experiment, what guardrails to add, or which events to monitor in a rollout. Surfaces the metrics that the environment's release plans already use before making additional recommendations.

Как установить скилл launchdarkly-metric-choose?

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

Скилл launchdarkly-metric-choose запускает скрипты?

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

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

Сравнить launchdarkly-metric-choose с