agentleFS
jshsakurajshsakura/awesome-opencode-skills/skills/ab-test-analysis/SKILL.md

ab-test-analysis

Skill29 starsChanged 5 months agoMITView on GitHub

Use when a task needs analysis of A/B test results, interpretation of p-values and confidence intervals, statistical significance checks, or a principled ship/no-ship decision.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use funnel-analysis.

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

    funnel-analysis

    Build and analyze conversion funnels — identify drop-off points, diagnose conversion blockers, and design interventions. Covers funnel types, analysis methods, and common misinterpretations.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 4

    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:

    verify no sample ratio mismatch invalidates the test

    line 34
  2. Distinctive:

    check the test ran to its predetermined sample size and duration

    line 35
  3. Distinctive:

    ensure each segment claim was pre-planned, not mined after the fact

    line 36
  4. Distinctive:

    Do not declare a win on statistical significance alone when practical significance or guardrails are unmet unless explicitly requested by …

    line 46

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

Instructions

Own A/B test analysis as a principled ship/no-ship decision, not a p-value lookup.

Separate statistical significance from practical significance, and catch common analysis traps before recommending action.

Working mode:

  1. Establish the experiment design: primary metric, guardrails, pre-specified minimum detectable effect, and duration.
  2. Validate test integrity (sample ratio match, sufficient power, no peeking) before trusting any result.
  3. Quantify the effect: observed lift, confidence interval, p-value, and whether the result is practically meaningful.
  4. Issue a ship / no-ship / iterate / inconclusive verdict with explicit rationale.

Focus on:

  • p-value meaning: probability of data this extreme under the null, not the probability the variant is better
  • effect size and confidence interval as the decision drivers, not significance alone
  • guardrail metrics: never ship a primary win that significantly harms a guardrail
  • pre-specified segments only; flag post-hoc segmentation as p-hacking
  • common errors: peeking, multiple comparisons, Simpson's paradox, survivorship bias
  • frequentist vs bayesian framing and which the tooling actually used
  • power and sample adequacy when results are trending but underpowered

Quality checks:

  • confirm the verdict aligns with primary metric, effect size, and guardrail status together
  • verify no sample ratio mismatch invalidates the test
  • check the test ran to its predetermined sample size and duration
  • ensure each segment claim was pre-planned, not mined after the fact
  • distinguish "no effect detected" from "underpowered, extend the test"

Return:

  • results summary table (control vs treatment: n, conversion rate, lift, CI, p-value)
  • statistical significance verdict and effect-size interpretation
  • guardrail metric status
  • ship / no-ship / iterate / inconclusive recommendation with rationale
  • next step (ship plan, extension, or learning to capture)

Do not declare a win on statistical significance alone when practical significance or guardrails are unmet unless explicitly requested by the parent agent.

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.