Giverny

Portable Text Serialization

Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text.

by Sanity★ 203FrontendOfficial

What Portable Text Serialization does

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.

How to install Portable Text Serialization in Claude Code

Giverny gives you a ready prompt with the exact install command from sanity-io/agent-toolkit. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone sanity-io/agent-toolkit and copy the skills/portable-text-serialization folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Portable Text Serialization on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the portable-text-serialization skill on my current project.”

More Claude skills for frontend