agentleFS
ramanbambaramanbamba/10x-pm/skills/experiment-design/SKILL.md

experiment-design

Skill1 starsChanged 5 months agoMITView on GitHub

Design an A/B test or product experiment with a falsifiable hypothesis, guardrail metrics, sample-size sanity check, and pre-committed decision rules. Use when the user says "design an experiment", "A/B test for", "how should we test this", "is this result significant", or wants to validate a product change with data.

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use list-quality-scorecard and positive-reply-scoring.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • growthenginenowoslawskiSkill

    list-quality-scorecard

    Pre-send quality scorecard for any lead list. Grades duplicate rate, title diversity, bad-title patterns, catch-all domain density, ICP fit, email verification coverage. Outputs a letter grade + action items BEFORE you send. Catches bad lists before they burn inboxes. Run after email enrichment, before Smartlead upload.

    Also in 3 projects that use this

  • growthenginenowoslawskiSkill

    positive-reply-scoring

    Pulls replies from a Smartlead campaign, classifies each as positive/neutral/negative/OOO/bounce/unsubscribe using Claude, and reports the positive reply rate — the north-star metric for cold email. Use when the user wants to know if a campaign is actually working (not just getting replies, but getting the RIGHT replies). Triggers on "score my replies", "how's campaign X doing", "positive reply rate", "is this campaign working".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Ask what decision the experiment gates.

    line 12
  2. Distinctive:

    Ask for baseline numbers: current conversion/metric value and weekly eligible traffic.

    line 13
  3. Distinctive:

    Ask the smallest effect worth acting on (MDE).

    line 14

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Experiment Design

Design experiments that can actually change a decision: falsifiable hypothesis, feasible sample size, and the ship/kill rule written down before the data arrives.

Before designing

  1. Ask what decision the experiment gates. If the team will ship regardless of the result, say so plainly and recommend skipping the experiment — measure post-launch instead.
  2. Ask for baseline numbers: current conversion/metric value and weekly eligible traffic. Without these, sample-size math is impossible — help estimate from analytics if needed.
  3. Ask the smallest effect worth acting on (MDE). "Any improvement" is not an answer; detecting a 0.1% lift may need more traffic than the product has.

Workflow

  1. Write the hypothesis falsifiably: "Because we observed [evidence], we believe [change] for [segment] will move [primary metric] by ≥[MDE]. We are wrong if [observable outcome]."
  2. One primary metric. Multiple primaries = p-hacking with extra steps. Secondaries are for learning, not deciding, and are labeled as such.
  3. Set guardrails: the 2–4 metrics that must not degrade (revenue, latency, unsubscribe, support contacts), each with a tolerance threshold.
  4. Sanity-check the sample size. Compute required n per arm (α=0.05, power=0.8) with the standard approximation; run the numbers in code for precision. Then the honest conversation: at current traffic, how many weeks? If >8 weeks, propose alternatives — bigger change, coarser MDE, a more sensitive proxy metric, or a non-experimental method (holdout, pre/post with controls, user tests).
  5. Pre-commit the decision rules, all four branches: significant win → [action]; significant loss → [action]; flat/inconclusive → [action — usually kill, and say so]; guardrail breach → [stop rule]. Also fix the run length up front: no peeking-and-stopping on a good day, run full weeks to capture weekly cycles.
  6. List validity threats relevant to this setup: novelty effect, seasonality, contamination between arms, segment mix shifts — with a mitigation or an acknowledgment.

Output format

# Experiment — [name]
**Decision it gates:** [what ships or dies] · **DRI:** [name]

## Hypothesis
Because [evidence], we believe [change] for [segment] will move [metric] by ≥[MDE]%.
We are wrong if: [falsifiable outcome].

## Design
Arms: [control / variant(s)] · Split: [%] · Unit: [user/session/account]
Targeting: [who's eligible] · Exclusions: [who's not, why]

## Metrics
**Primary:** [metric — exact definition]
**Guardrails:** [metric · threshold] × [2–4]
**Secondary (learning only):** [metrics]

## Power
Baseline: [X]% · MDE: [Y]% (relative) · n per arm: [computed] · Est. runtime: [Z] weeks at current traffic
[If >8 weeks: the recommended alternative]

## Decision rules (pre-committed)
- Win (p<0.05, ≥MDE): [action]
- Loss: [action]
- Flat after [N] weeks: [action]
- Guardrail breach ([threshold]): stop, [procedure]

## Validity threats
[Threat → mitigation]

Quality bar — self-check

  • Hypothesis is falsifiable and cites the evidence that motivated it.
  • Exactly one primary metric.
  • Sample size was computed, not asserted — show the numbers.
  • Runtime is honest. An underpowered experiment recommended anyway is the cardinal sin — never do it silently.
  • All four decision branches are pre-committed, including the uncomfortable "flat → kill" one.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.