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…
安装
npx skills add sanity-io/agent-toolkit --skill portable-text-serializationnpx skills add sanity-io/agent-toolkit --skill portable-text-serialization -a claude-code -gnpx skills add sanity-io/agent-toolkit --skill portable-text-serialization -a codex -ggemini skills install https://github.com/sanity-io/agent-toolkit.git --path skills/portable-text-serializationgh skill install sanity-io/agent-toolkit portable-text-serializationgit clone --depth 1 https://github.com/sanity-io/agent-toolkit /tmp/sanity-io__agent-toolkit
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/sanity-io__agent-toolkit/skills/portable-text-serialization ~/.claude/skills/portable-text-serialization # Claude Code
cp -R /tmp/sanity-io__agent-toolkit/skills/portable-text-serialization ~/.agents/skills/portable-text-serialization # Codex, Cursor, Gemini CLI, Copilot, OpenCode