Ab test design
Skill Amey-Thakur/AI-SKILLS/skills/product-management/ab-test-design
Plug-and-play skills and prompts for every AI coding agent
npx -y skills add Amey-Thakur/AI-SKILLS --skill ab-test-designAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 18 days oldThe repository was created 18 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Design product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result.
SKILL.md
3.7 KB, as published. Nobody here has run it
A/B test design
An experiment is a measurement instrument you build before using. Decide the hypothesis, the metric, the sample size, and the stopping rule first; a test designed after seeing data is an anecdote with error bars.
Method
- Write the hypothesis as a causal sentence. "Showing delivery dates on the product page will increase checkout completion by reducing delivery uncertainty": mechanism included, so a flat result teaches something (the mechanism is wrong, or the lever is weak: see hypothesis-driven-work). Pick the one primary metric it should move (see product-metrics) and the guardrails it must not break.
- Size the test before launch. From baseline rate, minimum detectable effect you would act on, and power (80%+): compute required sample and therefore runtime. If the honest answer is "eleven weeks", change the plan: bigger lever, higher-traffic surface, or a different method (see Boundaries). Underpowered tests produce coin-flips read as insight (see statistical-power for the math).
- Randomize at the right unit, verify the split. User-level (stable across sessions) for most product changes; cluster-level where users interact (marketplaces, social: interference breaks user-level math). Check sample-ratio mismatch on day one: a 50/50 split arriving 48/52 means broken assignment and invalidates everything after (see data-quality-checks' spirit applied to experiments).
- Run past the decided stopping point, without peeking decisions. Fixed-horizon tests: no early stopping on significance (repeated peeking manufactures false positives); if early looks are operationally necessary, use sequential methods designed for them. Run whole weeks (weekday/weekend cycles), through the novelty wobble; and pre-register the analysis (segments included) so the readout is not a fishing trip (see experiment-design-basics, train-test-discipline's split-first ethic).
- Read results as decisions, guardrails first. Check guardrails before celebrating the primary; report effect size with confidence interval, not just significance ("+0.8% [0.1, 1.5]" says more than "p<0.05"); segment analyses are hypothesis-generating unless pre-registered (see model-evaluation's slicing discipline). Flat is a result: the mechanism failed, and that updates the roadmap (see product-discovery).
- Log every experiment, including the dead. Hypothesis, design, result, decision, in a searchable registry (see experiment-tracking's sibling for product): the organization's real asset is the accumulated map of what levers do and do not move, and it only accumulates if losses are recorded (see decision-journals).
Boundaries
- Low-traffic products and big redesigns often cannot power a test; use staged rollouts with health metrics (see canary-analysis), pre/post cohorts with humility, or qualitative methods (see customer-interviews): a fake A/B test is worse than an honest observational read.
- Experiments measure short-term proxies; long-term effects (trust, ecosystem health) need holdouts held for months and are still hard: flag decisions where short-term wins plausibly buy long-term damage (see product-metrics' Goodhart warning).
- Ethics constrain the space: no dark-pattern arms, no degrading critical services to measure harm, disclosure where policy requires (see llm-guardrails' human-impact instincts).