Index of every page on this site: llms.txt
All skills
sanity-io avatar

/content-experimentation-best-practices

@828641f official
by Sanitysanity-io/agent-toolkit201 stars
32
Run it yourself

Content experimentation and A/B testing guidance covering experiment design, hypotheses, metrics, sample size, statistical foundations, CMS-managed variants, and common analysis pitfalls. Use this skill when planning experiments, setting up variants, choosing success metrics, interpreting statistical results, or building experimentation workflows in a CMS or frontend stack.

Use this Skill: https://skilld.dev/gh/sanity-io/agent-toolkit/content-experimentation-best-practices

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈104 tokens for metadata: the name and description. ≈360 when used: this file. ≈5.5k more on demand in 4 files.

Description uses 5.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈417 characters, or 5.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

References

Start with the reference that matches the current problem, such as design, statistics, CMS integration, or pitfalls. See references/ for detailed guidance:

  • references/experiment-design.md — Hypothesis framework, metrics, sample size, and what to test
  • references/statistical-foundations.md — p-values, confidence intervals, power analysis, Bayesian methods
  • references/cms-integration.md — CMS-managed variants, field-level variants, external platforms
  • references/common-pitfalls.md — 17 common mistakes across statistics, design, execution, and interpretation

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides comprehensive guidelines and best practices for content experimentation and A/B testing. It includes illustrative code snippets for CMS integration and statistical calculation. No security risks were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer8mo

    5 files scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 828641f. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 8 months ago
  • a-b-testing
  • content-experimentation
  • statistical-analysis
  • cms
  • conversion-optimization
  • multivariate-testing
  • metrics
  • hypothesis-testing

README badge

README badge for sanity-io/agent-toolkit/content-experimentation-best-practices

Provides guidance on A/B testing, multivariate testing, and statistical analysis for content experiments, including experiment design, metrics selection, sample sizing, CMS integration patterns, and common pitfalls. Use when setting up experimentation infrastructure, designing content variants, or interpreting test results in a headless CMS or frontend stack.

Generated from the current SKILL.md.

Does this skill cover statistical rigor for A/B tests?
Yes. The skill includes statistical foundations covering p-values, confidence intervals, power analysis, and Bayesian methods to help interpret results correctly.
Can I use this skill to set up experiments in a headless CMS?
Yes. The skill includes guidance on CMS-managed variants and field-level variants, with patterns for integrating experimentation into CMS workflows.
What common mistakes does this skill help avoid?
The skill documents 17 common pitfalls across statistics, design, execution, and interpretation to help teams avoid typical experimentation errors.
Does this cover multivariate testing or just A/B tests?
Both. The skill covers A/B testing, multivariate testing, and how to design experiments that test multiple variables simultaneously.

Generated from the current SKILL.md. These answers refresh after source changes.