[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-sanity-sanity-migration":3,"mdc--crizc9-key":43,"related-repo-sanity-sanity-migration":591,"related-org-sanity-sanity-migration":698},{"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},"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},"sanity","Sanity","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fsanity.png","sanity-io",[13,17,20,23],{"name":14,"slug":15,"type":16},"Content Strategy","content-strategy","tag",{"name":18,"slug":19,"type":16},"CMS","cms",{"name":21,"slug":22,"type":16},"Migration","migration",{"name":9,"slug":8,"type":16},171,"https:\u002F\u002Fgithub.com\u002Fsanity-io\u002Fagent-toolkit","2026-07-30T05:31:40.656418",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\u002Fsanity-migration","---\nname: sanity-migration\ndescription: 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.\n---\n\n# Sanity Migration\n\nUse this skill for CMS-to-Sanity migration work. Treat migration as a content strategy and ETL project, not a blind lift-and-shift.\n\n## Required Workflow\n\n1. Read `references\u002Fgeneral.md` first.\n2. If the source platform is known, also read its guide:\n   - AEM \u002F Adobe Experience Manager: `references\u002Faem.md`\n   - Contentful: `references\u002Fcontentful.md`\n   - Strapi: `references\u002Fstrapi.md`\n   - Webflow: `references\u002Fwebflow.md`\n   - WordPress \u002F WXR \u002F Elementor: `references\u002Fwordpress.md`\n   - Payload: `references\u002Fpayload.md`\n   - Drupal: `references\u002Fdrupal.md`\n   - Markdown \u002F MDX \u002F frontmatter files: `references\u002Fmarkdown.md`\n3. Before writing code, produce a short migration plan covering source access, content scope, schema decisions, extraction, transformation, import, validation, redirects, and cutover.\n4. Prefer deterministic, repeatable scripts for real migrations. Write and review migration scripts, mappings, and validation checks; do not rely on one-off content operations for large content volumes.\n\n## Deliverables to Produce\n\nFor implementation or planning tasks, produce these artifacts or explain why they are not needed:\n\n- Content inventory: source types, counts, locales, status\u002Fdraft scope, assets, and relationship types.\n- Source-to-Sanity mapping: document types, object types, references, Portable Text fields, asset fields, IDs, and skipped content.\n- Extraction approach: credentials\u002Faccess needed, API\u002Fexport commands, raw snapshot location, and known blind spots.\n- Transform\u002Fimport plan: deterministic IDs, write order, asset handling, rich text conversion, validation, and rerun strategy.\n- Cutover plan: delta sync\u002Fcontent freeze, redirects, broken-link checks, SEO metadata, and manual cleanup.\n\n## Defaults\n\n- Use stable document IDs derived from source IDs, slugs, paths, or hashes.\n- Use `createOrReplace`, `createIfNotExists`, or `sanity datasets import --replace` so reruns converge.\n- Snapshot extracted source data to disk before transforming it.\n- Import or create referenced documents before documents that reference them.\n- Convert rich text to Portable Text instead of storing raw HTML or Markdown strings.\n- Upload assets to Sanity or the Media Library; do not leave production content dependent on legacy CDN URLs.\n- Track per-document quality issues and produce a validation summary before cutover.\n- Preserve legacy URLs and source IDs for redirects, QA, and future debugging.\n\n## Sanity Guardrails\n\n- Model what content is, not how the old site rendered it.\n- Use documents for reusable or independently managed entities; use objects for content owned by one document.\n- Use `defineType`, `defineField`, and `defineArrayMember` if authoring Sanity schemas.\n- Use image\u002Ffile fields with uploaded Sanity assets or Media Library assets, not legacy CDN URLs.\n- Use Portable Text arrays for rich text and custom blocks; do not store raw HTML as the canonical body.\n- Run schema extraction and TypeGen after schema or GROQ query changes when the project uses TypeScript.\n- Deploy or apply schema changes before using MCP\u002Fcontent tools against the target dataset.\n\nFor deeper Sanity implementation guidance, use `sanity-best-practices` if it is already available. If it is not installed, tell the user they can add it with:\n\n```bash\nnpx skills add sanity-io\u002Fagent-toolkit --skill sanity-best-practices\n```\n\n## Stop and Ask\n\nStop before coding when any of these are unclear:\n\n- Source access path, credentials, export file, or database connection.\n- Target Sanity project\u002Fdataset or whether a scratch dataset should be used.\n- Draft, archived, scheduled, locale, or version history scope.\n- Whether media files should be migrated and whether asset URLs\u002Ffiles are accessible.\n- Whether the destination schema exists or should be designed as part of the migration.\n\n## Do Not Do This\n\n- Do not create random IDs for source-backed documents.\n- Do not fetch-then-create referenced documents; use deterministic IDs and `createIfNotExists`\u002F`createOrReplace`.\n- Do not run bulk migrations through MCP content tools when NDJSON or scripts are appropriate.\n- Do not flatten locale fallback values into translations unless requested.\n- Do not leave TODOs for required media, authors, references, or rich text conversion.\n- Do not declare a migration done without count checks, sample checks, reference checks, and route\u002Fredirect checks.\n\n## Reference Map\n\nUse `references\u002Fgeneral.md` for shared migration principles and the platform references for source-specific extraction routes, modeling traps, and validation checks.\n\nFor source systems not explicitly covered, apply `references\u002Fgeneral.md` and adapt the closest platform pattern:\n- API-first CMSes: start from Contentful, Strapi, or Payload.\n- Monolithic\u002Fpage-builder systems: start from WordPress, Drupal, Webflow, or AEM.\n- HTML-heavy exports: start from the WordPress and Webflow rich-text guidance.\n- Markdown-first sources: start from `references\u002Fmarkdown.md`.\n",{"data":44,"body":45},{"name":4,"description":6},{"type":46,"children":47},"root",[48,56,62,69,195,201,206,234,240,307,313,373,386,435,441,446,474,480,527,533,544,556,585],{"type":49,"tag":50,"props":51,"children":52},"element","h1",{"id":4},[53],{"type":54,"value":55},"text","Sanity Migration",{"type":49,"tag":57,"props":58,"children":59},"p",{},[60],{"type":54,"value":61},"Use this skill for CMS-to-Sanity migration work. Treat migration as a content strategy and ETL project, not a blind lift-and-shift.",{"type":49,"tag":63,"props":64,"children":66},"h2",{"id":65},"required-workflow",[67],{"type":54,"value":68},"Required Workflow",{"type":49,"tag":70,"props":71,"children":72},"ol",{},[73,88,185,190],{"type":49,"tag":74,"props":75,"children":76},"li",{},[77,79,86],{"type":54,"value":78},"Read ",{"type":49,"tag":80,"props":81,"children":83},"code",{"className":82},[],[84],{"type":54,"value":85},"references\u002Fgeneral.md",{"type":54,"value":87}," first.",{"type":49,"tag":74,"props":89,"children":90},{},[91,93],{"type":54,"value":92},"If the source platform is known, also read its guide:\n",{"type":49,"tag":94,"props":95,"children":96},"ul",{},[97,108,119,130,141,152,163,174],{"type":49,"tag":74,"props":98,"children":99},{},[100,102],{"type":54,"value":101},"AEM \u002F Adobe Experience Manager: ",{"type":49,"tag":80,"props":103,"children":105},{"className":104},[],[106],{"type":54,"value":107},"references\u002Faem.md",{"type":49,"tag":74,"props":109,"children":110},{},[111,113],{"type":54,"value":112},"Contentful: ",{"type":49,"tag":80,"props":114,"children":116},{"className":115},[],[117],{"type":54,"value":118},"references\u002Fcontentful.md",{"type":49,"tag":74,"props":120,"children":121},{},[122,124],{"type":54,"value":123},"Strapi: ",{"type":49,"tag":80,"props":125,"children":127},{"className":126},[],[128],{"type":54,"value":129},"references\u002Fstrapi.md",{"type":49,"tag":74,"props":131,"children":132},{},[133,135],{"type":54,"value":134},"Webflow: ",{"type":49,"tag":80,"props":136,"children":138},{"className":137},[],[139],{"type":54,"value":140},"references\u002Fwebflow.md",{"type":49,"tag":74,"props":142,"children":143},{},[144,146],{"type":54,"value":145},"WordPress \u002F WXR \u002F Elementor: ",{"type":49,"tag":80,"props":147,"children":149},{"className":148},[],[150],{"type":54,"value":151},"references\u002Fwordpress.md",{"type":49,"tag":74,"props":153,"children":154},{},[155,157],{"type":54,"value":156},"Payload: ",{"type":49,"tag":80,"props":158,"children":160},{"className":159},[],[161],{"type":54,"value":162},"references\u002Fpayload.md",{"type":49,"tag":74,"props":164,"children":165},{},[166,168],{"type":54,"value":167},"Drupal: ",{"type":49,"tag":80,"props":169,"children":171},{"className":170},[],[172],{"type":54,"value":173},"references\u002Fdrupal.md",{"type":49,"tag":74,"props":175,"children":176},{},[177,179],{"type":54,"value":178},"Markdown \u002F MDX \u002F frontmatter files: ",{"type":49,"tag":80,"props":180,"children":182},{"className":181},[],[183],{"type":54,"value":184},"references\u002Fmarkdown.md",{"type":49,"tag":74,"props":186,"children":187},{},[188],{"type":54,"value":189},"Before writing code, produce a short migration plan covering source access, content scope, schema decisions, extraction, transformation, import, validation, redirects, and cutover.",{"type":49,"tag":74,"props":191,"children":192},{},[193],{"type":54,"value":194},"Prefer deterministic, repeatable scripts for real migrations. Write and review migration scripts, mappings, and validation checks; do not rely on one-off content operations for large content volumes.",{"type":49,"tag":63,"props":196,"children":198},{"id":197},"deliverables-to-produce",[199],{"type":54,"value":200},"Deliverables to Produce",{"type":49,"tag":57,"props":202,"children":203},{},[204],{"type":54,"value":205},"For implementation or planning tasks, produce these artifacts or explain why they are not needed:",{"type":49,"tag":94,"props":207,"children":208},{},[209,214,219,224,229],{"type":49,"tag":74,"props":210,"children":211},{},[212],{"type":54,"value":213},"Content inventory: source types, counts, locales, status\u002Fdraft scope, assets, and relationship types.",{"type":49,"tag":74,"props":215,"children":216},{},[217],{"type":54,"value":218},"Source-to-Sanity mapping: document types, object types, references, Portable Text fields, asset fields, IDs, and skipped content.",{"type":49,"tag":74,"props":220,"children":221},{},[222],{"type":54,"value":223},"Extraction approach: credentials\u002Faccess needed, API\u002Fexport commands, raw snapshot location, and known blind spots.",{"type":49,"tag":74,"props":225,"children":226},{},[227],{"type":54,"value":228},"Transform\u002Fimport plan: deterministic IDs, write order, asset handling, rich text conversion, validation, and rerun strategy.",{"type":49,"tag":74,"props":230,"children":231},{},[232],{"type":54,"value":233},"Cutover plan: delta sync\u002Fcontent freeze, redirects, broken-link checks, SEO metadata, and manual cleanup.",{"type":49,"tag":63,"props":235,"children":237},{"id":236},"defaults",[238],{"type":54,"value":239},"Defaults",{"type":49,"tag":94,"props":241,"children":242},{},[243,248,277,282,287,292,297,302],{"type":49,"tag":74,"props":244,"children":245},{},[246],{"type":54,"value":247},"Use stable document IDs derived from source IDs, slugs, paths, or hashes.",{"type":49,"tag":74,"props":249,"children":250},{},[251,253,259,261,267,269,275],{"type":54,"value":252},"Use ",{"type":49,"tag":80,"props":254,"children":256},{"className":255},[],[257],{"type":54,"value":258},"createOrReplace",{"type":54,"value":260},", ",{"type":49,"tag":80,"props":262,"children":264},{"className":263},[],[265],{"type":54,"value":266},"createIfNotExists",{"type":54,"value":268},", or ",{"type":49,"tag":80,"props":270,"children":272},{"className":271},[],[273],{"type":54,"value":274},"sanity datasets import --replace",{"type":54,"value":276}," so reruns converge.",{"type":49,"tag":74,"props":278,"children":279},{},[280],{"type":54,"value":281},"Snapshot extracted source data to disk before transforming it.",{"type":49,"tag":74,"props":283,"children":284},{},[285],{"type":54,"value":286},"Import or create referenced documents before documents that reference them.",{"type":49,"tag":74,"props":288,"children":289},{},[290],{"type":54,"value":291},"Convert rich text to Portable Text instead of storing raw HTML or Markdown strings.",{"type":49,"tag":74,"props":293,"children":294},{},[295],{"type":54,"value":296},"Upload assets to Sanity or the Media Library; do not leave production content dependent on legacy CDN URLs.",{"type":49,"tag":74,"props":298,"children":299},{},[300],{"type":54,"value":301},"Track per-document quality issues and produce a validation summary before cutover.",{"type":49,"tag":74,"props":303,"children":304},{},[305],{"type":54,"value":306},"Preserve legacy URLs and source IDs for redirects, QA, and future debugging.",{"type":49,"tag":63,"props":308,"children":310},{"id":309},"sanity-guardrails",[311],{"type":54,"value":312},"Sanity Guardrails",{"type":49,"tag":94,"props":314,"children":315},{},[316,321,326,353,358,363,368],{"type":49,"tag":74,"props":317,"children":318},{},[319],{"type":54,"value":320},"Model what content is, not how the old site rendered it.",{"type":49,"tag":74,"props":322,"children":323},{},[324],{"type":54,"value":325},"Use documents for reusable or independently managed entities; use objects for content owned by one document.",{"type":49,"tag":74,"props":327,"children":328},{},[329,330,336,337,343,345,351],{"type":54,"value":252},{"type":49,"tag":80,"props":331,"children":333},{"className":332},[],[334],{"type":54,"value":335},"defineType",{"type":54,"value":260},{"type":49,"tag":80,"props":338,"children":340},{"className":339},[],[341],{"type":54,"value":342},"defineField",{"type":54,"value":344},", and ",{"type":49,"tag":80,"props":346,"children":348},{"className":347},[],[349],{"type":54,"value":350},"defineArrayMember",{"type":54,"value":352}," if authoring Sanity schemas.",{"type":49,"tag":74,"props":354,"children":355},{},[356],{"type":54,"value":357},"Use image\u002Ffile fields with uploaded Sanity assets or Media Library assets, not legacy CDN URLs.",{"type":49,"tag":74,"props":359,"children":360},{},[361],{"type":54,"value":362},"Use Portable Text arrays for rich text and custom blocks; do not store raw HTML as the canonical body.",{"type":49,"tag":74,"props":364,"children":365},{},[366],{"type":54,"value":367},"Run schema extraction and TypeGen after schema or GROQ query changes when the project uses TypeScript.",{"type":49,"tag":74,"props":369,"children":370},{},[371],{"type":54,"value":372},"Deploy or apply schema changes before using MCP\u002Fcontent tools against the target dataset.",{"type":49,"tag":57,"props":374,"children":375},{},[376,378,384],{"type":54,"value":377},"For deeper Sanity implementation guidance, use ",{"type":49,"tag":80,"props":379,"children":381},{"className":380},[],[382],{"type":54,"value":383},"sanity-best-practices",{"type":54,"value":385}," if it is already available. If it is not installed, tell the user they can add it with:",{"type":49,"tag":387,"props":388,"children":393},"pre",{"className":389,"code":390,"language":391,"meta":392,"style":392},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx skills add sanity-io\u002Fagent-toolkit --skill sanity-best-practices\n","bash","",[394],{"type":49,"tag":80,"props":395,"children":396},{"__ignoreMap":392},[397],{"type":49,"tag":398,"props":399,"children":402},"span",{"class":400,"line":401},"line",1,[403,409,415,420,425,430],{"type":49,"tag":398,"props":404,"children":406},{"style":405},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[407],{"type":54,"value":408},"npx",{"type":49,"tag":398,"props":410,"children":412},{"style":411},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[413],{"type":54,"value":414}," skills",{"type":49,"tag":398,"props":416,"children":417},{"style":411},[418],{"type":54,"value":419}," add",{"type":49,"tag":398,"props":421,"children":422},{"style":411},[423],{"type":54,"value":424}," sanity-io\u002Fagent-toolkit",{"type":49,"tag":398,"props":426,"children":427},{"style":411},[428],{"type":54,"value":429}," --skill",{"type":49,"tag":398,"props":431,"children":432},{"style":411},[433],{"type":54,"value":434}," sanity-best-practices\n",{"type":49,"tag":63,"props":436,"children":438},{"id":437},"stop-and-ask",[439],{"type":54,"value":440},"Stop and Ask",{"type":49,"tag":57,"props":442,"children":443},{},[444],{"type":54,"value":445},"Stop before coding when any of these are unclear:",{"type":49,"tag":94,"props":447,"children":448},{},[449,454,459,464,469],{"type":49,"tag":74,"props":450,"children":451},{},[452],{"type":54,"value":453},"Source access path, credentials, export file, or database connection.",{"type":49,"tag":74,"props":455,"children":456},{},[457],{"type":54,"value":458},"Target Sanity project\u002Fdataset or whether a scratch dataset should be used.",{"type":49,"tag":74,"props":460,"children":461},{},[462],{"type":54,"value":463},"Draft, archived, scheduled, locale, or version history scope.",{"type":49,"tag":74,"props":465,"children":466},{},[467],{"type":54,"value":468},"Whether media files should be migrated and whether asset URLs\u002Ffiles are accessible.",{"type":49,"tag":74,"props":470,"children":471},{},[472],{"type":54,"value":473},"Whether the destination schema exists or should be designed as part of the migration.",{"type":49,"tag":63,"props":475,"children":477},{"id":476},"do-not-do-this",[478],{"type":54,"value":479},"Do Not Do This",{"type":49,"tag":94,"props":481,"children":482},{},[483,488,507,512,517,522],{"type":49,"tag":74,"props":484,"children":485},{},[486],{"type":54,"value":487},"Do not create random IDs for source-backed documents.",{"type":49,"tag":74,"props":489,"children":490},{},[491,493,498,500,505],{"type":54,"value":492},"Do not fetch-then-create referenced documents; use deterministic IDs and ",{"type":49,"tag":80,"props":494,"children":496},{"className":495},[],[497],{"type":54,"value":266},{"type":54,"value":499},"\u002F",{"type":49,"tag":80,"props":501,"children":503},{"className":502},[],[504],{"type":54,"value":258},{"type":54,"value":506},".",{"type":49,"tag":74,"props":508,"children":509},{},[510],{"type":54,"value":511},"Do not run bulk migrations through MCP content tools when NDJSON or scripts are appropriate.",{"type":49,"tag":74,"props":513,"children":514},{},[515],{"type":54,"value":516},"Do not flatten locale fallback values into translations unless requested.",{"type":49,"tag":74,"props":518,"children":519},{},[520],{"type":54,"value":521},"Do not leave TODOs for required media, authors, references, or rich text conversion.",{"type":49,"tag":74,"props":523,"children":524},{},[525],{"type":54,"value":526},"Do not declare a migration done without count checks, sample checks, reference checks, and route\u002Fredirect checks.",{"type":49,"tag":63,"props":528,"children":530},{"id":529},"reference-map",[531],{"type":54,"value":532},"Reference Map",{"type":49,"tag":57,"props":534,"children":535},{},[536,537,542],{"type":54,"value":252},{"type":49,"tag":80,"props":538,"children":540},{"className":539},[],[541],{"type":54,"value":85},{"type":54,"value":543}," for shared migration principles and the platform references for source-specific extraction routes, modeling traps, and validation checks.",{"type":49,"tag":57,"props":545,"children":546},{},[547,549,554],{"type":54,"value":548},"For source systems not explicitly covered, apply ",{"type":49,"tag":80,"props":550,"children":552},{"className":551},[],[553],{"type":54,"value":85},{"type":54,"value":555}," and adapt the closest platform pattern:",{"type":49,"tag":94,"props":557,"children":558},{},[559,564,569,574],{"type":49,"tag":74,"props":560,"children":561},{},[562],{"type":54,"value":563},"API-first CMSes: start from Contentful, Strapi, or Payload.",{"type":49,"tag":74,"props":565,"children":566},{},[567],{"type":54,"value":568},"Monolithic\u002Fpage-builder systems: start from WordPress, Drupal, Webflow, or AEM.",{"type":49,"tag":74,"props":570,"children":571},{},[572],{"type":54,"value":573},"HTML-heavy exports: start from the WordPress and Webflow rich-text guidance.",{"type":49,"tag":74,"props":575,"children":576},{},[577,579,584],{"type":54,"value":578},"Markdown-first sources: start from ",{"type":49,"tag":80,"props":580,"children":582},{"className":581},[],[583],{"type":54,"value":184},{"type":54,"value":506},{"type":49,"tag":586,"props":587,"children":588},"style",{},[589],{"type":54,"value":590},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":592,"total":697},[593,610,628,643,660,677,684],{"slug":594,"name":594,"fn":595,"description":596,"org":597,"tags":598,"stars":24,"repoUrl":25,"updatedAt":609},"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},[599,602,605,608],{"name":600,"slug":601,"type":16},"A\u002FB Testing","a-b-testing",{"name":603,"slug":604,"type":16},"Analytics","analytics",{"name":606,"slug":607,"type":16},"Marketing","marketing",{"name":9,"slug":8,"type":16},"2026-04-06T18:52:37.188766",{"slug":611,"name":611,"fn":612,"description":613,"org":614,"tags":615,"stars":24,"repoUrl":25,"updatedAt":627},"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},[616,619,620,623,626],{"name":617,"slug":618,"type":16},"Architecture","architecture",{"name":18,"slug":19,"type":16},{"name":621,"slug":622,"type":16},"Data Modeling","data-modeling",{"name":624,"slug":625,"type":16},"Design","design",{"name":9,"slug":8,"type":16},"2026-04-06T18:52:35.944096",{"slug":629,"name":629,"fn":630,"description":631,"org":632,"tags":633,"stars":24,"repoUrl":25,"updatedAt":642},"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},[634,635,638,641],{"name":18,"slug":19,"type":16},{"name":636,"slug":637,"type":16},"HTML","html",{"name":639,"slug":640,"type":16},"Portable Text","portable-text",{"name":9,"slug":8,"type":16},"2026-04-13T05:19:08.919337",{"slug":644,"name":644,"fn":645,"description":646,"org":647,"tags":648,"stars":24,"repoUrl":25,"updatedAt":659},"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},[649,650,651,652,655,656],{"name":18,"slug":19,"type":16},{"name":636,"slug":637,"type":16},{"name":639,"slug":640,"type":16},{"name":653,"slug":654,"type":16},"React","react",{"name":9,"slug":8,"type":16},{"name":657,"slug":658,"type":16},"Vue","vue","2026-04-13T05:19:10.157534",{"slug":383,"name":383,"fn":661,"description":662,"org":663,"tags":664,"stars":24,"repoUrl":25,"updatedAt":676},"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},[665,666,669,672,673],{"name":18,"slug":19,"type":16},{"name":667,"slug":668,"type":16},"Frontend","frontend",{"name":670,"slug":671,"type":16},"Next.js","next-js",{"name":9,"slug":8,"type":16},{"name":674,"slug":675,"type":16},"TypeScript","typescript","2026-07-30T05:31:41.586173",{"slug":4,"name":4,"fn":5,"description":6,"org":678,"tags":679,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[680,681,682,683],{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":9,"slug":8,"type":16},{"slug":685,"name":685,"fn":686,"description":687,"org":688,"tags":689,"stars":24,"repoUrl":25,"updatedAt":696},"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},[690,691,692,693],{"name":14,"slug":15,"type":16},{"name":606,"slug":607,"type":16},{"name":9,"slug":8,"type":16},{"name":694,"slug":695,"type":16},"SEO","seo","2026-04-06T18:52:34.660246",7,{"items":699,"total":697},[700,707,715,722,731,739,746],{"slug":594,"name":594,"fn":595,"description":596,"org":701,"tags":702,"stars":24,"repoUrl":25,"updatedAt":609},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[703,704,705,706],{"name":600,"slug":601,"type":16},{"name":603,"slug":604,"type":16},{"name":606,"slug":607,"type":16},{"name":9,"slug":8,"type":16},{"slug":611,"name":611,"fn":612,"description":613,"org":708,"tags":709,"stars":24,"repoUrl":25,"updatedAt":627},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[710,711,712,713,714],{"name":617,"slug":618,"type":16},{"name":18,"slug":19,"type":16},{"name":621,"slug":622,"type":16},{"name":624,"slug":625,"type":16},{"name":9,"slug":8,"type":16},{"slug":629,"name":629,"fn":630,"description":631,"org":716,"tags":717,"stars":24,"repoUrl":25,"updatedAt":642},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[718,719,720,721],{"name":18,"slug":19,"type":16},{"name":636,"slug":637,"type":16},{"name":639,"slug":640,"type":16},{"name":9,"slug":8,"type":16},{"slug":644,"name":644,"fn":645,"description":646,"org":723,"tags":724,"stars":24,"repoUrl":25,"updatedAt":659},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[725,726,727,728,729,730],{"name":18,"slug":19,"type":16},{"name":636,"slug":637,"type":16},{"name":639,"slug":640,"type":16},{"name":653,"slug":654,"type":16},{"name":9,"slug":8,"type":16},{"name":657,"slug":658,"type":16},{"slug":383,"name":383,"fn":661,"description":662,"org":732,"tags":733,"stars":24,"repoUrl":25,"updatedAt":676},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[734,735,736,737,738],{"name":18,"slug":19,"type":16},{"name":667,"slug":668,"type":16},{"name":670,"slug":671,"type":16},{"name":9,"slug":8,"type":16},{"name":674,"slug":675,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":740,"tags":741,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[742,743,744,745],{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"name":21,"slug":22,"type":16},{"name":9,"slug":8,"type":16},{"slug":685,"name":685,"fn":686,"description":687,"org":747,"tags":748,"stars":24,"repoUrl":25,"updatedAt":696},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[749,750,751,752],{"name":14,"slug":15,"type":16},{"name":606,"slug":607,"type":16},{"name":9,"slug":8,"type":16},{"name":694,"slug":695,"type":16}]