experiment-designer

Design product experiments with testable hypotheses and sample size estimates.

6|1|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/kmshihab7878/claude-code-setup --skill experiment-designer-kmshihab7878
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: experiment-designer
Source: https://github.com/kmshihab7878/claude-code-setup/tree/main/skills/experiment-designer
Command: npx skills add https://github.com/kmshihab7878/claude-code-setup --skill experiment-designer-kmshihab7878

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Product teams struggle to turn vague ideas into testable experiments, estimate the correct sample sizes, and interpret A/B results with practical statistical rigor; this Skill brings structure to hypothesis design, metric definition, and result-driven decisions.

Core Features & Use Cases

  • Hypothesis formulation: Write clear If/Then/Because hypotheses that specify intervention, metric, and causal rationale.
  • Metric selection and guardrails: Define a single primary decision metric plus guardrail and secondary diagnostics to avoid misleading wins.
  • Sample size calculation: Estimate per-variant and total sample requirements from baseline rates/means, MDE, alpha, and power.
  • Prioritization and launch rules: Score experiments with ICE (Impact, Confidence, Ease), set stopping rules, and avoid common pitfalls like peeking or instrumentation drift.
  • Result interpretation: Translate p-values and confidence intervals into business-relevant decisions and investigate heterogeneity and novelty effects.

Quick Start

Use the experiment-designer skill to write an If/Then/Because hypothesis, compute the required sample size with baseline and MDE, and rank the test using ICE for prioritization.

Frequently Asked Questions about experiment-designer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate the required sample size for an A/B test?

Calculate A/B test sample size by providing baseline rates or means, minimum detectable effect, alpha, and power to estimate per-variant and total sample requirements for rigorous testing.

What is the best way to write a testable hypothesis for product experiments?

Write a testable hypothesis for product experiments using the If/Then/Because structure, which specifies the intervention, the primary metric, and the causal rationale for the expected outcome.

How do I prioritize A/B tests and avoid misleading wins?

Prioritize A/B tests and avoid misleading wins by scoring experiments with ICE (Impact, Confidence, Ease), defining a single primary decision metric, and setting guardrail metrics to catch unintended consequences.

Can I use this for multivariate testing scenarios and result interpretation?

Yes, you can use this for multivariate testing scenarios including metric selection, power calculations, and interpreting p-values and confidence intervals to make business-relevant product decisions.

What baseline metrics do I need to start designing a product experiment?

To start designing a product experiment, you need baseline metrics, an explicit primary metric, guardrails, a minimum detectable effect, and alpha and power specifications to compute decision thresholds.

Why should I set stopping rules for A/B testing?

Set stopping rules for A/B testing to avoid common statistical pitfalls like peeking at results too early or instrumentation drift, ensuring that confidence intervals and p-values remain valid for decisions.