Command Palette

Search for a command to run...

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

launchdarkly-experiment-guide

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

Guide a developer from 'I don't know what to test' to a ready-to-create LaunchDarkly experiment. Use when someone wants to run an experiment or A/B test but…

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

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

LaunchDarkly Experiment Guide

You're using a skill that turns a vague "I should probably A/B test this" into a concrete, ready-to-create LaunchDarkly experiment. Your user is likely a developer who has never designed an experiment: they may not know what a metric is, what a hypothesis should look like, or which of their features is worth testing. Your job is to do the thinking with them — infer what their product is from the code, look at what already exists in their LaunchDarkly account, propose a sensible experiment grounded in that context, wire up the code they need, and hand them a draft they can create with one confirmation.

Do the heavy lifting. Suggest, default, and explain. Never make them supply something you could reasonably infer, and never dump jargon on them.

Prerequisites

  • A local codebase (this skill reads files and git log).
  • A connection to LaunchDarkly that can create metrics and experiments — either an LD MCP server that exposes those tools, or a LaunchDarkly API access token that the user pastes for this session, for REST calls. Do not search environment variables, .env files, or agent/MCP config files for credentials. A flags-only MCP is not enough: it can scan and draft but not create. Step 0 checks the specific capabilities and fails fast if the create path is missing, offering a draft-only plan instead of grinding through the whole flow to a dead end.

This skill orchestrates several focused skills rather than reimplementing them. When a step calls for one, use it:

Job Delegate skill
Pick the right metric / primary metric / guardrails launchdarkly-metric-choose
Create a metric (and instrument the event) launchdarkly-metric-create
Add the track() call in code launchdarkly-metric-instrument
Create / wrap a flag to match the codebase launchdarkly-flag-create
Assemble, start, and stop the experiment launchdarkly-experiment-setup

Core Principles

  1. Infer, then confirm. Propose what the product is, what to test, and what to measure from real evidence in the repo and account. Show the user your read and let them correct it before you build on it.
  2. Reuse before you create. Always check for an existing flag or metric that fits before making a new one. Duplicates are the #1 way experiments get messy.
  3. One hypothesis, one primary metric, one change. Keep the first experiment small and legible. Guardrail metrics are fine; a second "primary" is not.
  4. Explain in their language. Say "the thing you're hoping to improve" before you say "primary metric." Define a term the first time you use it.
  5. Draft, then ask. Never create anything in LaunchDarkly without showing the full draft and getting an explicit yes. Writes are the user's call.

Workflow

Step 0: Check the LaunchDarkly connection (fail fast)

Before any work, confirm you can actually reach LaunchDarkly. This decides what the skill can do and avoids a dead end after the user has invested time.

Check capabilities, not just "is an MCP connected." The flow needs three things — confirm each is actually available before you rely on it, so you don't discover a missing tool only at the create step:

  • Account read — list flags, metrics, environments (Step 2 reuse).
  • Metric create — create a metric and its event (Step 5, if none fits).
  • Experiment create + start — create the experiment (Step 8) and, later, start its iteration.

Resolve a path, in precedence order:

  1. An LD MCP that exposes the experiment + metric tools (create-experiment, start-experiment-iteration, create-metric, get-metrics, …) → full MCP path. Preferred.
  2. Else a LaunchDarkly API access token the user pastes for this session → full path via the REST API. Ask for it; never read it from the machine.
  3. Partial — an LD MCP is connected for flags/environments but has no experiment/metric tools, and there's no API token. You can read the account (so the Step 2 scan still works), but you cannot create the metric or experiment. Scan and draft as normal, then stop before any write — see "Act on the outcome" below. This is not "no connection."
  4. No LD access at all → you can't even read the account. Stop at Step 0. Don't start Step 1: no reading project files, no git log, no guess at what the product is.

Verify the specific create tools exist at Step 0 — "an LD MCP is connected" does not mean you can create an experiment. A flags-only MCP will let you scan and draft, then fail at Step 8; catching that now is the whole point of the preflight.

Act on the outcome:

  • Full (1 or 2): proceed through the whole workflow.
  • Partial (3): you can reach the account, so still run the Step 2 scan and reuse what fits, then produce the draft. At Step 8, stop before any write and tell the user yo
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

README.mdmarketplace.jsonreferences/create-experiment.mdreferences/discovery.mdreferences/hypothesis-guide.md

FAQ

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

Guide a developer from 'I don't know what to test' to a ready-to-create LaunchDarkly experiment. Use when someone wants to run an experiment or A/B test but doesn't have a metric, a flag, or a hypothesis yet, or isn't sure what to measure. Scans the codebase and the connected LaunchDarkly account, proposes a hypothesis and metric from real context, wires up the flag and tracking code, then drafts the experiment and offers to create it. Built for engineers without a data-science or product-analytics background.

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

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

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

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

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

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