measure-experiment-design

Designs A/B test plans with hypotheses, metrics, sample size, and duration.

Updated May 19, 2026
One-click install
npx skills add https://github.com/richardnguyen0715/agent-sharing --skill measure-experiment-design-richardnguyen0715
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: measure-experiment-design
Source: https://github.com/richardnguyen0715/agent-sharing/tree/main/.github/skills/measure-experiment-design
Command: npx skills add https://github.com/richardnguyen0715/agent-sharing --skill measure-experiment-design-richardnguyen0715

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Teams often launch A/B tests without clear hypotheses, adequate sample sizes, or predefined success criteria, leading to underpowered tests and decisions based on noise. This Skill produces a rigorous experiment design document that aligns stakeholders before any test runs. ## Core Features & Use Cases - Hypothesis Structuring: Formats a falsifiable hypothesis in the form "We believe [change] for [users] will [outcome] as measured by [metric]." - Statistical Planning: Guides sample size calculation with significance level (0.05), power (0.80), minimum detectable effect, and duration estimates accounting for weekly traffic patterns. - Guardrails and Success Criteria: Defines one primary metric, secondary metrics, guardrail metrics, and upfront win/loss/inconclusive criteria to prevent post-hoc rationalization. - Use Case: Before rolling out a new checkout flow, use this Skill to document the control and treatment variants, compute required users per variant, set targeting rules, and define rollback criteria. ## Quick Start Design an A/B test experiment for changing the signup button color, including hypothesis, metrics, sample size, and duration.

Frequently Asked Questions about measure-experiment-design

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

FAQPage Schema
How do I design an A/B test experiment?▼

Start with a falsifiable hypothesis in the format "We believe [change] for [users] will [outcome] as measured by [metric]." Then define control and treatment variants, select one primary metric, calculate sample size, estimate duration, and set success criteria before launching.

How to calculate sample size for an A/B test?▼

Determine your minimum detectable effect, then compute the users needed per variant using a significance level of 0.05 and statistical power of 0.80. Document all assumptions so the calculation can be reviewed and reproduced.

What is a good hypothesis format for product experiments?▼

Use the structure: "We believe [change] for [users] will [outcome] as measured by [metric]." Keep one hypothesis per experiment; if testing multiple changes, run separate experiments to isolate effects.

How long should an A/B test run?▼

Duration depends on required sample size divided by available traffic. Account for weekly behavior patterns and avoid ending mid-week if user behavior varies by day, ensuring the test captures full cycles.

What are guardrail metrics in experiment design?▼

Guardrail metrics are measurements monitored alongside the primary metric to catch unintended negative effects, such as performance degradation or churn. They protect the product while you optimize for the primary outcome.

When should I not run an A/B test?▼

Avoid A/B tests when traffic is too low to reach adequate sample size, when the change cannot be isolated to a single hypothesis, or when qualitative research would answer the question faster than quantitative validation.