agentleFS
patonkikhpatonkikh/APES/skills/growth/experiment-designer/skill.md

experiment-designer

Skill3 starsChanged 4 months agoMITView on GitHub

Design a product or growth experiment: hypothesis, variants, primary metric, sample size, runtime, and guardrails. Use when planning A/B tests, feature rollouts, pricing tests, or validating GTM assumptions.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use launch-readiness and stakeholder-update.

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.
  • pratikshadakeSkill

    launch-readiness

    Audits whether a feature or product is truly ready for launch with a structured checklist and readiness status (Ready/At Risk/Not Ready). Use before any product launch to catch critical gaps.

    Also in 3 projects that use this

  • AnthropicSkill

    stakeholder-update

    Generate a stakeholder update tailored to audience and cadence. Use when writing a weekly or monthly status for leadership, announcing a launch, escalating a risk or blocker, or translating the same progress into exec-brief, engineering-detail, or customer-facing versions.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If decision is undefined, stop — experiments without action thresholds waste traffic.

    line 33
  2. Very specific:

    Document exact UI/copy/model/config diff

    line 61
  3. Distinctive:

    Add treatment B only with enough traffic for multi-arm test.

    line 64
  4. Very specific:

    If events missing, stop — run product/analytics-instrumentation-planner first.

    line 76
  5. Distinctive:

    Document formula inputs; if traffic insufficient, recommend:

    line 88
  6. Distinctive:

    Run power calculation before engineering work.

    line 161

“Common” is measured: kept by at least 6 in 10 of the 13 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 Designer

Purpose

Design a rigorous product or growth experiment: clear hypothesis, variants, success metrics, statistical plan, and guardrails before running an A/B test or controlled rollout.

Input: Decision to make, current baseline metric, available traffic/volume, constraints (time, risk)
Output: Experiment Specification with hypothesis, variant definitions, power analysis, runtime estimate, and ship criteria
Examples: See examples.md for worked input/output.


Workflow

Step 1: Frame the decision

FieldContent
DecisionWhat will we do if experiment wins?
Non-goalsWhat this experiment will not prove
StakeholderWho approves ship/rollback
Risk tierLow (UI copy) / Medium (pricing) / High (model change)

If decision is undefined, stop — experiments without action thresholds waste traffic.

Step 2: Write falsifiable hypothesis

Format:

We believe [change] for [segment] will improve [metric] because [reason].
We will be wrong if [metric] moves opposite or guardrails breach.

Example:

We believe showing AI confidence scores for [SMB users] will improve
[7-day retention] because trust increases repeat use.

Step 3: Define variants

VariantDescriptionAllocation
ControlCurrent experience50%
Treatment ASingle change only50%

Rules:

  • One primary change per experiment (isolate causality)
  • Document exact UI/copy/model/config diff
  • For AI: version prompts and models in experiment config

Add treatment B only with enough traffic for multi-arm test.

Step 4: Select metrics

TypeMetricExample
PrimaryOne decision metricActivation D7, conversion to paid
SecondarySupporting behaviorTime to value, feature usage
GuardrailMust not harmError rate, latency p95, support tickets

Primary metric must map to a tracked event in analytics plan.

If events missing, stop — run product/analytics-instrumentation-planner first.

Step 5: Statistical design

ParameterHow to set
Baseline rateHistorical conversion or retention
MDEMinimum detectable effect (business meaningful, e.g. +2% abs)
SignificanceTypically 95% confidence, two-tailed
Power80% standard
Sample sizeCalculate from baseline + MDE

Document formula inputs; if traffic insufficient, recommend:

  • Longer runtime
  • Higher MDE acceptance
  • Sequential test with caution
  • Qualitative study instead

Step 6: Runtime and segmentation

ItemSpec
DurationDays/weeks to reach sample size
PopulationAll users vs new users only
ExclusionsBots, employees, free-trial edge cases
Randomization unitUser ID vs workspace (no mixing)

For AI quality experiments: stratify by query type if volume allows.

Step 7: Ship and rollback criteria

OutcomeAction
Primary wins, guardrails OKShip to 100%
InconclusiveExtend or stop; do not ship
Guardrail breachRollback immediately
Negative primaryRollback; document learning

Pre-register criteria before launch to avoid peeking bias.

Step 8: Validate

Run Validation checklist.


Decision Rules

ConditionAction
No baseline metricStop; collect 2 weeks baseline first
<1000 units expectedWarn low power; prefer qualitative
High-risk variantRequire feature flag + instant rollback
Multiple simultaneous testsCheck interaction overlap; reduce concurrent tests
AI model swapTreat as high-risk; monitor quality guardrails
Pricing testLegal/comms review; clear customer communication

Validation

  • Decision and ship criteria stated upfront
  • Falsifiable hypothesis documented
  • Control and treatment defined with single primary change
  • Primary, secondary, and guardrail metrics named
  • Sample size or runtime estimate with MDE
  • Randomization unit specified
  • Rollback plan for guardrail breach
  • Analytics events exist for primary metric

Anti-patterns

  • HiPPO after peeking — stopping early when results look good.
  • Multiple changes — cannot attribute wins.
  • Vanity metrics — clicks without retention/revenue tie.
  • No guardrails — wins conversion, breaks latency or quality.
  • Forever test — experiment becomes permanent split.

Best Practices

  • Run power calculation before engineering work.
  • Log experiment ID on all exposure and outcome events.
  • Archive results in experiment registry (hypothesis, outcome, learning).
  • Pair with growth/go-to-market-planner for launch experiments.
  • For AI: include human review sample on quality guardrails.

Output Structure

# Experiment: [Name]

## Decision
[What we decide on win/loss]

## Hypothesis
[Falsifiable statement]

## Variants
| Variant | Change | Traffic % |
|---------|--------|-----------|

## Metrics
| Role | Metric | Baseline | MDE |
|------|--------|----------|-----|

## Statistics
[Sample size, duration, confidence]

## Segmentation
[Population, exclusions]

## Ship criteria
[Win / stop / rollback rules]

## Dependencies
[Analytics events, feature flags]

Next Skills

OutcomeRecommended Skill
Add tracking eventsproduct/analytics-instrumentation-planner
Canonical metric definitionsdata/metric-definition-builder
GTM launch testgrowth/go-to-market-planner
Price test designgrowth/pricing-strategy-advisor
AI quality guardrailsai/ai-evaluation-builder

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.