[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-sanity-sanity-best-practices":3,"mdc--j08y0j-key":46,"related-org-sanity-sanity-best-practices":626,"related-repo-sanity-sanity-best-practices":729},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":27,"repoUrl":28,"updatedAt":29,"license":30,"forks":31,"topics":32,"repo":41,"sourceUrl":44,"mdContent":45},"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},"sanity","Sanity","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fsanity.png","sanity-io",[13,17,20,23,24],{"name":14,"slug":15,"type":16},"Next.js","next-js","tag",{"name":18,"slug":19,"type":16},"TypeScript","typescript",{"name":21,"slug":22,"type":16},"CMS","cms",{"name":9,"slug":8,"type":16},{"name":25,"slug":26,"type":16},"Frontend","frontend",171,"https:\u002F\u002Fgithub.com\u002Fsanity-io\u002Fagent-toolkit","2026-07-30T05:31:41.586173",null,25,[33,34,35,36,37,38,39,40],"agent-rules","ai-rules","claude-code","claude-code-plugin","cursor-ai","mcp","mcp-server","vs-code",{"repoUrl":28,"stars":27,"forks":31,"topics":42,"description":43},[33,34,35,36,37,38,39,40],"Collection of resources to help AI agents build better with Sanity.","https:\u002F\u002Fgithub.com\u002Fsanity-io\u002Fagent-toolkit\u002Ftree\u002FHEAD\u002Fskills\u002Fsanity-best-practices","---\nname: sanity-best-practices\ndescription: 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.\n---\n\n# Sanity Best Practices\n\nComprehensive best practices and integration guides for Sanity development, maintained by Sanity. Use the quick reference below to load only the one or two topic files that match the task.\n\n## When to Apply\n\nReference these guidelines when:\n- Setting up a new Sanity project or onboarding\n- Integrating Sanity with a frontend framework (Next.js, Nuxt, Astro, Remix, SvelteKit, Hydrogen)\n- Writing GROQ queries or optimizing performance\n- Designing content schemas\n- Implementing Visual Editing and live preview\n- Working with images, Portable Text, or page builders\n- Configuring Sanity Studio structure\n- Setting up TypeGen for type safety\n- Implementing localization\n- Migrating content from other systems\n- Building custom apps with the Sanity App SDK\n- Managing infrastructure with Blueprints\n- Automating content workflows with Sanity Functions or webhooks\n\n## Global Rules\n\n- Let Sanity generate `_id` values for ordinary documents. Do not create deterministic UUIDs, slug-derived IDs, or legacy-system IDs when creating documents.\n- Model relationships with `reference` fields, then resolve related documents with GROQ lookups, source-key fields, or returned `_id` values from created documents.\n- Use explicit document IDs mainly for singleton documents controlled by Studio Structure, including localized singletons such as `homePage-en`.\n\n## Video\n\n- Do not store or serve video from Sanity `file` assets for production playback. File assets are delivered as raw downloads with no transcoding or adaptive streaming, and video traffic drives very high bandwidth usage and unexpectedly large bills.\n- On Enterprise plans with the video add-on, use Sanity Media Library for video: uploads are transcoded and streamed adaptively via Mux. Model video fields with `defineVideoField()` from `sanity\u002Fmedia-library` and play them with `@mux\u002Fmux-player-react` using the asset's playback ID.\n- On other plans, use a dedicated video service: install `sanity-plugin-mux-input` to upload and manage videos in your Mux account from the Studio, or host video on a platform such as YouTube or Vimeo and store only the embed URL in Sanity.\n- Small clips and short previews in a `file` field are acceptable, but any user-facing video at scale must go through Media Library or a streaming service.\n\n## Quick Reference\n\n### Integration Guides\n\n- `get-started` - Interactive onboarding for new Sanity projects\n- `nextjs` - Next.js App Router, Live Content API, standalone Studio\n- `nuxt` - Nuxt integration with @nuxtjs\u002Fsanity\n- `angular` - Angular integration with @sanity\u002Fclient, signals, resource API\n- `astro` - Astro integration with @sanity\u002Fastro\n- `remix` - React Router \u002F Remix integration\n- `svelte` - SvelteKit integration with @sanity\u002Fsvelte-loader\n- `hydrogen` - Shopify Hydrogen with Sanity\n- `project-structure` - Standalone Studio and monorepo patterns\n- `app-sdk` - Custom applications with Sanity App SDK\n- `blueprints` - Infrastructure as Code: blueprint files, stacks, plan\u002Fdeploy workflow, error recovery, CI deploys\n- `functions` - Automating content workflows with Sanity Functions and webhooks\n\n### Topic Guides\n\n- `groq` - GROQ query patterns, type safety, performance optimization\n- `schema` - Schema design, field definitions, validation, deprecation patterns\n- `visual-editing` - Presentation Tool, Stega, overlays, live preview\n- `page-builder` - Page Builder arrays, block components, live editing\n- `portable-text` - Rich text rendering and custom components\n- `image` - Image schema, URL builder, hotspots, LQIP, Next.js Image\n- `studio-structure` - Desk structure, singletons, navigation\n- `typegen` - TypeGen configuration, workflow, type utilities\n- `seo` - Metadata, sitemaps, Open Graph, JSON-LD\n- `localization` - i18n patterns, document vs field-level, locale management\n- `migration` - Content import overview (see also `migration-html-import`)\n- `migration-html-import` - HTML to Portable Text with @portabletext\u002Fblock-tools\n\n## How to Use\n\nStart with the single framework or topic guide that best matches the request, then read additional references only when the task crosses concerns. Use these reference files for detailed explanations and code examples:\n\n```\nreferences\u002Fgroq.md\nreferences\u002Fschema.md\nreferences\u002Fnextjs.md\n```\n\nEach reference file contains:\n- Comprehensive topic or integration coverage\n- Incorrect and correct code examples\n- Decision matrices and workflow guidance\n- Framework-specific patterns where applicable\n",{"data":47,"body":48},{"name":4,"description":6},{"type":49,"children":50},"root",[51,59,65,72,77,147,153,203,209,279,285,292,427,433,575,581,586,598,603],{"type":52,"tag":53,"props":54,"children":55},"element","h1",{"id":4},[56],{"type":57,"value":58},"text","Sanity Best Practices",{"type":52,"tag":60,"props":61,"children":62},"p",{},[63],{"type":57,"value":64},"Comprehensive best practices and integration guides for Sanity development, maintained by Sanity. Use the quick reference below to load only the one or two topic files that match the task.",{"type":52,"tag":66,"props":67,"children":69},"h2",{"id":68},"when-to-apply",[70],{"type":57,"value":71},"When to Apply",{"type":52,"tag":60,"props":73,"children":74},{},[75],{"type":57,"value":76},"Reference these guidelines when:",{"type":52,"tag":78,"props":79,"children":80},"ul",{},[81,87,92,97,102,107,112,117,122,127,132,137,142],{"type":52,"tag":82,"props":83,"children":84},"li",{},[85],{"type":57,"value":86},"Setting up a new Sanity project or onboarding",{"type":52,"tag":82,"props":88,"children":89},{},[90],{"type":57,"value":91},"Integrating Sanity with a frontend framework (Next.js, Nuxt, Astro, Remix, SvelteKit, Hydrogen)",{"type":52,"tag":82,"props":93,"children":94},{},[95],{"type":57,"value":96},"Writing GROQ queries or optimizing performance",{"type":52,"tag":82,"props":98,"children":99},{},[100],{"type":57,"value":101},"Designing content schemas",{"type":52,"tag":82,"props":103,"children":104},{},[105],{"type":57,"value":106},"Implementing Visual Editing and live preview",{"type":52,"tag":82,"props":108,"children":109},{},[110],{"type":57,"value":111},"Working with images, Portable Text, or page builders",{"type":52,"tag":82,"props":113,"children":114},{},[115],{"type":57,"value":116},"Configuring Sanity Studio structure",{"type":52,"tag":82,"props":118,"children":119},{},[120],{"type":57,"value":121},"Setting up TypeGen for type safety",{"type":52,"tag":82,"props":123,"children":124},{},[125],{"type":57,"value":126},"Implementing localization",{"type":52,"tag":82,"props":128,"children":129},{},[130],{"type":57,"value":131},"Migrating content from other systems",{"type":52,"tag":82,"props":133,"children":134},{},[135],{"type":57,"value":136},"Building custom apps with the Sanity App SDK",{"type":52,"tag":82,"props":138,"children":139},{},[140],{"type":57,"value":141},"Managing infrastructure with Blueprints",{"type":52,"tag":82,"props":143,"children":144},{},[145],{"type":57,"value":146},"Automating content workflows with Sanity Functions or webhooks",{"type":52,"tag":66,"props":148,"children":150},{"id":149},"global-rules",[151],{"type":57,"value":152},"Global Rules",{"type":52,"tag":78,"props":154,"children":155},{},[156,170,190],{"type":52,"tag":82,"props":157,"children":158},{},[159,161,168],{"type":57,"value":160},"Let Sanity generate ",{"type":52,"tag":162,"props":163,"children":165},"code",{"className":164},[],[166],{"type":57,"value":167},"_id",{"type":57,"value":169}," values for ordinary documents. Do not create deterministic UUIDs, slug-derived IDs, or legacy-system IDs when creating documents.",{"type":52,"tag":82,"props":171,"children":172},{},[173,175,181,183,188],{"type":57,"value":174},"Model relationships with ",{"type":52,"tag":162,"props":176,"children":178},{"className":177},[],[179],{"type":57,"value":180},"reference",{"type":57,"value":182}," fields, then resolve related documents with GROQ lookups, source-key fields, or returned ",{"type":52,"tag":162,"props":184,"children":186},{"className":185},[],[187],{"type":57,"value":167},{"type":57,"value":189}," values from created documents.",{"type":52,"tag":82,"props":191,"children":192},{},[193,195,201],{"type":57,"value":194},"Use explicit document IDs mainly for singleton documents controlled by Studio Structure, including localized singletons such as ",{"type":52,"tag":162,"props":196,"children":198},{"className":197},[],[199],{"type":57,"value":200},"homePage-en",{"type":57,"value":202},".",{"type":52,"tag":66,"props":204,"children":206},{"id":205},"video",[207],{"type":57,"value":208},"Video",{"type":52,"tag":78,"props":210,"children":211},{},[212,225,254,267],{"type":52,"tag":82,"props":213,"children":214},{},[215,217,223],{"type":57,"value":216},"Do not store or serve video from Sanity ",{"type":52,"tag":162,"props":218,"children":220},{"className":219},[],[221],{"type":57,"value":222},"file",{"type":57,"value":224}," assets for production playback. File assets are delivered as raw downloads with no transcoding or adaptive streaming, and video traffic drives very high bandwidth usage and unexpectedly large bills.",{"type":52,"tag":82,"props":226,"children":227},{},[228,230,236,238,244,246,252],{"type":57,"value":229},"On Enterprise plans with the video add-on, use Sanity Media Library for video: uploads are transcoded and streamed adaptively via Mux. Model video fields with ",{"type":52,"tag":162,"props":231,"children":233},{"className":232},[],[234],{"type":57,"value":235},"defineVideoField()",{"type":57,"value":237}," from ",{"type":52,"tag":162,"props":239,"children":241},{"className":240},[],[242],{"type":57,"value":243},"sanity\u002Fmedia-library",{"type":57,"value":245}," and play them with ",{"type":52,"tag":162,"props":247,"children":249},{"className":248},[],[250],{"type":57,"value":251},"@mux\u002Fmux-player-react",{"type":57,"value":253}," using the asset's playback ID.",{"type":52,"tag":82,"props":255,"children":256},{},[257,259,265],{"type":57,"value":258},"On other plans, use a dedicated video service: install ",{"type":52,"tag":162,"props":260,"children":262},{"className":261},[],[263],{"type":57,"value":264},"sanity-plugin-mux-input",{"type":57,"value":266}," to upload and manage videos in your Mux account from the Studio, or host video on a platform such as YouTube or Vimeo and store only the embed URL in Sanity.",{"type":52,"tag":82,"props":268,"children":269},{},[270,272,277],{"type":57,"value":271},"Small clips and short previews in a ",{"type":52,"tag":162,"props":273,"children":275},{"className":274},[],[276],{"type":57,"value":222},{"type":57,"value":278}," field are acceptable, but any user-facing video at scale must go through Media Library or a streaming service.",{"type":52,"tag":66,"props":280,"children":282},{"id":281},"quick-reference",[283],{"type":57,"value":284},"Quick Reference",{"type":52,"tag":286,"props":287,"children":289},"h3",{"id":288},"integration-guides",[290],{"type":57,"value":291},"Integration Guides",{"type":52,"tag":78,"props":293,"children":294},{},[295,306,317,328,339,350,361,372,383,394,405,416],{"type":52,"tag":82,"props":296,"children":297},{},[298,304],{"type":52,"tag":162,"props":299,"children":301},{"className":300},[],[302],{"type":57,"value":303},"get-started",{"type":57,"value":305}," - Interactive onboarding for new Sanity projects",{"type":52,"tag":82,"props":307,"children":308},{},[309,315],{"type":52,"tag":162,"props":310,"children":312},{"className":311},[],[313],{"type":57,"value":314},"nextjs",{"type":57,"value":316}," - Next.js App Router, Live Content API, standalone Studio",{"type":52,"tag":82,"props":318,"children":319},{},[320,326],{"type":52,"tag":162,"props":321,"children":323},{"className":322},[],[324],{"type":57,"value":325},"nuxt",{"type":57,"value":327}," - Nuxt integration with @nuxtjs\u002Fsanity",{"type":52,"tag":82,"props":329,"children":330},{},[331,337],{"type":52,"tag":162,"props":332,"children":334},{"className":333},[],[335],{"type":57,"value":336},"angular",{"type":57,"value":338}," - Angular integration with @sanity\u002Fclient, signals, resource API",{"type":52,"tag":82,"props":340,"children":341},{},[342,348],{"type":52,"tag":162,"props":343,"children":345},{"className":344},[],[346],{"type":57,"value":347},"astro",{"type":57,"value":349}," - Astro integration with @sanity\u002Fastro",{"type":52,"tag":82,"props":351,"children":352},{},[353,359],{"type":52,"tag":162,"props":354,"children":356},{"className":355},[],[357],{"type":57,"value":358},"remix",{"type":57,"value":360}," - React Router \u002F Remix integration",{"type":52,"tag":82,"props":362,"children":363},{},[364,370],{"type":52,"tag":162,"props":365,"children":367},{"className":366},[],[368],{"type":57,"value":369},"svelte",{"type":57,"value":371}," - SvelteKit integration with @sanity\u002Fsvelte-loader",{"type":52,"tag":82,"props":373,"children":374},{},[375,381],{"type":52,"tag":162,"props":376,"children":378},{"className":377},[],[379],{"type":57,"value":380},"hydrogen",{"type":57,"value":382}," - Shopify Hydrogen with Sanity",{"type":52,"tag":82,"props":384,"children":385},{},[386,392],{"type":52,"tag":162,"props":387,"children":389},{"className":388},[],[390],{"type":57,"value":391},"project-structure",{"type":57,"value":393}," - Standalone Studio and monorepo patterns",{"type":52,"tag":82,"props":395,"children":396},{},[397,403],{"type":52,"tag":162,"props":398,"children":400},{"className":399},[],[401],{"type":57,"value":402},"app-sdk",{"type":57,"value":404}," - Custom applications with Sanity App SDK",{"type":52,"tag":82,"props":406,"children":407},{},[408,414],{"type":52,"tag":162,"props":409,"children":411},{"className":410},[],[412],{"type":57,"value":413},"blueprints",{"type":57,"value":415}," - Infrastructure as Code: blueprint files, stacks, plan\u002Fdeploy workflow, error recovery, CI deploys",{"type":52,"tag":82,"props":417,"children":418},{},[419,425],{"type":52,"tag":162,"props":420,"children":422},{"className":421},[],[423],{"type":57,"value":424},"functions",{"type":57,"value":426}," - Automating content workflows with Sanity Functions and webhooks",{"type":52,"tag":286,"props":428,"children":430},{"id":429},"topic-guides",[431],{"type":57,"value":432},"Topic Guides",{"type":52,"tag":78,"props":434,"children":435},{},[436,447,458,469,480,491,502,513,524,535,546,565],{"type":52,"tag":82,"props":437,"children":438},{},[439,445],{"type":52,"tag":162,"props":440,"children":442},{"className":441},[],[443],{"type":57,"value":444},"groq",{"type":57,"value":446}," - GROQ query patterns, type safety, performance optimization",{"type":52,"tag":82,"props":448,"children":449},{},[450,456],{"type":52,"tag":162,"props":451,"children":453},{"className":452},[],[454],{"type":57,"value":455},"schema",{"type":57,"value":457}," - Schema design, field definitions, validation, deprecation patterns",{"type":52,"tag":82,"props":459,"children":460},{},[461,467],{"type":52,"tag":162,"props":462,"children":464},{"className":463},[],[465],{"type":57,"value":466},"visual-editing",{"type":57,"value":468}," - Presentation Tool, Stega, overlays, live preview",{"type":52,"tag":82,"props":470,"children":471},{},[472,478],{"type":52,"tag":162,"props":473,"children":475},{"className":474},[],[476],{"type":57,"value":477},"page-builder",{"type":57,"value":479}," - Page Builder arrays, block components, live editing",{"type":52,"tag":82,"props":481,"children":482},{},[483,489],{"type":52,"tag":162,"props":484,"children":486},{"className":485},[],[487],{"type":57,"value":488},"portable-text",{"type":57,"value":490}," - Rich text rendering and custom components",{"type":52,"tag":82,"props":492,"children":493},{},[494,500],{"type":52,"tag":162,"props":495,"children":497},{"className":496},[],[498],{"type":57,"value":499},"image",{"type":57,"value":501}," - Image schema, URL builder, hotspots, LQIP, Next.js Image",{"type":52,"tag":82,"props":503,"children":504},{},[505,511],{"type":52,"tag":162,"props":506,"children":508},{"className":507},[],[509],{"type":57,"value":510},"studio-structure",{"type":57,"value":512}," - Desk structure, singletons, navigation",{"type":52,"tag":82,"props":514,"children":515},{},[516,522],{"type":52,"tag":162,"props":517,"children":519},{"className":518},[],[520],{"type":57,"value":521},"typegen",{"type":57,"value":523}," - TypeGen configuration, workflow, type utilities",{"type":52,"tag":82,"props":525,"children":526},{},[527,533],{"type":52,"tag":162,"props":528,"children":530},{"className":529},[],[531],{"type":57,"value":532},"seo",{"type":57,"value":534}," - Metadata, sitemaps, Open Graph, JSON-LD",{"type":52,"tag":82,"props":536,"children":537},{},[538,544],{"type":52,"tag":162,"props":539,"children":541},{"className":540},[],[542],{"type":57,"value":543},"localization",{"type":57,"value":545}," - i18n patterns, document vs field-level, locale management",{"type":52,"tag":82,"props":547,"children":548},{},[549,555,557,563],{"type":52,"tag":162,"props":550,"children":552},{"className":551},[],[553],{"type":57,"value":554},"migration",{"type":57,"value":556}," - Content import overview (see also ",{"type":52,"tag":162,"props":558,"children":560},{"className":559},[],[561],{"type":57,"value":562},"migration-html-import",{"type":57,"value":564},")",{"type":52,"tag":82,"props":566,"children":567},{},[568,573],{"type":52,"tag":162,"props":569,"children":571},{"className":570},[],[572],{"type":57,"value":562},{"type":57,"value":574}," - HTML to Portable Text with @portabletext\u002Fblock-tools",{"type":52,"tag":66,"props":576,"children":578},{"id":577},"how-to-use",[579],{"type":57,"value":580},"How to Use",{"type":52,"tag":60,"props":582,"children":583},{},[584],{"type":57,"value":585},"Start with the single framework or topic guide that best matches the request, then read additional references only when the task crosses concerns. Use these reference files for detailed explanations and code examples:",{"type":52,"tag":587,"props":588,"children":592},"pre",{"className":589,"code":591,"language":57},[590],"language-text","references\u002Fgroq.md\nreferences\u002Fschema.md\nreferences\u002Fnextjs.md\n",[593],{"type":52,"tag":162,"props":594,"children":596},{"__ignoreMap":595},"",[597],{"type":57,"value":591},{"type":52,"tag":60,"props":599,"children":600},{},[601],{"type":57,"value":602},"Each reference file contains:",{"type":52,"tag":78,"props":604,"children":605},{},[606,611,616,621],{"type":52,"tag":82,"props":607,"children":608},{},[609],{"type":57,"value":610},"Comprehensive topic or integration coverage",{"type":52,"tag":82,"props":612,"children":613},{},[614],{"type":57,"value":615},"Incorrect and correct code examples",{"type":52,"tag":82,"props":617,"children":618},{},[619],{"type":57,"value":620},"Decision matrices and workflow guidance",{"type":52,"tag":82,"props":622,"children":623},{},[624],{"type":57,"value":625},"Framework-specific patterns where applicable",{"items":627,"total":728},[628,645,663,677,694,702,716],{"slug":629,"name":629,"fn":630,"description":631,"org":632,"tags":633,"stars":27,"repoUrl":28,"updatedAt":644},"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},[634,637,640,643],{"name":635,"slug":636,"type":16},"A\u002FB Testing","a-b-testing",{"name":638,"slug":639,"type":16},"Analytics","analytics",{"name":641,"slug":642,"type":16},"Marketing","marketing",{"name":9,"slug":8,"type":16},"2026-04-06T18:52:37.188766",{"slug":646,"name":646,"fn":647,"description":648,"org":649,"tags":650,"stars":27,"repoUrl":28,"updatedAt":662},"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},[651,654,655,658,661],{"name":652,"slug":653,"type":16},"Architecture","architecture",{"name":21,"slug":22,"type":16},{"name":656,"slug":657,"type":16},"Data Modeling","data-modeling",{"name":659,"slug":660,"type":16},"Design","design",{"name":9,"slug":8,"type":16},"2026-04-06T18:52:35.944096",{"slug":664,"name":664,"fn":665,"description":666,"org":667,"tags":668,"stars":27,"repoUrl":28,"updatedAt":676},"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},[669,670,673,675],{"name":21,"slug":22,"type":16},{"name":671,"slug":672,"type":16},"HTML","html",{"name":674,"slug":488,"type":16},"Portable Text",{"name":9,"slug":8,"type":16},"2026-04-13T05:19:08.919337",{"slug":678,"name":678,"fn":679,"description":680,"org":681,"tags":682,"stars":27,"repoUrl":28,"updatedAt":693},"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},[683,684,685,686,689,690],{"name":21,"slug":22,"type":16},{"name":671,"slug":672,"type":16},{"name":674,"slug":488,"type":16},{"name":687,"slug":688,"type":16},"React","react",{"name":9,"slug":8,"type":16},{"name":691,"slug":692,"type":16},"Vue","vue","2026-04-13T05:19:10.157534",{"slug":4,"name":4,"fn":5,"description":6,"org":695,"tags":696,"stars":27,"repoUrl":28,"updatedAt":29},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[697,698,699,700,701],{"name":21,"slug":22,"type":16},{"name":25,"slug":26,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":18,"slug":19,"type":16},{"slug":703,"name":703,"fn":704,"description":705,"org":706,"tags":707,"stars":27,"repoUrl":28,"updatedAt":715},"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},[708,709,712,714],{"name":21,"slug":22,"type":16},{"name":710,"slug":711,"type":16},"Content Strategy","content-strategy",{"name":713,"slug":554,"type":16},"Migration",{"name":9,"slug":8,"type":16},"2026-07-30T05:31:40.656418",{"slug":717,"name":717,"fn":718,"description":719,"org":720,"tags":721,"stars":27,"repoUrl":28,"updatedAt":727},"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},[722,723,724,725],{"name":710,"slug":711,"type":16},{"name":641,"slug":642,"type":16},{"name":9,"slug":8,"type":16},{"name":726,"slug":532,"type":16},"SEO","2026-04-06T18:52:34.660246",7,{"items":730,"total":728},[731,738,746,753,762,770,777],{"slug":629,"name":629,"fn":630,"description":631,"org":732,"tags":733,"stars":27,"repoUrl":28,"updatedAt":644},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[734,735,736,737],{"name":635,"slug":636,"type":16},{"name":638,"slug":639,"type":16},{"name":641,"slug":642,"type":16},{"name":9,"slug":8,"type":16},{"slug":646,"name":646,"fn":647,"description":648,"org":739,"tags":740,"stars":27,"repoUrl":28,"updatedAt":662},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[741,742,743,744,745],{"name":652,"slug":653,"type":16},{"name":21,"slug":22,"type":16},{"name":656,"slug":657,"type":16},{"name":659,"slug":660,"type":16},{"name":9,"slug":8,"type":16},{"slug":664,"name":664,"fn":665,"description":666,"org":747,"tags":748,"stars":27,"repoUrl":28,"updatedAt":676},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[749,750,751,752],{"name":21,"slug":22,"type":16},{"name":671,"slug":672,"type":16},{"name":674,"slug":488,"type":16},{"name":9,"slug":8,"type":16},{"slug":678,"name":678,"fn":679,"description":680,"org":754,"tags":755,"stars":27,"repoUrl":28,"updatedAt":693},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[756,757,758,759,760,761],{"name":21,"slug":22,"type":16},{"name":671,"slug":672,"type":16},{"name":674,"slug":488,"type":16},{"name":687,"slug":688,"type":16},{"name":9,"slug":8,"type":16},{"name":691,"slug":692,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":763,"tags":764,"stars":27,"repoUrl":28,"updatedAt":29},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[765,766,767,768,769],{"name":21,"slug":22,"type":16},{"name":25,"slug":26,"type":16},{"name":14,"slug":15,"type":16},{"name":9,"slug":8,"type":16},{"name":18,"slug":19,"type":16},{"slug":703,"name":703,"fn":704,"description":705,"org":771,"tags":772,"stars":27,"repoUrl":28,"updatedAt":715},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[773,774,775,776],{"name":21,"slug":22,"type":16},{"name":710,"slug":711,"type":16},{"name":713,"slug":554,"type":16},{"name":9,"slug":8,"type":16},{"slug":717,"name":717,"fn":718,"description":719,"org":778,"tags":779,"stars":27,"repoUrl":28,"updatedAt":727},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[780,781,782,783],{"name":710,"slug":711,"type":16},{"name":641,"slug":642,"type":16},{"name":9,"slug":8,"type":16},{"name":726,"slug":532,"type":16}]