Experiment Designer skill for Claude

Plan A/B tests and product experiments: hypotheses, sample size, priority, reading results.

When Claude uses it

Use whenever the user asks if a test won, how long to run it or what to test.

Experiment Designer SKILL.md

The full skill file from alirezarezvani/claude-skills (MIT).

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

How to install Experiment Designer

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit alirezarezvani/claude-skills/product-team/skills/experiment-designer#main ~/.claude/skills/experiment-designer

Codex

npx degit alirezarezvani/claude-skills/product-team/skills/experiment-designer#main ~/.codex/skills/experiment-designer

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Experiment Designer skill do?

Plan A/B tests and product experiments: hypotheses, sample size, priority, reading results. Use whenever the user asks if a test won, how long to run it or what to test.

+How do I install Experiment Designer in Claude Code?

Copy the skill folder into ~/.claude/skills/experiment-designer, for example with "npx degit alirezarezvani/claude-skills/product-team/skills/experiment-designer#main ~/.claude/skills/experiment-designer". Claude Code loads it automatically and uses it when a task matches.

+Does Experiment Designer work with ChatGPT or Codex?

Yes. Experiment Designer uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/experiment-designer. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Experiment Designer free?

Experiment Designer is published on GitHub by alirezarezvani under the MIT license, which allows free use.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. I18n Localization

    Use when adding UI text, adding or shipping a language, reviewing translation files, or building i18n into an app.

    alirezarezvani/claude-skills★ 30k
  5. Interview System Designer

    Use when designing a hiring loop, competency matrix, scoring rubric or question bank, or checking interviewer calibration.

    alirezarezvani/claude-skills★ 30k
  6. Md Document

    Use when converting long-form markdown (spec, RFC, report, plan) into a single-file HTML page with sticky TOC, search and code-copy.

    alirezarezvani/claude-skills★ 30k
  7. Observability Designer

    Use when adding metrics, logs and traces to a service, fixing noisy alerts or designing dashboards.

    alirezarezvani/claude-skills★ 30k
  8. Readme Polish

    Use when an existing README must be upgraded, audited, or made scannable: polish/美化/升级/优化/打磨 README, add badges, mermaid, callouts, or…

    alirezarezvani/claude-skills★ 30k
  9. Saas Scaffolder

    Use when starting a new SaaS app with auth, database, Stripe billing and a dashboard (Next.js App Router, TypeScript, Tailwind, shadcn/ui,…

    alirezarezvani/claude-skills★ 30k

See all design & frontend skills →

More skills from alirezarezvani

  1. Extract

    Turn a fix or pattern that keeps coming up into a reusable skill with SKILL.md, reference docs and examples.

    alirezarezvani/claude-skills★ 30k
  2. Fable Goal

    Use when the user wants a /goal prompt rather than the build itself ('/fable-goal', 'turn this into a goal prompt', 'write the prompt that…

    alirezarezvani/claude-skills★ 30k
  3. Fda Consultant Specialist

    Use for FDA medical device questions: 510(k) vs De Novo vs PMA, predicates and substantial equivalence, QMSR (21 CFR 820), HIPAA or device…

    alirezarezvani/claude-skills★ 30k

All skills by alirezarezvani →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.