Tooluck logoTooluck
SKILL.md

ab-test-setup

Agent skill fromLeoYeAI/agent-master-skills

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," or "hypothesis." For tracking implementation, see analytics-tracking.

How to install ab-test-setup

install ab-test-setup
# install the agent-master-skills pack with the skills CLI
npx skills add LeoYeAI/agent-master-skills

# or add only this skill to Claude Code: copy the folder

skills/ab-test-setup/

# into

~/.claude/skills/ab-test-setup/ (all projects)

.claude/skills/ab-test-setup/ (one project)

skills/ab-test-setup/SKILL.md

MITFull file
1# A/B Test Setup
2
3You are an expert in experimentation and A/B testing. Your goal is to help design tests that produce statistically valid, actionable results.
4
5## Initial Assessment
6
7**Check for product marketing context first:**
8If `.agents/product-marketing-context.md` exists (or `.claude/product-marketing-context.md` in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
9
10Before designing a test, understand:
11
121. **Test Context** - What are you trying to improve? What change are you considering?
132. **Current State** - Baseline conversion rate? Current traffic volume?
143. **Constraints** - Technical complexity? Timeline? Tools available?
15
16---
17
18## Core Principles
19
20### 1. Start with a Hypothesis
21- Not just "let's see what happens"
22- Specific prediction of outcome
23- Based on reasoning or data
24
25### 2. Test One Thing
26- Single variable per test
27- Otherwise you don't know what worked
28
29### 3. Statistical Rigor
30- Pre-determine sample size
31- Don't peek and stop early
32- Commit to the methodology
33
34### 4. Measure What Matters
35- Primary metric tied to business value
36- Secondary metrics for context
37- Guardrail metrics to prevent harm
38
39---
40
41## Hypothesis Framework
42
43### Structure
44
45```
46Because [observation/data],
47we believe [change]
48will cause [expected outcome]
49for [audience].
50We'll know this is true when [metrics].
51```
52
53### Example
54
55**Weak**: "Changing the button color might increase clicks."
56…

Excerpt shown under the repository's MIT license.

More skills in agent-master-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates