experiment-designer
# Experiment Designer The experiment-designer skill produces statistically rigorous A/B test designs and interprets results to guide ship/iterate/kill decisions. Use it when designing experiments from product hypotheses, calculating required sample sizes, setting success criteria before testing, or analyzing completed test results for both statistical and practical significance. It enforces pre-registration discipline, flags design risks like novelty effects and multiple testing problems, and validates that tests ran for their full planned duration to avoid early-stopping bias.
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills /tmp/experiment-designer && cp -r /tmp/experiment-designer/plugins/pm-advanced/skills/experiment-designer ~/.claude/skills/experiment-designerSKILL.md
# Experiment Designer Skill Produce rigorous experiment designs from product hypotheses, and interpret results with statistical and practical significance — so you can defend every decision to a sceptical engineering lead or data scientist. ## Required Inputs Ask the user for these if not provided: **For experiment design:** - Hypothesis (what change, what metric, what expected movement) - Current baseline metric value - Minimum detectable effect (MDE) — the smallest lift worth caring about - Available daily sample size **For results interpretation:** - Control and variant results (raw numbers or percentages) - P-value or confidence interval - Run duration (days) - Any anomalies observed during the test ## Two-Phase Process ### Phase 1: Experiment Design 1. Restate hypothesis as: "If we [change], we expect [metric] to [move by X%] because [reason]" 2. Define control and variant clearly 3. Select primary metric (one only) and secondary guardrail metrics (2-3 max) 4. Calculate required sample size from MDE and baseline 5. Estimate run time in days 6. Set pre-defined success criteria before the test runs — no moving goalposts 7. Flag design risks: novelty effects, seasonal confounds, multiple testing issues, network effects, sample ratio mismatch ### Phase 2: Results Interpretation 1. Assess statistical significance (p < 0.05 threshold) 2. Assess practical significance: was the lift meaningful for the business, not just real? 3. Interpret confidence intervals 4. Investigate confounding factors 5. Recommend: Ship / Iterate / Kill / Run follow-up test 6. **Validate** — Confirm the test ran for the full planned duration. Flag if it was stopped early (peeking problem). Confirm sample ratio mismatch did not occur. ## Output Structure **[Design or Results header based on phase]** *Hypothesis:* "If we [change], we expect [metric] to [move by X%] because [reason]" *Primary metric:* [One metric only] *Guardrail metrics:* [2-3 max] *Required sample size:* [n per variant] *Estimated run time:* [days] *Pre-defined success threshold:* [specific number] *Design risk flags:* [any concerns] **Results (Phase 2 only):** *Statistical significance:* [p-value and conclusion] *Practical significance:* [lift size vs. business threshold] *Recommendation:* Ship / Iterate / Kill / Follow-up — [rationale] ## Quality Checks - [ ] Hypothesis specifies the change, the metric, the direction, and the reason - [ ] Primary metric is singular — guardrail metrics are secondary - [ ] Success criteria are defined before the test launches (not after seeing results) - [ ] Test was not stopped early (or flagged clearly if it was) - [ ] Practical significance assessed separately from statistical significance - [ ] Sample ratio mismatch is checked in results interpretation ## Anti-Patterns - [ ] Do not define success criteria after seeing preliminary results — post-hoc success definitions are HARKing (Hypothesising After Results are Known) and invalidate the experiment - [ ] Do not stop a test early because the result looks significant — early stopping dramatically inflates false positive rates; the test must run to the planned sample size - [ ] Do not treat statistical significance as the same as practical significance — a p < 0.05 result with a 0.1% lift is real but may not be worth shipping - [ ] Do not run the same experiment on the same population multiple times without correction — multiple testing inflates the chance of a false positive proportionally - [ ] Do not use more than one primary metric — multiple primary metrics require multiple hypothesis corrections and make the ship/kill decision ambiguous
Design a 360-degree feedback survey or write a structured 360 feedback report. Use when asked to build a 360 feedback process, write 360 feedback for a colleague, design a feedback survey, or produce a feedback report. Produces either a complete survey instrument with rating scales and open-ended questions, or a structured narrative feedback report with themes, strengths, and development areas.
Decode a 401k or workplace retirement plan — the real cost of its funds, the match's fine print, vesting math, and the plan features worth using or avoiding. Use when someone asks 'is my 401k any good', 'decode my 401k plan', 'which funds should I look at', or 'what fees am I paying'. Produces a fee decode in dollars-over-time, match and vesting math, a fund-lineup triage by cost, and the questions for HR or the plan administrator.
Design statistically rigorous A/B tests for product features, UI changes, onboarding flows, and pricing experiments. Use when asked to set up an experiment, design an A/B test, calculate sample size, or interpret test results. Produces a complete test plan with hypothesis, variant definitions, sample size, duration estimate, guardrail metrics, and a results interpretation guide.
Analyse a finished A/B test and write the readout — the result, whether it's statistically and practically significant, what it means, and the ship/no-ship call. Use when asked to analyse experiment results, write an A/B test readout, interpret test data, or decide whether to ship a variant. Produces a clear verdict with the lift and confidence, segment cuts, the risks (peeking, novelty, sample), and a recommendation. Distinct from planning a test — this reads results.
Generate a WCAG 2.2 accessibility audit checklist and remediation suggestions for any UI or design. Use when asked to audit for accessibility, check WCAG compliance, review a design for a11y issues, or create an accessibility remediation plan. Produces a prioritised checklist with pass/fail assessments and specific fixes.
Plan a trip that actually works with a disability or access need — confirm real accessibility (not just 'accessible' labels), book the assistance in advance, plan for equipment and medication, and build in the contingencies for when access breaks down. Use when someone says 'plan an accessible trip', 'travelling with a wheelchair/disability', 'book assistance for my flight', or 'will this hotel actually work for me'. Produces an access-verified itinerary, an assistance-booking checklist, an equipment/medication plan, and contingency scripts. Verify specifics with providers.
Request a reasonable accommodation at work or in education — frame it around the barrier and the adjustment (not your diagnosis), cite the right process, and navigate the back-and-forth constructively. Use when someone says 'I need a workplace accommodation', 'request reasonable adjustments', 'ADA/Equality Act accommodation', or 'how do I ask for accommodations for my disability/condition'. Produces the request letter, a barriers-and-adjustments map, disclosure guidance, and a plan for the interactive process. Not legal advice — routes to the formal process and to advocacy where needed.
Build a structured account plan for any key customer or target account. Use when asked to create an account plan, key account strategy, strategic account review, or territory plan. Produces a complete account plan with relationship map, growth opportunities, risks, and 90-day action plan.