bysanity-io· 7 skills
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.
$npx -y skills add sanity-io/agent-toolkit --skill portable-text-serializationInstalls into the current project.
Run `npx skills use "https://github.com/sanity-io/agent-toolkit" --skill "sanity-io/agent-toolkit/portable-text-serialization"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/sanity-io/agent-toolkit" that are relevant to the current task. Run `npx skills add "https://github.com/sanity-io/agent-toolkit"` and select the relevant skills, then follow their instructions.