experiment-design

Plan experiments with hypotheses, metrics, sample sizes, and decision rules.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/Flintmere/flintmere --skill experiment-design-flintmere
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: experiment-design
Source: https://github.com/Flintmere/flintmere/tree/main/.claude/skills/experiment-design
Command: npx skills add https://github.com/Flintmere/flintmere --skill experiment-design-flintmere

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Planning and documenting rigorous experiments with pre-defined hypotheses, metrics, sample sizes, and decision rules before shipping changes.

Core Features & Use Cases

  • Hypothesis-first planning that anchors decisions to evidence.
  • Pre-declared primary metric, sample size, observation window, and revert plan.
  • Use cases include A/B, multivariate, and before-after experiments across surfaces with centralized logging.

Quick Start

Write a concise experiment plan outlining the proposed change, the hypothesis, the primary metric, the target MDE, the observation window, and the pre-declared decision rule.

Frequently Asked Questions about experiment-design

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

FAQPage Schema
How do I design an A/B test with a pre-declared primary metric and sample size?

To design an A/B test, you define a hypothesis, pre-declare a primary metric, calculate the required sample size, set an observation window, and establish a decision rule before shipping the change. This ensures rigorous experiment design and measurement.

What is hypothesis-first experiment planning and why does it matter?

Hypothesis-first experiment planning anchors product decisions to evidence by requiring a pre-defined hypothesis and metrics before shipping changes. It prevents biased evaluation by forcing you to commit to how success is measured before observing results.

How do I calculate sample size and set an observation window for multivariate experiments?

You calculate sample size and set an observation window by defining the target minimum detectable effect (MDE) and pre-declaring the primary metric. This structured experiment design process applies to A/B, multivariate, and before-after experiments across product surfaces.

Can I use this experiment design approach for before-after comparisons without a control group?

Yes, this experiment design approach explicitly supports before-after experiments alongside A/B and multivariate tests. It requires a pre-declared primary metric, sample size calculation, observation window, and revert plan to ensure valid before-after comparisons.

What should I include in an experiment plan to ensure rigorous pre-commitment?

An experiment plan should include the proposed change, hypothesis, primary metric, target MDE, observation window, and pre-declared decision rule. It must also define a clear revert pathway and log the planned experiment to experiment-log.md for centralized tracking.

When should I not use pre-declared decision rules for product experiments?

Pre-declared decision rules are essential for rigorous experiment design and should be bypassed only for emergency shipping where immediate action is required. Without pre-commitment to metrics and sample sizes, post-hoc analysis risks invalidating your experiment results.