# ab-test-setup

> Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness.

- Skill: `dokhacgiakhoa/ab-test-setup` (Agent Skill, multi-file: 12 files)
- Install (CLI): `npx skillmds add dokhacgiakhoa/ab-test-setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dokhacgiakhoa/ab-test-setup/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Dokhacgiakhoa (https://skillmd.com/u/dokhacgiakhoa)
- Updated: 2026-08-19
- Page: https://skillmd.com/skills/dokhacgiakhoa/ab-test-setup

---


# A/B Test Setup

## 1️⃣ Purpose & Scope

Ensure every A/B test is **valid, rigorous, and safe** before a single line of code is written.

- Prevents "peeking"
- Enforces statistical power
- Blocks invalid hypotheses

---

## 2️⃣ Pre-Requisites

You must have:

- A clear user problem
- Access to an analytics source
- Roughly estimated traffic volume

## 🧠 Knowledge Modules (Fractal Skills)

### 1. [Hypothesis Quality Checklist](./sub-skills/hypothesis-quality-checklist.md)
### 2. [3️⃣ Hypothesis Lock (Hard Gate)](./sub-skills/3-hypothesis-lock-hard-gate.md)
### 3. [4️⃣ Assumptions & Validity Check (Mandatory)](./sub-skills/4-assumptions-validity-check-mandatory.md)
### 4. [5️⃣ Test Type Selection](./sub-skills/5-test-type-selection.md)
### 5. [6️⃣ Metrics Definition](./sub-skills/6-metrics-definition.md)
### 6. [7️⃣ Sample Size & Duration](./sub-skills/7-sample-size-duration.md)
### 7. [8️⃣ Execution Readiness Gate (Hard Stop)](./sub-skills/8-execution-readiness-gate-hard-stop.md)
### 8. [During the Test](./sub-skills/during-the-test.md)
### 9. [Analysis Discipline](./sub-skills/analysis-discipline.md)
### 10. [Interpretation Outcomes](./sub-skills/interpretation-outcomes.md)
### 11. [Test Record (Mandatory)](./sub-skills/test-record-mandatory.md)

