
Portable Text Serialization
作者 sanity-io88d6cdfa7cb0MIT188 个星标收录于 2026年10月8日更新于 2026年10月8日仓库3天前更新
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.
仅公开文件列表。将技能安装到工作区后即可查看文件内容。
| 路径 | 大小 | 类型 |
|---|---|---|
| rules/astro.md | 2.3 KB | text/markdown |
| rules/html.md | 3.1 KB | text/markdown |
| rules/markdown.md | 3.8 KB | text/markdown |
| rules/plain-text.md | 1.7 KB | text/markdown |
| rules/react.md | 3.5 KB | text/markdown |
| rules/svelte.md | 2.7 KB | text/markdown |
| rules/vue.md | 3 KB | text/markdown |
| SKILL.md | 4.3 KB | text/markdown |
来源与署名
来源:sanity-io/agent-toolkit位于skills/portable-text-serialization提交88d6cdf
许可证: MIT
内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。
更多来自 sanity-io/agent-toolkit 的技能

Seo Aeo Best Practices
sanity-io
SEO 与 AEO 参考指南:元数据、结构化数据、EEAT 以及面向 AI 答案的优化。

Sanity Studio Upgrade
sanity-io
通过检查代码仓库,规划 Sanity Studio v3 及更高版本的升级,只报告实际适用的破坏性变更。

Sanity Migration
sanity-io
规划、实施并审查从其他 CMS 和内容系统迁移到 Sanity 的工作。

Portable Text Conversion
sanity-io
将 HTML 和 Markdown 内容转换为 Sanity 的 Portable Text 区块。

Content Modeling Best Practices
sanity-io
为无头 CMS 的结构化内容建模提供指导,涵盖模式设计、内容复用、引用与分类法。

Content Experimentation Best Practices
sanity-io
为内容实验与 A/B 测试的规划与结果解读提供指导,以提升转化率和参与度。
更多Software Development技能

Playground
anthropics
构建自包含的交互式 HTML 演练场,包含控件、实时预览和可复制的提示词输出。

M5 Onboard
anthropics
通过 USB 检测 M5Stack ESP32 开发板,刷写 UIFlow 2.0 固件并安装 MicroPython 应用包。

Cardputer Buddy
anthropics
指导迭代 Cardputer-Adv 的 MicroPython 应用包:添加应用、通过 USB 串口推送文件、查看日志并运行 REPL 命令。

Web Design Guidelines
vercel-labs
依据从远程来源获取的 Web Interface Guidelines 审查 UI 代码,并以 file:line 形式报告问题。

Vercel React Native Skills
vercel-labs
React Native 与 Expo 最佳实践规则,涵盖列表性能、动画、导航、UI 模式、状态与 monorepo 配置。

Vercel React Best Practices
vercel-labs
Vercel 的 React 与 Next.js 性能指南,以 70 条规则的形式用于编写、审查和重构代码。