[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-sanity-content-experimentation-best-practices":3,"mdc--ic2exi-key":43,"related-repo-sanity-content-experimentation-best-practices":221,"related-org-sanity-content-experimentation-best-practices":329},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":38,"sourceUrl":41,"mdContent":42},"content-experimentation-best-practices","design and analyze content experiments","Content experimentation and A\u002FB 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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"sanity","Sanity","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fsanity.png","sanity-io",[13,17,20,21],{"name":14,"slug":15,"type":16},"Marketing","marketing","tag",{"name":18,"slug":19,"type":16},"Analytics","analytics",{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},"A\u002FB Testing","a-b-testing",171,"https:\u002F\u002Fgithub.com\u002Fsanity-io\u002Fagent-toolkit","2026-04-06T18:52:37.188766",null,25,[30,31,32,33,34,35,36,37],"agent-rules","ai-rules","claude-code","claude-code-plugin","cursor-ai","mcp","mcp-server","vs-code",{"repoUrl":25,"stars":24,"forks":28,"topics":39,"description":40},[30,31,32,33,34,35,36,37],"Collection of resources to help AI agents build better with Sanity.","https:\u002F\u002Fgithub.com\u002Fsanity-io\u002Fagent-toolkit\u002Ftree\u002FHEAD\u002Fskills\u002Fcontent-experimentation-best-practices","---\nname: content-experimentation-best-practices\ndescription: Content experimentation and A\u002FB 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.\n---\n\n# Content Experimentation Best Practices\n\nPrinciples and patterns for running effective content experiments to improve conversion rates, engagement, and user experience.\n\n## When to Apply\n\nReference these guidelines when:\n- Setting up A\u002FB or multivariate testing infrastructure\n- Designing experiments for content changes\n- Analyzing and interpreting test results\n- Building CMS integrations for experimentation\n- Deciding what to test and how\n\n## Core Concepts\n\n### A\u002FB Testing\nComparing two variants (A vs B) to determine which performs better.\n\n### Multivariate Testing\nTesting multiple variables simultaneously to find optimal combinations.\n\n### Statistical Significance\nThe confidence level that results aren't due to random chance.\n\n### Experimentation Culture\nMaking decisions based on data rather than opinions (HiPPO avoidance).\n\n## References\n\nStart with the reference that matches the current problem, such as design, statistics, CMS integration, or pitfalls. See `references\u002F` for detailed guidance:\n- `references\u002Fexperiment-design.md` — Hypothesis framework, metrics, sample size, and what to test\n- `references\u002Fstatistical-foundations.md` — p-values, confidence intervals, power analysis, Bayesian methods\n- `references\u002Fcms-integration.md` — CMS-managed variants, field-level variants, external platforms\n- `references\u002Fcommon-pitfalls.md` — 17 common mistakes across statistics, design, execution, and interpretation\n",{"data":44,"body":45},{"name":4,"description":6},{"type":46,"children":47},"root",[48,56,62,69,74,104,110,116,121,127,132,138,143,149,154,160,174],{"type":49,"tag":50,"props":51,"children":52},"element","h1",{"id":4},[53],{"type":54,"value":55},"text","Content Experimentation Best Practices",{"type":49,"tag":57,"props":58,"children":59},"p",{},[60],{"type":54,"value":61},"Principles and patterns for running effective content experiments to improve conversion rates, engagement, and user experience.",{"type":49,"tag":63,"props":64,"children":66},"h2",{"id":65},"when-to-apply",[67],{"type":54,"value":68},"When to Apply",{"type":49,"tag":57,"props":70,"children":71},{},[72],{"type":54,"value":73},"Reference these guidelines when:",{"type":49,"tag":75,"props":76,"children":77},"ul",{},[78,84,89,94,99],{"type":49,"tag":79,"props":80,"children":81},"li",{},[82],{"type":54,"value":83},"Setting up A\u002FB or multivariate testing infrastructure",{"type":49,"tag":79,"props":85,"children":86},{},[87],{"type":54,"value":88},"Designing experiments for content changes",{"type":49,"tag":79,"props":90,"children":91},{},[92],{"type":54,"value":93},"Analyzing and interpreting test results",{"type":49,"tag":79,"props":95,"children":96},{},[97],{"type":54,"value":98},"Building CMS integrations for experimentation",{"type":49,"tag":79,"props":100,"children":101},{},[102],{"type":54,"value":103},"Deciding what to test and how",{"type":49,"tag":63,"props":105,"children":107},{"id":106},"core-concepts",[108],{"type":54,"value":109},"Core Concepts",{"type":49,"tag":111,"props":112,"children":114},"h3",{"id":113},"ab-testing",[115],{"type":54,"value":22},{"type":49,"tag":57,"props":117,"children":118},{},[119],{"type":54,"value":120},"Comparing two variants (A vs B) to determine which performs better.",{"type":49,"tag":111,"props":122,"children":124},{"id":123},"multivariate-testing",[125],{"type":54,"value":126},"Multivariate Testing",{"type":49,"tag":57,"props":128,"children":129},{},[130],{"type":54,"value":131},"Testing multiple variables simultaneously to find optimal combinations.",{"type":49,"tag":111,"props":133,"children":135},{"id":134},"statistical-significance",[136],{"type":54,"value":137},"Statistical Significance",{"type":49,"tag":57,"props":139,"children":140},{},[141],{"type":54,"value":142},"The confidence level that results aren't due to random chance.",{"type":49,"tag":111,"props":144,"children":146},{"id":145},"experimentation-culture",[147],{"type":54,"value":148},"Experimentation Culture",{"type":49,"tag":57,"props":150,"children":151},{},[152],{"type":54,"value":153},"Making decisions based on data rather than opinions (HiPPO avoidance).",{"type":49,"tag":63,"props":155,"children":157},{"id":156},"references",[158],{"type":54,"value":159},"References",{"type":49,"tag":57,"props":161,"children":162},{},[163,165,172],{"type":54,"value":164},"Start with the reference that matches the current problem, such as design, statistics, CMS integration, or pitfalls. See ",{"type":49,"tag":166,"props":167,"children":169},"code",{"className":168},[],[170],{"type":54,"value":171},"references\u002F",{"type":54,"value":173}," for detailed guidance:",{"type":49,"tag":75,"props":175,"children":176},{},[177,188,199,210],{"type":49,"tag":79,"props":178,"children":179},{},[180,186],{"type":49,"tag":166,"props":181,"children":183},{"className":182},[],[184],{"type":54,"value":185},"references\u002Fexperiment-design.md",{"type":54,"value":187}," — Hypothesis framework, metrics, sample size, and what to test",{"type":49,"tag":79,"props":189,"children":190},{},[191,197],{"type":49,"tag":166,"props":192,"children":194},{"className":193},[],[195],{"type":54,"value":196},"references\u002Fstatistical-foundations.md",{"type":54,"value":198}," — p-values, confidence intervals, power analysis, Bayesian methods",{"type":49,"tag":79,"props":200,"children":201},{},[202,208],{"type":49,"tag":166,"props":203,"children":205},{"className":204},[],[206],{"type":54,"value":207},"references\u002Fcms-integration.md",{"type":54,"value":209}," — CMS-managed variants, field-level variants, external platforms",{"type":49,"tag":79,"props":211,"children":212},{},[213,219],{"type":49,"tag":166,"props":214,"children":216},{"className":215},[],[217],{"type":54,"value":218},"references\u002Fcommon-pitfalls.md",{"type":54,"value":220}," — 17 common mistakes across statistics, design, execution, and interpretation",{"items":222,"total":328},[223,230,250,265,282,300,315],{"slug":4,"name":4,"fn":5,"description":6,"org":224,"tags":225,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[226,227,228,229],{"name":22,"slug":23,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"slug":231,"name":231,"fn":232,"description":233,"org":234,"tags":235,"stars":24,"repoUrl":25,"updatedAt":249},"content-modeling-best-practices","apply structured content modeling practices","Structured content modeling guidance for schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and taxonomies across Sanity and other headless CMSes. Use this skill when designing or refactoring content types, deciding field shapes, debating reusable versus nested content, planning omnichannel content models, or reviewing whether a schema is too page-shaped or presentation-driven.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[236,239,242,245,248],{"name":237,"slug":238,"type":16},"Architecture","architecture",{"name":240,"slug":241,"type":16},"CMS","cms",{"name":243,"slug":244,"type":16},"Data Modeling","data-modeling",{"name":246,"slug":247,"type":16},"Design","design",{"name":9,"slug":8,"type":16},"2026-04-06T18:52:35.944096",{"slug":251,"name":251,"fn":252,"description":253,"org":254,"tags":255,"stars":24,"repoUrl":25,"updatedAt":264},"portable-text-conversion","convert content to Portable Text","Convert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity, building content pipelines that ingest external content, converting rich text between formats, or programmatically creating Portable Text documents. Covers @portabletext\u002Fmarkdown (markdownToPortableText), @portabletext\u002Fblock-tools (htmlToBlocks), custom deserializers, and the Portable Text specification for manual block construction.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[256,257,260,263],{"name":240,"slug":241,"type":16},{"name":258,"slug":259,"type":16},"HTML","html",{"name":261,"slug":262,"type":16},"Portable Text","portable-text",{"name":9,"slug":8,"type":16},"2026-04-13T05:19:08.919337",{"slug":266,"name":266,"fn":267,"description":268,"org":269,"tags":270,"stars":24,"repoUrl":25,"updatedAt":281},"portable-text-serialization","serialize Portable Text to frontends","Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown, extracting plain text from Portable Text, or troubleshooting rendering issues with marks, blocks, lists, or custom types.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[271,272,273,274,277,278],{"name":240,"slug":241,"type":16},{"name":258,"slug":259,"type":16},{"name":261,"slug":262,"type":16},{"name":275,"slug":276,"type":16},"React","react",{"name":9,"slug":8,"type":16},{"name":279,"slug":280,"type":16},"Vue","vue","2026-04-13T05:19:10.157534",{"slug":283,"name":283,"fn":284,"description":285,"org":286,"tags":287,"stars":24,"repoUrl":25,"updatedAt":299},"sanity-best-practices","apply Sanity development best practices","Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, and the App SDK. Use this skill whenever working with Sanity schemas, defineType or defineField, GROQ or defineQuery, content modeling, Presentation or preview setups, Sanity-powered frontend integrations, event-driven content automation, documentEventHandler, defineDocumentFunction, defineMediaLibraryAssetFunction, @sanity\u002Ffunctions, @sanity\u002Fblueprints, sanity.blueprint.ts, event-driven content automation, or when reviewing and fixing a Sanity codebase.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[288,289,292,295,296],{"name":240,"slug":241,"type":16},{"name":290,"slug":291,"type":16},"Frontend","frontend",{"name":293,"slug":294,"type":16},"Next.js","next-js",{"name":9,"slug":8,"type":16},{"name":297,"slug":298,"type":16},"TypeScript","typescript","2026-07-30T05:31:41.586173",{"slug":301,"name":301,"fn":302,"description":303,"org":304,"tags":305,"stars":24,"repoUrl":25,"updatedAt":314},"sanity-migration","migrate content from other CMSes to Sanity","Plans, implements, and reviews migrations from other CMSes and content systems into Sanity. Use when migrating or replatforming to Sanity from AEM, Adobe Experience Manager, Contentful, Strapi, Webflow, WordPress, Payload, Drupal, Markdown\u002FMDX\u002Ffrontmatter files, WXR\u002FXML exports, CMS APIs, database dumps, static HTML, or when designing extraction, transformation, Portable Text conversion, asset migration, redirects, validation, and cutover workflows.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[306,307,310,313],{"name":240,"slug":241,"type":16},{"name":308,"slug":309,"type":16},"Content Strategy","content-strategy",{"name":311,"slug":312,"type":16},"Migration","migration",{"name":9,"slug":8,"type":16},"2026-07-30T05:31:40.656418",{"slug":316,"name":316,"fn":317,"description":318,"org":319,"tags":320,"stars":24,"repoUrl":25,"updatedAt":327},"seo-aeo-best-practices","implement SEO and AEO best practices","SEO and AEO best practices for metadata, Open Graph, sitemaps, robots.txt, hreflang, JSON-LD structured data, EEAT, and content optimized for search engines and AI answer surfaces. Use this skill when implementing page SEO, technical SEO, schema markup, international SEO, AI-overview readiness, or improving content for Google, ChatGPT, Perplexity, and similar assistants.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[321,322,323,324],{"name":308,"slug":309,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":325,"slug":326,"type":16},"SEO","seo","2026-04-06T18:52:34.660246",7,{"items":330,"total":328},[331,338,346,353,362,370,377],{"slug":4,"name":4,"fn":5,"description":6,"org":332,"tags":333,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[334,335,336,337],{"name":22,"slug":23,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"slug":231,"name":231,"fn":232,"description":233,"org":339,"tags":340,"stars":24,"repoUrl":25,"updatedAt":249},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[341,342,343,344,345],{"name":237,"slug":238,"type":16},{"name":240,"slug":241,"type":16},{"name":243,"slug":244,"type":16},{"name":246,"slug":247,"type":16},{"name":9,"slug":8,"type":16},{"slug":251,"name":251,"fn":252,"description":253,"org":347,"tags":348,"stars":24,"repoUrl":25,"updatedAt":264},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[349,350,351,352],{"name":240,"slug":241,"type":16},{"name":258,"slug":259,"type":16},{"name":261,"slug":262,"type":16},{"name":9,"slug":8,"type":16},{"slug":266,"name":266,"fn":267,"description":268,"org":354,"tags":355,"stars":24,"repoUrl":25,"updatedAt":281},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[356,357,358,359,360,361],{"name":240,"slug":241,"type":16},{"name":258,"slug":259,"type":16},{"name":261,"slug":262,"type":16},{"name":275,"slug":276,"type":16},{"name":9,"slug":8,"type":16},{"name":279,"slug":280,"type":16},{"slug":283,"name":283,"fn":284,"description":285,"org":363,"tags":364,"stars":24,"repoUrl":25,"updatedAt":299},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[365,366,367,368,369],{"name":240,"slug":241,"type":16},{"name":290,"slug":291,"type":16},{"name":293,"slug":294,"type":16},{"name":9,"slug":8,"type":16},{"name":297,"slug":298,"type":16},{"slug":301,"name":301,"fn":302,"description":303,"org":371,"tags":372,"stars":24,"repoUrl":25,"updatedAt":314},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[373,374,375,376],{"name":240,"slug":241,"type":16},{"name":308,"slug":309,"type":16},{"name":311,"slug":312,"type":16},{"name":9,"slug":8,"type":16},{"slug":316,"name":316,"fn":317,"description":318,"org":378,"tags":379,"stars":24,"repoUrl":25,"updatedAt":327},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[380,381,382,383],{"name":308,"slug":309,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":325,"slug":326,"type":16}]