Skip to content
anyai.fyi

portable-text-conversion

Skill from sanity-io/agent-toolkit

Writing & Marketing No risky patterns found curated contenthtml

Install

npx skills add sanity-io/agent-toolkit --skill portable-text-conversion

Runs the open skills CLI and installs the skill for your agent (Claude Code, Codex, Cursor …). Alternatively copy the skill folder into .claude/skills/ or upload it in Claude.ai under Settings → Skills.

As a Claude Code plugin

/plugin marketplace add anthropics/claude-plugins-official /plugin install sanity@sanity-agent-toolkit

This skill is part of the plugin “sanity”. In Claude Code the plugin installs it together with the plugin’s other skills, commands and hooks.

What does the portable-text-conversion skill do?

Convert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity, building content pipelines that ingest external content, converting rich text between formats, or programmatically creating Portable Text documents. Covers @portabletext/markdown (markdownToPortableText), @portabletext/block-tools (htmlToBlocks), custom deserializers, and the Portable Text specification for manual block construction.

Description from the SKILL.md in the source repository.

Questions about portable-text-conversion

What does the portable-text-conversion skill do?

Convert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity, building content pipelines that ingest external content, converting rich text between formats, or programmatically creating Portable Text documents. Covers @portabletext/markdown (markdownToPortableText), @portabletext/block-tools (htmlToBlocks), custom deserializers, and the Portable Text specification for manual block construction.

How do I install portable-text-conversion?

In a terminal: npx skills add sanity-io/agent-toolkit --skill portable-text-conversion. The skills CLI asks which agents to install it for. In Claude.ai you can upload the skill folder as a ZIP under Settings → Skills.

Which agents can use portable-text-conversion?

Skills use the open SKILL.md format, which Claude Code, Claude.ai, the Claude API, OpenAI Codex, Cursor, Gemini CLI and other agents support.

Is portable-text-conversion safe to use?

Our automatic check found no risky patterns (piped shell scripts, hidden characters, secret access, prompt overrides). It is not a full audit – read the SKILL.md and any scripts before installing.

More skills from sanity-io/agent-toolkit

content-experimentation-best-practices
sanity-io/agent-toolkit

Content experimentation and A/B testing guidance covering experiment design, hypotheses, metrics, sample size, statistical foundations, CMS-managed variants, and common analysis pitfalls.

Writing & Marketing curated
No risky patterns found
content-modeling-best-practices
sanity-io/agent-toolkit

Structured content modeling guidance for schema design, content architecture, content reuse, references versus embedded objects, separation of concerns, and taxonomies across Sanity and other headless CMSes.

Writing & Marketing curated
No risky patterns found
portable-text-serialization
sanity-io/agent-toolkit

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 …

Frontend & UI curated
No risky patterns found
sanity-best-practices
sanity-io/agent-toolkit

Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, webhooks, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix …

Frontend & UI curated
No risky patterns found
sanity-form-component-suspense
sanity-io/agent-toolkit

Fix a Sanity Studio custom form component (components.input, components.field, components.item, or a plugin's form.components) that suspends without its own Suspense boundary, so it loads without layout shift and never blocks new documents. …

Frontend & UI curated
No risky patterns found
sanity-migration
sanity-io/agent-toolkit

Plans, implements, and reviews migrations from other CMSes and content systems into Sanity. Use when migrating or replatforming to Sanity from AEM, Adobe Experience Manager, Contentful, Strapi, Webflow, WordPress, Payload, Drupal, Markdown/MDX/frontmatter …

Frontend & UI curated
No risky patterns found
sanity-singletons
sanity-io/agent-toolkit

Configure singleton documents in a Sanity Studio using the document.singletons registry. Use when a developer wants a fixed-id document (settings, navigation, footer) edited in place, hidden from the default content list, with …

Documents & Office curated
No risky patterns found
sanity-studio-upgrade
sanity-io/agent-toolkit

Produces a tailored Sanity Studio upgrade plan by inspecting the repository's installed versions, config, and source, then reporting only the breaking changes that actually apply.

Writing & Marketing curated
No risky patterns found

Related skills in Writing & Marketing

reddit-automation
flowkit-labs/skills

Find Reddit threads where people are genuinely asking for what you offer, then draft short, genuinely helpful replies — disclosing your affiliation honestly and naming your product only when it truly answers …

Writing & Marketing 1327k installs
No risky patterns found
triage
mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

Writing & Marketing 1063k installs curated
No risky patterns found
twitter-automation
101-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow.

Writing & Marketing 1008k installs
No risky patterns found
domain-modeling
mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

Writing & Marketing 965k installs curated
No risky patterns found
twitter-automation
magentosh/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow.

Writing & Marketing 900k installs
No risky patterns found
twitter-automation
skills-shell/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow.

Writing & Marketing 799k installs
No risky patterns found
twitter-automation
qu-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow.

Writing & Marketing 697k installs
No risky patterns found
twitter-automation
bankai-skills/superpowers

Automate Twitter/X with posting, engagement, and user management via inference.sh CLI. Apps: x/post-tweet, x/post-create (with media), x/post-like, x/post-retweet, x/dm-send, x/user-follow.

Writing & Marketing 551k installs
No risky patterns found