Community生產力與協作github.com

pm-experiment-design

>- Designs and audits online A/B tests and controlled experiments with hypotheses, OEC, guardrail metrics, statistical power, Sample Ratio Mismatch (SRM) gates, and pre-committed ship rules. Use when planning an A/B test, reviewing experiment readiness, or interpreting test results. Do not use for historical SQL data exploration (data-analysis-brief) or tracking outages (data-anomaly-triage).

pm-experiment-design 是什麼?

pm-experiment-design is a Claude Code agent skill that >- Designs and audits online A/B tests and controlled experiments with hypotheses, OEC, guardrail metrics, statistical power, Sample Ratio Mismatch (SRM) gates, and pre-committed ship rules. Use when planning an A/B test, reviewing experiment readiness, or interpreting test results. Do not use for historical SQL data exploration (data-analysis-brief) or tracking outages (data-anomaly-triage).

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/VAMFI/universal-sops/tree/HEAD/plugins/product-sops/skills/pm-experiment-design

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Online Experiment Design SOP

Ensure controlled experiments are statistically powered, structurally valid (no SRM or peeking bias), and tied to pre-committed ship/iterate/kill decisions.

Preconditions

  • A product change or hypothesis to evaluate via controlled rollout/A/B test (or existing experiment results to audit).
  • Baseline metric estimates, traffic volume, or randomization unit details (flag missing values explicitly).

Workflow

  1. Lock falsifiable hypothesis and randomization unit

    • State: "If we [change], then [segment] will [behavior change], improving [OEC] because [mechanism]."
    • Define the randomization unit (user, account/org, session, page) and verify no cross-unit spillover/interference.
  2. Define Overall Evaluation Criterion (OEC) and Guardrails

    • Select one primary OEC (or explicit composite) aligned with long-term value, not clickbait.
    • Pair with mandatory guardrail metrics (latency, error rate, crashes, churn, revenue/unit economics) and data-quality metrics.
  3. Run pre-launch power, MDE, and duration checks

    • Sanity-check baseline rate, Minimum Detectable Effect (MDE), power (typically 80%), alpha (typically 0.05), and daily eligible traffic.
    • Require a minimum full-cycle duration (typically ≥7–14 days to span weekday/weekend cycles) even if significance appears earlier; flag underpowered tests upfront instead of running futile A/B tests.
  4. Enforce validity gates before reading outcomes

    • Mandate a Sample Ratio Mismatch (SRM) check on observed vs. expected traffic split; if SRM fails (e.g., p < 0.001 or obvious 52/48 drift on a 50/50 split), halt interpretation and debug telemetry/routing before trusting any metric lift.
    • Guard against peeking/optional stopping, multiple-testing inflation, novelty/primacy effects, and Twyman's Law ("too good to be true" lifts).
  5. Pre-commit Ship / Iterate / Kill rules

    • Specify exact quantitative thresholds before launch for shipping, iterating, or rolling back—including what happens on flat results.

Load On Demand

Read A/B Testing Pitfalls & Validity Checklist when computing sample/duration feasibility, diagnosing SRM, or auditing suspicious experiment lifts.

Verification Gate (Definition of Done)

  • Falsifiable hypothesis, randomization unit, and spillover check are explicit.
  • Primary OEC is paired with hard guardrail metrics.
  • Sample size, MDE, and full-week cycle duration are verified feasible (or underpowered gap is explicitly flagged).
  • SRM check, anti-peeking rule, and novelty/multiple-testing controls are specified.
  • Pre-committed Ship / Iterate / Kill decision table is locked before launch.

Failure Modes to Avoid

  • Stopping an experiment early as soon as p < 0.05 ("peeking"), inflating false positives dramatically.
  • Interpreting treatment lifts when Sample Ratio Mismatch (SRM) indicates broken assignment or bot/redirect bias.
  • Running a 50/50 A/B test on low traffic (e.g., few hundred users/day) expecting to detect a tiny 2% relative lift in days.
  • Celebrating short-term click gains while degrading latency, errors, or long-term retention.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

sdlc-spec-design

>- Universal SOP for designing technical specs before coding. Use when starting non-trivial features, architectural changes, new APIs, data schemas, cross-module contracts, or ambiguous requirements. Do not use for trivial one-line edits or pure bug diagnosis (use sdlc-debug).

ux-copy-audit

>- Audits and rewrites UI microcopy including button labels, navigation, empty states, onboarding prompts, destructive confirmations, and error messages for clarity and actionability. Use when reviewing or writing product interface text. Do not use for marketing positioning or landing-page messaging (gtm-positioning-brief) or long-form document editing (writing-clarity-edit).

ux-critique

>- Conducts structured UX and accessibility critiques using Nielsen Norman Group's 10 usability heuristics, 0-4 severity ratings, visual hierarchy, and WCAG 2.2 AA ergonomics. Use when reviewing UI designs, screenshots, live pages, or component specs for usability and accessibility issues. Do not use for code-level implementation review (sdlc-review) or copy-only audits (ux-copy-audit).

ux-research-synthesis

>- Synthesizes user interviews, usability test notes, and session observations into evidence-grounded insights using bottom-up affinity clustering, verbatim attribution, disconfirming evidence, and cognitive-bias checks. Use when analyzing qualitative UX research or usability testing. Do not use for desk or web research (research-synthesis) or sales/support ticket volume triage (gtm-feedback-triage).

相關技能