Index of every page on this site: llms.txt
All skills
launchdarkly avatar

/launchdarkly-experiment-guide

@f0ee110 official
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/launchdarkly/ai-tooling/launchdarkly-experiment-guide

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

README.md

≈584 tokens on demand. Your agent reads this file only when SKILL.md points to it.

LaunchDarkly Experiment Guide Skill

An Agent Skill that takes a developer from "I should probably A/B test this" to a concrete, ready-to-create LaunchDarkly experiment — even if they've never designed an experiment and don't have a metric, a flag, or a hypothesis yet.

Overview

This skill teaches agents how to:

  • Scan the codebase and git history to infer what the product is and what the team has recently built (experiment candidates).
  • Scan the connected LaunchDarkly account for existing flags and metrics, so it reuses instead of duplicating.
  • Propose a hypothesis and a primary metric grounded in that context — with worked examples — instead of asking the user cold.
  • Wire up the flag-evaluation and metric-tracking code the user needs.
  • Draft the full experiment and create it only after explicit confirmation.

It is the novice-facing, guided front door to experimentation. For the mechanical lifecycle (assemble/start/stop with a winner) it delegates to launchdarkly-experiment-setup, and it reuses the metric and flag skills for those pieces.

How it fits with the other skills

Job Skill
Guided, end-to-end experiment creation for a non-expert this skill
Mechanical experiment assembly + iteration lifecycle launchdarkly-experiment-setup
Choose / create a metric, instrument the event launchdarkly-metric-choose · -create · -instrument
Create / wrap a flag to match the codebase launchdarkly-flag-create

Installation

From your project's root directory:

npx skills add launchdarkly/ai-tooling --skill launchdarkly-experiment-guide -y

Prerequisites

  • A local codebase (the skill reads files and git log).
  • To create the experiment automatically, either the LaunchDarkly MCP server configured, or a LaunchDarkly API token for the REST fallback. Without either, the skill still produces the full draft and the exact commands to run.

Usage

The skill activates when you ask about experimenting or A/B testing, especially when you don't yet know what to test:

I want to A/B test something in my app but I'm not sure what
Help me set up an experiment for the new checkout flow
What should I experiment on, and how do I measure it?

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill is a guided assistant for setting up A/B tests and experiments using LaunchDarkly. It scans the local codebase and git history to suggest relevant experiments and interacts with LaunchDarkly via MCP or an API token to manage flags and metrics. The skill follows best practices for credential handling and user consent.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: LOW · No issues

Signed by skilld at f0ee110. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "author": "launchdarkly",
  "version": "0.1.0-experimental"
}
Other metadata
compatibility
Uses the LaunchDarkly MCP server when it is configured; otherwise falls back to the LaunchDarkly REST API (needs a LaunchDarkly API token). Reads the local codebase and git history.

README badge

README badge for launchdarkly/ai-tooling/launchdarkly-experiment-guide