‹ 返回总目录
工具 最近更新08-03

sanity-best-practices

| 2026-08-01 收录

☆ 收藏
🛒 📚 AI提效实战指南 · 图解Skill🛒 📱 大流量手机卡 · 低月租📣 加入推广 · 佣金80-300/张 ›

🛍️ 更多精选好物 ›

📊 公开数据一览

📦 榜单安装量16.6K
⭐ GitHub Stars171(fork 25)
🗓️ 最近推送2026-08-03
🌱 项目创建2025-03-11
💻 语言 / LicenseJavaScript · MIT
🐛 开放Issue7

📝 工具简介

帮助AI代理更好地使用Sanity构建项目的资源合集。

📖 怎么用

先配 MCP 服务器,跑 `npx sanity@latest mcp configure` 自动配置,或手动在 JSON 里加 `"Sanity": { "type": "http", "url": "https://mcp.sanity.io" }`。Claude Code 用户用 `claude mcp add Sanity -t http https://mcp.sanity.io --scope user`,Codex 用 `codex mcp add Sanity --url https://mcp.sanity.io`。配完就能直接访问你的 Sanity 项目,包括内容、数据集和 schema。技能自带 21 个集成指南和 26 条最佳实践规则,覆盖开发、内容建模和 SEO。

📋 迷你测评

教AI代理用Sanity建项目的资源合集。亮点是“最佳实践”导向,能帮代理少走弯路。适合内容建模或CMS相关开发任务。

📄 README 要点

这是给AI编程助手用的Sanity资源包,支持Cursor、Claude Code、Codex等主流工具。核心是MCP服务器加Agent技能,能直接访问你的Sanity项目内容、数据集和schema,还内置了21个集成指南和26条最佳实践规则,覆盖内容建模、SEO这些方面。Claude Code和Cursor都有现成插件,装完就能用斜杠命令操作。适合用AI辅助开发Sanity项目的团队,能少踩很多坑。

查看英文原文
Sanity Agent Toolkit Collection of resources to help AI agents build better with Sanity. Supports Cursor, Claude Code, Codex, VS Code, Lovable, v0, Replit, OpenCode, and any other editor/agent compatible with MCP or Agent Skills. Features MCP server: Direct access to your Sanity projects (content, datasets, releases, schemas) and agent rules. Agent skills: Comprehensive best practices skills for Sanity development, content modeling, SEO/AEO, and experimentation. Includes 21 integration/topic guides and 26 focused best practice rules. Claude Code plugin: MCP server, agent skills, and slash commands for Claude Code users. Available on the official Anthropic plugin marketplace. Cursor plugin: MCP server, agent skills, and commands on the Cursor Marketplace. Codex plugin: MCP server and agent skills for OpenAI Codex users. Get started Choose your path based on how you want agents to work with Sanity: 1. MCP server — Give your agent always up to date rules and full access to your Sanity projects. No local files to maintain. Works with Cursor, VS Code, Claude Code, Lovable, v0, Replit, OpenCode, and other MCP compatible clients. 2. Agent skills — Install best practices skills for Sanity, content modeling, SEO/AEO, and experimentation. Works with Cursor, Claude Code, and any Agent Skills compatible agent. 3. Plugin — Install the Sanity plugin for Cursor or Claude Code. Bundles MCP server, agent skills, and commands. 4. Manual installation — Copy the skill references locally for offline use. You'll need to update them yourself. Option 1: Install MCP server (recommended) Give agents direct access to Sanity projects and always up to date agent rules via the MCP server. Quick install via Sanity CLI Run in terminal to detect and configure MCP for Cursor, Claude Code and VS Code automatically: [安装/使用命令见下方] Uses your logged in CLI user for authentication — no manual tokens or OAuth needed. Client specific instructions Cursor One click install: Or manually: Open Command Palette (

💬 评论(0)

交流使用体验、避坑建议;违规内容将被删除

💬 意见反馈 / 联系客服

数据来源:skills.sh 榜单 + GitHub 公开数据,非人工实测,仅供参考