agentleFS
EdgeCaserEdgeCaser/shipwright/skills/measurement/ab-test-analysis/SKILL.md

ab-test-analysis

Skill8 starsChanged 8 months agoMITView on GitHub

Evaluates experiment results for statistical significance, practical significance, segment effects, and next actions. Supports both frequentist and Bayesian interpretations. Helps PMs make ship/no-ship decisions with appropriate rigor.

16 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use product-name, positioning-ideas and 10 more.

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.
  • About-IntelligenceSkill

    product-name

    Brainstorm 5 unique, memorable product names with rationale aligned to brand values and target audience.

    Also in 7 projects that use this

  • About-IntelligenceSkill

    positioning-ideas

    Brainstorm product positioning ideas differentiated from competitors.

    Also in 6 projects that use this

  • skytiger6724Skill

    brainstorm-experiments-new

    Design lean startup experiments (pretotypes) for a new product. Creates XYZ hypotheses and suggests low-effort validation methods like landing pages, explainer videos, and pre-orders. Use when validating a new product idea, creating pretotypes, or testing market demand.

    Also in 6 projects that use this

  • skytiger6724Skill

    brainstorm-experiments-existing

    Design experiments to test assumptions for an existing product — prototypes, A/B tests, spikes, and other low-effort validation methods. Use when validating assumptions, testing feature ideas cheaply, or planning product experiments.

    Also in 5 projects that use this

  • 45ckSkill

    pestle-analysis

    Also in 5 projects that use this

  • launchapp-devSkill

    interview-script

    Create a structured user interview script with warm-up, core exploration, and wrap-up sections. Use when preparing for user research interviews to ensure consistent, insightful conversations.

    Also in 6 projects that use this

  • +5 more from skytiger6724
  • +1 more from About-Intelligence

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read docs/workflow-contract.md once per session before applying this skill.

    line 10
  2. Distinctive:

    No effect size, no guardrail check, no practical significance judgment, significance alone does not justify shipping.

    line 195

“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

A/B Test Analysis

Read docs/workflow-contract.md once per session before applying this skill. Resolve it from the nearest ancestor of this file containing manifest.json; all Shipwright paths are relative to that root.

Description

Evaluates experiment results for statistical significance, practical significance, segment effects, and next actions. Supports both frequentist and Bayesian interpretations. Helps PMs make ship/no-ship decisions with appropriate rigor.

When to Use

  • An A/B test has concluded and needs interpretation
  • Deciding whether results are strong enough to ship
  • Analyzing unexpected or ambiguous experiment results
  • Post-experiment review and learning documentation

Depth

ScopeUse WhenSections to Include
LightQuick read on a clear win/loss with no ambiguityExperiment Summary, Results Summary, Decision
StandardTypical post-experiment reviewAll sections
DeepHigh-stakes launch decision, mixed signals, or multi-variant testAll sections + Bayesian credible intervals, long-term holdout plan, interaction effects between variants

Omit rules: At Light depth, condense Interpretation and omit Segment Analysis and Learnings. Retain experiment validity, uncertainty and guardrail checks before recommending an action.

Framework

Step 1: Experiment Summary

## Experiment: [Name]
**Hypothesis:** We believe that [change] will [improve metric] because [reasoning].
**Test dates:** [start], [end]
**Duration:** [N] days
**Traffic allocation:** [X]% control / [Y]% treatment
**Sample size:** Control: [N] | Treatment: [N]
**Primary metric:** [metric name]
**Secondary metrics:** [metric 1, metric 2]
**Guardrail metrics:** [metric that must not degrade]

Step 2: Results Summary

## Results

### Primary Metric: [Name]
| Variant | Value | Change vs. Control | Confidence | Significant? |
|---|---|---|---|---|
| Control | [value] | | | |
| Treatment | [value] | [+/- X%] | [95% CI: lower, upper] | [Yes / No] |

**Statistical significance:** [p-value] (threshold: p < 0.05)
**Practical significance:** [Is the effect size large enough to matter?]
**Power:** [Was the sample large enough to detect the expected effect?]

### Secondary Metrics
| Metric | Control | Treatment | Change | Significant? |
|---|---|---|---|---|
| [Metric 1] | [value] | [value] | [%] | [Yes/No] |
| [Metric 2] | [value] | [value] | [%] | [Yes/No] |

### Guardrail Metrics
| Metric | Control | Treatment | Change | Status |
|---|---|---|---|---|
| [Guardrail 1] | [value] | [value] | [%] | [OK / Degraded] |

Step 3: Interpretation

## Interpretation

### Statistical Rigor Check
- [ ] Sample size meets minimum detectable effect (MDE) requirements
- [ ] Test met its prespecified duration and relevant business cycles
- [ ] No sample ratio mismatch (SRM) detected
- [ ] Novelty/primacy effects considered (check time-series trend)
- [ ] Multiple comparison correction applied (if testing multiple variants/metrics)

### Effect Classification
| Classification | Criteria | Our Result |
|---|---|---|
| Clear Win | Primary metric sig. positive, no guardrail degradation | [Yes/No] |
| Clear Loss | Primary metric sig. negative | [Yes/No] |
| Inconclusive | Not statistically significant | [Yes/No] |
| Mixed | Primary positive but secondary/guardrail negative | [Yes/No] |
| Surprising | Result opposite to hypothesis | [Yes/No] |

Step 4: Segment Analysis

## Segment Analysis

Does the effect vary across important segments?

| Segment | N (Control) | N (Treatment) | Effect | Significant? |
|---|---|---|---|---|
| [New users] | [N] | [N] | [%] | [Yes/No] |
| [Existing users] | [N] | [N] | [%] | [Yes/No] |
| [Mobile] | [N] | [N] | [%] | [Yes/No] |
| [Desktop] | [N] | [N] | [%] | [Yes/No] |
| [Free plan] | [N] | [N] | [%] | [Yes/No] |
| [Paid plan] | [N] | [N] | [%] | [Yes/No] |

**Segment insights:**
- [Insight, e.g., "Effect is 3x stronger for new users, suggesting this primarily helps onboarding"]

**Caution:** Segment analyses are exploratory, not confirmatory. Small segments may lack power.

Step 5: Decision & Next Steps

## Decision

### Recommendation: [Ship / Don't Ship / Iterate / Extend Test]

**Rationale:**
- [Reason 1, tied to data]
- [Reason 2, tied to strategic context]
- [Reason 3, tied to guardrail assessment]

### If shipping:
- [ ] Roll out to 100% of users
- [ ] Monitor guardrails for [N] days post-launch
- [ ] Clean up experiment code / feature flags

### If iterating:
- **What we learned:** [Key insight]
- **Next experiment:** [What to test next based on learnings]
- **Hypothesis:** [Updated hypothesis]

### If extending:
- **Reason:** [e.g., "Insufficient sample size to detect expected effect"]
- **New end date:** [date]
- **Required sample:** [N per variant]

## Learnings (for the experiment knowledge base)
- **What we expected:** [hypothesis]
- **What happened:** [result]
- **What we learned:** [insight that applies beyond this experiment]
- **Impact on strategy:** [does this change any product bets?]

Minimum Evidence Bar

Required inputs: Experiment hypothesis, test dates, sample sizes per variant, metric values for control and treatment.

Acceptable evidence: Raw metric values with confidence intervals, p-values or posterior probabilities, segment-level breakdowns, guardrail metric readings.

Insufficient evidence: When the planned sample, stopping rule or relevant business cycle has not been met, report uncertainty and mark the result inconclusive. Request missing inputs. Do not extend a fixed-horizon test solely to chase significance; specify a valid new design or planned stopping rule. Guardrail harm can justify a no-go even when the primary effect is inconclusive.

Hypotheses vs. findings:

  • Findings: Effect classification (win/loss/inconclusive), statistical significance, guardrail status, must be grounded in provided data.
  • Hypotheses: Segment-level explanations and proposed next experiments, must be labeled as exploratory.

Output Format

Produce an Experiment Analysis Report with:

  1. Experiment Summary, hypothesis, design, duration
  2. Results, primary, secondary, and guardrail metrics
  3. Interpretation, rigor checks and effect classification
  4. Segment Analysis, how effects vary across groups
  5. Decision, ship/iterate/extend with rationale
  6. Learnings, institutional knowledge capture

Shipwright Signature (required closing): 7. Decision Frame, ship/no-ship/iterate recommendation, trade-off, confidence with evidence quality (sample size, test duration, SRM check), owner, decision date, revisit trigger 8. Unknowns & Evidence Gaps, segments not tested, long-term effects unmeasured, novelty/primacy uncertainty 9. Pass/Fail Readiness, PASS if validity, uncertainty, guardrails and limitations are assessed and the recommendation follows the evidence, including no-go or inconclusive outcomes; FAIL if checks are missing or the recommendation overstates the data 10. Recommended Next Artifact, Which Shipwright skill to run next and why

Common Mistakes to Avoid

  • Peeking and stopping early, Checking results daily and stopping when p < 0.05 inflates false positives
  • Ignoring practical significance, A statistically significant 0.1% lift on a metric may not be worth shipping
  • No guardrail checks, A win on the primary metric that degrades something critical is a net loss
  • Overclaiming segment results, Segment analysis is hypothesis-generating, not hypothesis-confirming
  • Not documenting learnings, An experiment that doesn't update your team's mental model was wasted

Weak vs. Strong Output

Weak:

"The test was statistically significant so we should ship it."

No effect size, no guardrail check, no practical significance judgment, significance alone does not justify shipping.

Strong:

"Treatment lifted activation rate +3.2% (95% CI: +1.8% to +4.6%, p=0.002). Guardrails stable. Effect is 2x our MDE threshold. Recommend ship with 14-day post-launch monitoring on error rate."

Quantified effect with confidence interval, guardrail status, practical significance threshold, and a concrete next step.

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.