sanity-io/agent-toolkit/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.
Agent skill · version 0.0.0-main.1795730492.g627296c · from sanity-io/agent-toolkit
Install
npx yarkr-cli add skill:sanity-io/agent-toolkit/portable-text-serializationWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:sanity-io/agent-toolkit/portable-text-serialization
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:sanity-io/agent-toolkit/portable-text-serializationOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:sanity-io/agent-toolkit/portable-text-serializationWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.