agentsclimarketplace

Experiment designer

Skill mouadja02/skills/skills/product-management/experiment-designer

A/B and multivariate experiments — hypothesis, sample size, ICE priority, stats significanceFrom its SKILL.md

Install
npx -y skills add mouadja02/skills --skill experiment-designer

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 8 stars8 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

11.4 KB, ~2.6k tokens by cl100k_base, as published. Nobody here has run it

Experiment Designer

Design, prioritize, and evaluate controlled experiments — both product experiments (features, flows, ML changes) and marketing experiments (landing pages, copy, pricing, CTAs) — with clear hypotheses and defensible decisions.

This skill is the canonical home for A/B-test methodology in this collection. Marketing-specific framing (proactive CRO triggers, ad-copy patterns) is handled below; deeper CRO surface-level work lives in page-cro, signup-flow-cro, and onboarding-cro.

When to use

  • A/B and multivariate experiment planning
  • Hypothesis writing and success criteria
  • Sample size and minimum-detectable-effect (MDE) calculation
  • Experiment prioritization (ICE, RICE-style scoring)
  • Statistical interpretation of test results for business decisions
  • Optimizing signup, onboarding, pricing, landing page, ad copy, or feature changes

Core principles

  1. Start with a hypothesis — not "let's see what happens". Specific prediction, based on data or reasoning.
  2. Test one thing — single variable per test; otherwise you cannot isolate cause.
  3. Statistical rigor — pre-determine sample size, do not peek and stop early, commit to the methodology.
  4. Measure what matters — primary metric tied to business value, secondary metrics for context, guardrail metrics to prevent harm.

Hypothesis framework

If/Then/Because format (product context)

  • If we change [intervention]
  • Then [metric] will change by [expected direction/magnitude]
  • Because [behavioral mechanism]

Marketing/CRO format

Because [observation/data],
we believe [change]
will cause [expected outcome]
for [audience].
We'll know this is true when [metrics].

Weak: "Changing the button color might increase clicks."

Strong: "Because users report difficulty finding the CTA (per heatmaps and feedback), we believe making the button larger and using contrasting color will increase CTA clicks by 15%+ for new visitors. We'll measure click-through rate from page view to signup start."

Hypothesis quality checklist

  • Contains explicit intervention and audience
  • Specifies measurable metric change
  • States plausible causal reason
  • Includes expected minimum effect (MDE)
  • Defines failure condition

Test types

TypeDescriptionTraffic needed
A/BTwo versions, single changeModerate
A/B/nMultiple variants, single changeHigher
MVT (multivariate)Multiple changes in combinationsVery high
Split URLDifferent URLs for variantsModerate

Metric selection

Primary metric

  • Single decision metric, directly tied to hypothesis.
  • This is what you call the test on.

Secondary metrics

  • Diagnostic — explain why/how the change worked.
  • Never the basis for go/no-go on their own.

Guardrail metrics

  • Things that shouldn't get worse — quality, safety, downstream funnel steps, support tickets, refund rate.
  • Stop the test if these go significantly negative.

Example: pricing-page test

  • Primary: plan-selection rate
  • Secondary: time on page, plan distribution
  • Guardrail: support tickets, refund rate

Sample size

Quick reference table

Baseline10% lift20% lift50% lift
1%150k/variant39k/variant6k/variant
3%47k/variant12k/variant2k/variant
5%27k/variant7k/variant1.2k/variant
10%12k/variant3k/variant550/variant

Tooling

# Demo mode
python3 scripts/sample_size_calculator.py

# Compute sample size for a 5% baseline targeting 20% relative lift
python3 scripts/sample_size_calculator.py --baseline 0.05 --mde 0.20

# Add daily traffic to estimate test duration
python3 scripts/sample_size_calculator.py --baseline 0.05 --mde 0.20 --daily-traffic 500

# JSON output for automation
python3 scripts/sample_size_calculator.py --baseline 0.05 --mde 0.20 --json

The calculator is 100% stdlib (no scipy / numpy required). For a deeper sample-size guide with edge cases see references/sample-size-guide.md.

External calculators worth knowing:


Prioritization (ICE)

When you have more candidate experiments than capacity:

ICE Score = (Impact × Confidence × Ease) / 10
  • Impact: potential upside if it wins (1–10).
  • Confidence: evidence quality the hypothesis is right (1–10).
  • Ease: cost / speed / complexity to ship the variant (1–10).

Run highest-ICE first.


Traffic allocation

ApproachSplitWhen to use
Standard50/50Default for A/B
Conservative90/10, 80/20Limit risk of a bad variant
RampingStart small, increaseTechnical-risk mitigation
  • Keep variant assignment consistent across visits for the same user.
  • Ensure exposure is balanced across time of day / week.

Designing variants (marketing context)

What to vary

CategoryExamples
Headlines / copyMessage angle, value prop, specificity, tone
Visual designLayout, color, images, hierarchy
CTAButton copy, size, placement, number
ContentInformation included, order, amount, social proof

Best practices

  • Single, meaningful change per test arm.
  • Bold enough to detect — too-small differences are statistically invisible.
  • True to the hypothesis — the variant is the hypothesis, not random tweaks.

Implementation

Client-side

  • JavaScript modifies the page after load.
  • Quick to implement; can cause flicker.
  • Tools: PostHog, Optimizely, VWO.

Server-side

  • Variant determined before render.
  • No flicker, requires dev work.
  • Tools: PostHog, LaunchDarkly, Split.

Running the test

Pre-launch checklist

  • Hypothesis documented
  • Primary, secondary, guardrail metrics defined
  • Sample size calculated; duration committed
  • Variants implemented correctly
  • Tracking verified end-to-end
  • QA completed on all variants

During the test

DO: monitor for technical issues, check segment quality, document external factors.

DON'T: peek at results and stop early, change variants mid-test, add traffic from new sources.

The peeking problem

Looking at results before reaching sample size and stopping early inflates false positives. Pre-commit to the sample size and trust the process. If you must look, use sequential analysis with a formal correction (e.g., always-valid p-values).


Analyzing results

Statistical significance

  • 95% confidence ⇔ p-value < 0.05.
  • Means there's a < 5% chance the result is noise — not a guarantee of truth.
  • Statistical significance is not business significance.

Analysis checklist

  1. Reached sample size? If not, the result is preliminary.
  2. Statistically significant? Check confidence intervals, not just p-values.
  3. Effect size meaningful? Compare point estimate to MDE and to business impact.
  4. Secondary metrics consistent? Do they support the primary?
  5. Guardrail concerns? Anything got materially worse?
  6. Segment differences? Mobile vs. desktop, new vs. returning, geo, plan.

Interpreting results

ResultConclusion
Significant winnerImplement variant
Significant loserKeep control, learn why
No significant differenceNeed more traffic or a bolder test
Mixed signalsDig deeper, segment, possibly re-run

Statistical interpretation guardrails

  • p-value < α → evidence against the null, not guaranteed truth.
  • Confidence interval crossing zero → uncertain directional claim.
  • Wide intervals → low precision even when significant.
  • Use practical significance thresholds tied to business impact.

Common pitfalls

Test design

  • Underpowered tests → false negatives; the variant might have worked but you can't tell.
  • Testing too many things at once → can't isolate cause.
  • No clear hypothesis → no learning even if the variant wins.

Execution

  • Stopping early on random spikes.
  • Changing things mid-test (tracking, copy, eligibility).
  • Sample-ratio mismatch and instrumentation drift.
  • Running too many simultaneous tests on overlapping audiences without isolation.

Analysis

  • Declaring success from p-value without effect-size context.
  • Cherry-picking segments after the fact.
  • Over-interpreting inconclusive results.
  • Ignoring novelty effects on early data.

Documentation

Document every test:

  • Hypothesis
  • Variants (with screenshots)
  • Results (sample, metrics, significance, CI)
  • Decision and learnings — even if the variant lost.

Templates: references/test-templates.md.


Output artifacts

ArtifactFormatDescription
Experiment briefMarkdownHypothesis, variants, metrics, sample size, duration, owner
Sample-size inputTableBaseline rate, MDE, confidence, power
Pre-launch QA checklistChecklistImplementation, tracking, variant rendering verification
Results reportMarkdownStatistical significance, effect size, segment breakdown, decision
Test backlogPrioritized listRanked experiments by ICE / expected impact

Proactive triggers (marketing context)

Proactively offer A/B test design when:

  1. Conversion rate mentioned — user shares a conversion rate and asks how to improve it; suggest designing a test rather than guessing.
  2. Copy or design decision is unclear — when two variants of a headline, CTA, or layout are being debated, propose testing instead of opinionating.
  3. Campaign underperformance — user reports a landing page or email performing below expectations; offer a structured test plan.
  4. Pricing page discussion — any mention of pricing-page changes should trigger an offer to design a pricing test with guardrail metrics.
  5. Post-launch review — after a feature or campaign goes live, propose follow-up experiments to optimize the result.

References

Related skills

  • page-crowhat to test on a marketing page (use first to generate hypotheses).
  • signup-flow-cro — signup-specific test patterns.
  • onboarding-cro — activation/onboarding experiments.
  • product-discovery — qualitative validation before you have a hypothesis worth testing.
  • marketing-context — load this for ICP/positioning framing before designing marketing tests.

What ships with it: 6 files

29.0 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 326,790. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.