New to Claude Skills? Learn how to install them →

alirezarezvani on GitHub

Experiment Designer

Free

Streamline your product experimentation process with statistical rigor.

Get this skill

Free · Opens the source repo

What Experiment Designer does

The Experiment Designer skill is tailored for product teams looking to enhance their experimentation processes. It provides a structured approach to designing, prioritizing, and evaluating experiments, ensuring that hypotheses are clear and decisions are backed by statistical evidence. Users can craft testable hypotheses using the If/Then/Because format, which helps clarify the expected outcomes of their interventions. This skill is particularly useful for those involved in A/B testing and multivariate experiments, as it emphasizes the importance of defining metrics prior to testing and understanding the implications of statistical results.

One of the core components of this skill is the sample size calculator, which assists in determining the necessary sample size based on baseline rates, minimum detectable effects, and statistical power. This feature is crucial for avoiding underpowered tests that could lead to misleading conclusions. Additionally, the skill introduces the ICE scoring method for prioritizing experiments based on their potential impact, confidence in the results, and ease of implementation. This systematic approach helps teams focus their resources on the most promising experiments.

The skill also guides users through the interpretation of results, stressing the difference between statistical significance and business significance. It includes a checklist to ensure the quality of hypotheses and outlines common pitfalls to avoid during experimentation. By providing references to an experiment playbook and statistics reference, users can deepen their understanding of best practices in experimental design and analysis. Overall, the Experiment Designer skill is an invaluable resource for product managers, data analysts, and anyone involved in making data-driven decisions based on experimentation.

When to use it

Use this skill when planning A/B tests, defining hypotheses, or interpreting experimental results to make informed product decisions.

When not to use it

This skill may not be suitable for exploratory research where formal experimental design is not applicable or for teams without a basic understanding of statistics.

What you can build with it

Launching a New Feature

When planning to test a new feature, use the skill to define your hypothesis and metrics before launching the A/B test.

Evaluating Marketing Strategies

Utilize the skill to prioritize different marketing strategies based on potential impact and ease of implementation.

Improving User Engagement

Design experiments to test changes aimed at increasing user engagement, ensuring statistical rigor in your approach.

How to install Experiment Designer

View source

1. Install with the skills CLI

npx skills add alirezarezvani/claude-skills/experiment-designer --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by alirezarezvani

Experiment Designer

Design, prioritize, and evaluate product experiments with clear hypotheses and defensible decisions.

When To Use

Use this skill for:

  • A/B and multivariate experiment planning
  • Hypothesis writing and success criteria definition
  • Sample size and minimum detectable effect planning
  • Experiment prioritization with ICE scoring
  • Reading statistical output for product decisions

Core Workflow

  1. Write hypothesis in If/Then/Because format
  • If we change [intervention]
  • Then [metric] will change by [expected direction/magnitude]
  • Because [behavioral mechanism]
  1. Define metrics before running test
  • Primary metric: single decision metric
  • Guardrail metrics: quality/risk protection
  • Secondary metrics: diagnostics only
  1. Estimate sample size
  • Baseline conversion or baseline mean
  • Minimum detectable effect (MDE)
  • Significance level (alpha) and power

Use:

python3 scripts/sample_size_calculator.py --baseline-rate 0.12 --mde 0.02 --mde-type absolute
  1. Prioritize experiments with ICE
  • Impact: potential upside
  • Confidence: evidence quality
  • Ease: cost/speed/complexity

ICE Score = (Impact * Confidence * Ease) / 10

  1. Launch with stopping rules
  • Decide fixed sample size or fixed duration in advance
  • Avoid repeated peeking without proper method
  • Monitor guardrails continuously
  1. Interpret results
  • Statistical significance is not business significance
  • Compare point estimate + confidence interval to decision threshold
  • Investigate novelty effects and segment heterogeneity

Hypothesis Quality Checklist

  • Contains explicit intervention and audience
  • Specifies measurable metric change
  • States plausible causal reason
  • Includes expected minimum effect
  • Defines failure condition

Common Experiment Pitfalls

  • Underpowered tests leading to false negatives
  • Running too many simultaneous changes without isolation
  • Changing targeting or implementation mid-test
  • Stopping early on random spikes
  • Ignoring sample ratio mismatch and instrumentation drift
  • Declaring success from p-value without effect-size context

Statistical Interpretation Guardrails

  • p-value < alpha indicates evidence against null, not guaranteed truth.
  • Confidence interval crossing zero/no-effect means uncertain directional claim.
  • Wide intervals imply low precision even when significant.
  • Use practical significance thresholds tied to business impact.

See:

  • references/experiment-playbook.md
  • references/statistics-reference.md

Tooling

scripts/sample_size_calculator.py

Computes required sample size (per variant and total) from:

  • baseline rate
  • MDE (absolute or relative)
  • significance level (alpha)
  • statistical power

Example:

python3 scripts/sample_size_calculator.py \
  --baseline-rate 0.10 \
  --mde 0.015 \
  --mde-type absolute \
  --alpha 0.05 \
  --power 0.8

Frequently asked questions about Experiment Designer

Similar skills