home / skills / sanity-io / agent-toolkit / content-experimentation-best-practices
This skill helps you implement and analyze content experiments using A/B and multivariate testing to optimize engagement and conversions.
npx playbooks add skill sanity-io/agent-toolkit --skill content-experimentation-best-practicesReview the files below or copy the command above to add this skill to your agents.
---
name: content-experimentation-best-practices
description: A/B testing and content experimentation methodology for data-driven content optimization. Use when implementing experiments, analyzing results, or building experimentation infrastructure.
license: MIT
metadata:
author: sanity
version: "1.0.0"
---
# Content Experimentation Best Practices
Principles and patterns for running effective content experiments to improve conversion rates, engagement, and user experience.
## When to Apply
Reference these guidelines when:
- Setting up A/B or multivariate testing infrastructure
- Designing experiments for content changes
- Analyzing and interpreting test results
- Building CMS integrations for experimentation
- Deciding what to test and how
## Core Concepts
### A/B Testing
Comparing two variants (A vs B) to determine which performs better.
### Multivariate Testing
Testing multiple variables simultaneously to find optimal combinations.
### Statistical Significance
The confidence level that results aren't due to random chance.
### Experimentation Culture
Making decisions based on data rather than opinions (HiPPO avoidance).
## Resources
See `resources/` for detailed guidance:
- `resources/experiment-design.md` — Hypothesis framework, metrics, sample size, and what to test
- `resources/statistical-foundations.md` — p-values, confidence intervals, power analysis, Bayesian methods
- `resources/cms-integration.md` — CMS-managed variants, field-level variants, external platforms
- `resources/common-pitfalls.md` — 17 common mistakes across statistics, design, execution, and interpretation
This skill provides practical A/B testing and content experimentation methodology to drive data-informed content decisions. It focuses on experiment design, measurement, and infrastructure patterns that improve conversion, engagement, and user experience. Use it to standardize how experiments are planned, run, and interpreted across teams.
It outlines what to test, how to randomize and segment traffic, and which metrics and statistical checks to apply. The guidance covers A/B and multivariate test setups, minimum sample sizing, significance testing, and safeguards against bias. It also recommends CMS and engineering integration patterns to run experiments reliably and capture key events for analysis.
How long should an experiment run?
Run until you reach the precomputed sample size and test duration to capture typical traffic cycles; avoid stopping early based on interim results.
When should I use multivariate tests instead of A/B?
Use multivariate testing when you need to evaluate combinations of independent content elements, but ensure traffic volume is sufficient to power all variant combinations.