Command Palette

Search for a command to run...

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

launchdarkly-experiment-setup

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

Set up and run experiments in LaunchDarkly. Create experiments with metrics, treatments, and flag config, start iterations to collect data, swap design…

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

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

LaunchDarkly Experiment Setup

You're using a skill that guides you through setting up and running experiments in LaunchDarkly. Your job is to design the experiment, create it with the right metrics, treatments, and flag config, start data collection, evolve the design between iterations when needed, and stop with a winner. Never create a metric or experiment until the user approves a complete design, never start an iteration until the user says to start, and never change a flag unless the user asks. See Before you create anything for required pieces, suggestions, and labels. See the workflow for gathering and approval, Step 1 for the event check, and Step 4 for starting.

Prerequisites

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

Required MCP tools:

  • create-experiment — create a new experiment with its initial iteration (hypothesis, metrics, treatments, flag config).
  • start-experiment-iteration — begin collecting data for an experiment's current draft iteration.
  • get-experiments — check experiment status, treatments, metrics, and current iteration.

Optional MCP tools:

  • get-experiments — browse existing experiments in the project.
  • update-experiment — update fields on the experiment or its current iteration. Honours mutableFieldsByStatus, so what's editable depends on whether the iteration is not_started, running, or stopped. Returns rejected inputs under skipped.
  • save-and-start-experiment-iteration — the API-recommended way to change locked fields on a running experiment. Stops the current iteration, creates a new draft with the supplied field updates, and starts it in one call.
  • stop-experiment-iteration — stop the running iteration. You must declare a winner: pass the winningTreatmentId (and a winningReason). If no variation outperformed, pick the baseline/control as the winner.
  • get-metrics, create-metric, get-metric-events — manage metrics referenced by the experiment.
  • get-flags — without flagKey, search flags in a project by name or key (query); with flagKey and env, read one flag's targeting: whether it is on, the variation a rule serves, its off variation, and whether that rule is a percentage rollout.
  • create-flag — create a feature flag in a project. It is off in every environment until turned on.
  • get-flag-status-across-envs — read a flag's status in each environment (new, active, launched, or inactive).
  • search-contexts — find stored contexts in an environment by kind, to see which context kinds are in use.

Core Concepts

What Are Experiments?

Experiments in LaunchDarkly measure the impact of feature flag variations on key metrics. An experiment consists of:

  • Treatments: the flag variations being compared (control vs. test). Each treatment has an allocationPercent; the values across treatments should sum to 100.
  • Metrics: what you're measuring (conversion rate, latency, revenue, etc.). One must be the primary metric.
  • Flag config: the flagKey, ruleId, and flagConfigVersion of the targeting rule that drives the experiment.
  • Iteration: a single data-collection window. Created in not_started status, becomes running when started, transitions to stopped when ended.
  • Holdout (optional): a project-level group of users excluded from the experiment for baseline measurement (holdoutId).

Experiment Lifecycle

  1. Create the experiment with its first iteration (create-experiment).
  2. Start the iteration to begin data collection (start-experiment-iteration), only after the user explicitly says to start.
  3. Monitor results as data accumulates (get-experiments).
  4. Evolve the design mid-experiment if needed — change locked fields like treatments, metrics, or methodology by calling save-and-start-experiment-iteration, which stops the current iteration, creates a new draft with your changes, and starts it. That call starts data collection, so make it only after the user explicitly says to start.
  5. Stop the iteration when you have a winner or a clear call (stop-experiment-iteration).
  6. Ship the winning variation.

Core Principles

  1. Metrics first: ensure the metrics you'll reference exist before creating the experiment.
  2. Clear hypothesis: every iteration requires a hypothesis string from the user. See Before you create anything. If the hypothesis is missing or weak (no measurable outcome, no reason the change would work, or not testable) and launchdarkly-experiment-hypothesis-builder is installed, follow it first to get a strong hypothesis and its handoff payload.
  3. Proper controls: exactly one treatment must have baseline: true.
  4. Sufficient sample size: let iterations run long enough to support a decision. See Step 7.
  5. One change at a time: test one variable per experiment for clear attribution.

Before you create anything

These three

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

Установить launchdarkly-experiment-setup в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл launchdarkly-experiment-setup?

Set up and run experiments in LaunchDarkly. Create experiments with metrics, treatments, and flag config, start iterations to collect data, swap design between iterations, and stop with a winner.

Как установить скилл launchdarkly-experiment-setup?

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

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

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

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

Сравнить launchdarkly-experiment-setup с