·sanity-best-practices
</>

sanity-best-practices

sanity-io/agent-toolkit

全面的 Sanity 開發最佳實踐,涵蓋 GROQ 性能、架構設計、可視化編輯、圖像、可移植文本、頁面構建器、Studio 配置、TypeGen、本地化和遷移。在構建、審查或優化 Sanity 應用程序時使用此技能。

568安裝·19熱度·@sanity-io

安裝

$npx skills add https://github.com/sanity-io/agent-toolkit --skill sanity-best-practices

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