agentleFS
Dokkabei97Dokkabei97/forged-claude-code/skills/cpo/experiment-designer/SKILL.md

experiment-designer

Skill2 starsChanged 9 months agoMITView on GitHub

Designs A/B tests and product experiments with hypothesis structuring, sample size calculation, duration estimation, and result interpretation. Unified framework for both product and marketing experiments.

12 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 2

    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:

    When you don't have enough users for traditional A/B testing:

    line 98
  2. Distinctive:

    Run statistical analyses on real data

    line 149

“Common” is measured: kept by at least 6 in 10 of the 11 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 - A/B Test & Product Experiment Guide

Overview

Designs statistically sound experiments so you make decisions based on data, not opinions. Especially critical when traffic is low and every experiment counts.


1. When to Apply

TriggerBehavior
Testing a product changeFull experiment design
"A/B test", "experiment"Interactive experiment builder
Interpreting test resultsStatistical analysis guide

2. Experiment Design Template

# Experiment: [Name]

## Hypothesis
> If we [change X], then [metric Y] will [improve/decrease] by [Z%],
> because [rationale based on user behavior/data].

## Design
| Field | Value |
|-------|-------|
| **Type** | A/B / A/B/n / Multivariate |
| **Primary Metric** | [e.g., conversion rate] |
| **Guardrail Metrics** | [metrics that should NOT worsen] |
| **Baseline** | [current value of primary metric] |
| **MDE** | [Minimum Detectable Effect, e.g., 5%] |
| **Significance** | 95% (α = 0.05) |
| **Power** | 80% (β = 0.20) |

## Sample Size & Duration
| Variant | Traffic Split | Required Sample | Est. Duration |
|---------|--------------|----------------|---------------|
| Control (A) | 50% | [N] | [days] |
| Variant (B) | 50% | [N] | [days] |

## Variants
### Control (A)
[Current experience — no changes]

### Variant (B)
[Specific change being tested]

## Success Criteria
- **Win**: Primary metric improves by ≥ MDE AND guardrails stable
- **Lose**: Primary metric does not improve OR guardrails degrade
- **Inconclusive**: Not enough data (extend or abandon)

## Risks & Mitigations
- [Risk]: [Mitigation]

3. Sample Size Quick Reference

For conversion rate experiments (95% significance, 80% power):

Baseline RateMDE 5%MDE 10%MDE 20%
1%380K95K24K
5%72K18K4.6K
10%34K8.6K2.2K
20%16K3.9K1K
50%3.1K780200

Per variant. Total = N × number of variants.


4. Low-Traffic Strategies

When you don't have enough users for traditional A/B testing:

StrategyWhenHow
Accept larger MDE>20% effect expectedReduces sample size
Sequential testingNeed early stoppingBayesian approach
Before/afterNo traffic for splitCompare time periods
Qualitative<100 usersUser interviews + usability tests
Fake door testTesting demandMeasure clicks on non-existent feature

5. Result Interpretation

## Experiment Results: [Name]

| Metric | Control | Variant | Δ | p-value | Significant? |
|--------|---------|---------|---|---------|-------------|
| [Primary] | [N] | [N] | [+/-]% | [p] | Yes/No |
| [Guardrail] | [N] | [N] | [+/-]% | [p] | - |

## Decision: [Ship / Don't Ship / Iterate]
**Rationale**: [Why this decision based on data]

## Learnings
- [What we learned about user behavior]
- [Implications for future experiments]

6. Tool Coordination

ToolPurpose
WriteGenerate experiment design documents
ReadReference existing experiment history

7. Boundaries

Will:

  • Design statistically sound A/B tests
  • Calculate sample sizes and durations
  • Provide low-traffic experimentation alternatives
  • Guide result interpretation

Will Not:

  • Implement feature flags or A/B test code
  • Run statistical analyses on real data
  • Connect to analytics platforms
  • Make ship/no-ship decisions (present data, you decide)

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.