sanity-best-practices
✓全面的 Sanity 开发最佳实践,涵盖 GROQ 性能、架构设计、可视化编辑、图像、可移植文本、页面构建器、Studio 配置、TypeGen、本地化和迁移。在构建、审查或优化 Sanity 应用程序时使用此技能。
SKILL.md
Comprehensive best practices guide for Sanity development, maintained by Sanity. Contains rules across 10 categories, prioritized by impact to guide schema design, query optimization, and frontend integration.
| 1 | GROQ Performance | CRITICAL | groq- | | 2 | Schema Design | HIGH | schema- | | 3 | Visual Editing | HIGH | visual- | | 4 | Images | HIGH | image- | | 5 | Portable Text | HIGH | pte- | | 6 | Page Builder | MEDIUM | pagebuilder- | | 7 | Studio Configuration | MEDIUM | studio- | | 8 | TypeGen | MEDIUM | typegen- | | 9 | Localization | MEDIUM | i18n- |
Read individual rule files for detailed explanations and code examples:
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/sanity-io/agent-toolkit --skill sanity-best-practices- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 sanity-best-practices?
全面的 Sanity 开发最佳实践,涵盖 GROQ 性能、架构设计、可视化编辑、图像、可移植文本、页面构建器、Studio 配置、TypeGen、本地化和迁移。在构建、审查或优化 Sanity 应用程序时使用此技能。 来源:sanity-io/agent-toolkit。
如何安装 sanity-best-practices?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/sanity-io/agent-toolkit --skill sanity-best-practices 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/sanity-io/agent-toolkit
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01