Content Experimentation Best Practices

Added March 5, 2026 Source: Sanity

This skill provides best practices for setting up and running content experiments like A/B or multivariate tests. It guides you on designing experiments, understanding statistical significance, and integrating testing with your CMS to make data-driven decisions. Use this to avoid common pitfalls and improve conversion rates or user engagement.

Installation

This skill is self-contained. Copy the SKILL.md below directly into your project to get started.

.claude/skills/content-experimentation-best-practices/SKILL.md    # Claude Code
.cursor/skills/content-experimentation-best-practices/SKILL.md    # Cursor

Or install as a personal skill (available across all your projects):

~/.claude/skills/content-experimentation-best-practices/SKILL.md

You can also install using the skills CLI:

npx skills add sanity-io/agent-toolkit --skill content-experimentation-best-practices

Requires Node.js 18+.

SKILL.md

---
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

Originally by Sanity, adapted here as an Agent Skills compatible SKILL.md.

This skill follows the Agent Skills open standard, supported by Claude Code, Cursor, Codex, Gemini CLI, and 20+ more editors.

Works with

Agent Skills format — supported by 20+ editors. Learn more