portable-text-serialization
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.
Install as a plugin
Install the sanity plugin
Copy: Install the sanity plugin/plugin install sanity@claude-plugins-officialThe official marketplace is already added in Claude Code. The command opens the plugin's page in /plugin, where you pick a scope and confirm.
From your shell instead
Copy: Add the marketplaceclaude plugin marketplace add anthropics/claude-plugins-officialOnly on a machine that never ran an interactive Claude Code session: the first session adds the official marketplace by itself.
Copy: Install itclaude plugin install sanity@claude-plugins-official
Then ask Claude for what it does: it loads the skill when your request matches the description. Or call it directly with /sanity:portable-text-serialization.
See which of your apps makes money
- Revenue from Stripe, Paddle and others next to visits, per app
- Search Console and the analytics you already use, on one screen
- Which channel your paying customers came from

From its SKILL.md
Render Portable Text content across frameworks using the @portabletext/* library family. Each library follows the same component-mapping pattern: you provide a components object that maps PT node types to framework-specific renderers. PT is an array of blocks. Each block has…