agent-toolkit 是做什么的?
帮助AI代理更好地使用Sanity进行构建的资源集合。
帮助AI代理更好地使用Sanity进行构建的资源集合。
sanity-io/agent-toolkit 是一个专为AI代理设计的资源工具包,旨在帮助代理更高效地与Sanity内容平台集成。该工具包支持多种AI代理平台(如Claude Code、Cursor、Codex等),通过提供预定义的技能、模板和示例代码,简化了代理在Sanity中执行内容创建、查询和操作等任务的流程。它利用Sanity的API和结构化内容模型,使代理能够以编程方式管理内容,从而提升开发效率和自动化水平。工具包的核心在于降低AI代理与Sanity交互的复杂性,让开发者可以快速集成并实现智能内容工作流。对于需要构建基于AI的内容管理或生成系统的开发者来说,这是一个实用且开箱即用的解决方案。
npx skills add sanity-io/agent-toolkit帮助AI代理更好地使用Sanity进行构建的资源集合。
This repo contains 4 individual skills — each has its own dedicated page.
Content experimentation and A/B testing guidance covering experiment design, hypotheses, metrics, sample size, statistical foundations, CMS-managed variants, and common analysis pitfalls. Use this skill when planning experiments, setting up variants, choosing success metrics, interpreting statistical results, or building experimentation workflows in a CMS or frontend stack.
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. Use this skill when designing or refactoring content types, deciding field shapes, debating reusable versus nested content, planning omnichannel content models, or reviewing whether a schema is too page-shaped or presentation-driven.
Sanity development best practices for schema design, GROQ queries, TypeGen, Visual Editing, images, Portable Text, Studio structure, localization, migrations, Sanity Functions, Blueprints, and framework integrations such as Next.js, Nuxt, Astro, Remix, SvelteKit, Angular, Hydrogen, and the App SDK. Use this skill whenever working with Sanity schemas, defineType or defineField, GROQ or defineQuery, content modeling, Presentation or preview setups, Sanity-powered frontend integrations, Sanity Functions, documentEventHandler, defineDocumentFunction, defineMediaLibraryAssetFunction, @sanity/functions, @sanity/blueprints, sanity.blueprint.ts, event-driven content automation, or when reviewing and fixing a Sanity codebase.
SEO and AEO best practices for metadata, Open Graph, sitemaps, robots.txt, hreflang, JSON-LD structured data, EEAT, and content optimized for search engines and AI answer surfaces. Use this skill when implementing page SEO, technical SEO, schema markup, international SEO, AI-overview readiness, or improving content for Google, ChatGPT, Perplexity, and similar assistants.
ElevenLabs text-to-speech with mac-style say UX.
Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine.
Capture and automate macOS UI with the Peekaboo CLI.
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".