惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
H
Hacker News: Front Page
Stack Overflow Blog
Stack Overflow Blog
B
Blog
I
InfoQ
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
F
Fortinet All Blogs
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
爱范儿
爱范儿
F
Full Disclosure
Hacker News - Newest:
Hacker News - Newest: "LLM"
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Jina AI
Jina AI
T
Tailwind CSS Blog
S
Secure Thoughts
P
Privacy International News Feed
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
L
LINUX DO - 最新话题
H
Hackread – Cybersecurity News, Data Breaches, AI and More
C
Cybersecurity and Infrastructure Security Agency CISA
Last Week in AI
Last Week in AI
W
WeLiveSecurity
Google Online Security Blog
Google Online Security Blog
P
Privacy & Cybersecurity Law Blog
D
DataBreaches.Net
Engineering at Meta
Engineering at Meta
Know Your Adversary
Know Your Adversary
P
Palo Alto Networks Blog
I
Intezer
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Project Zero
Project Zero
V2EX - 技术
V2EX - 技术
H
Heimdal Security Blog
博客园 - Franky
阮一峰的网络日志
阮一峰的网络日志
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Troy Hunt's Blog
V
Vulnerabilities – Threatpost
H
Help Net Security
Martin Fowler
Martin Fowler
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
博客园 - 【当耐特】

Sanity.io

A Board Game agent built using Sanity Context and Vercel's AI SDK | Sanity Build a prototype with Claude Code that your whole team can edit | Sanity What’s New - May 2026 | Sanity I built a London pub guide with v0 and the Sanity MCP in six hours. Here's what I learned. | Sanity Build a conference concierge with Agent Context and Anthropic | Sanity Build a content-aware Telegram agent with Vercel AI SDK and Chat SDK | Sanity How I used Agent API to generate photos for my family’s recipes | Sanity What’s New April - 2026 | Sanity Better context, better matches: An AI love story (for dogs) | Sanity How to write for an agent | Sanity Content Agent, meet Slack: AI content operations in your workflow | Sanity Structure powers intelligence | Sanity Your agent needs better content. Here's how to give it. | Sanity How to serve content to agents (a field guide) | Sanity Sanity TypeGen GA: Automatic TypeScript types for content and GROQ | Sanity Sanity is now available on the Vercel Marketplace | Sanity The logo soup problem (and how to solve it) | Sanity Content Releases: From scattered updates to coordinated publishing | Sanity What's New - February 2026 | Sanity How we solved the agent memory problem | Sanity v0 Builder Challenge: The winners | Sanity Content Agent: Days of work in one conversation | Sanity Our Sanity Values | Sanity Open Source Pledge 2025: Stepping up when it matters | Sanity v0 builder challenge: $3000 in prizes | Sanity Why AI Breaks Without Structured Content Operations | Sanity What’s New January - 2026 | Sanity BFCM 2025: What teams built when infrastructure stopped being the problem | Sanity How AI shaped holiday shopping and what it means for content in 2026 | Sanity Sanity Studio v5: Embracing React 19 | Sanity You’ll need a CMS eventually. Let your agent set it up. | Sanity “You should never build a CMS” | Sanity AI Content Operations: A 30-Day Implementation Guide | Sanity What’s New December - 2025 | Sanity Scheduled Drafts: Stop manually publishing content at midnight | Sanity What’s New November - 2025 | Sanity Everything *[NYC] 2025 recap: A day of AI, Content Operations, and Culture | Sanity Clankers and content operations | Sanity Content Agent: AI that understands your structured content is here | Sanity Why design-driven content modeling creates technical debt, not velocity | Sanity What's New October - 2025 | Sanity From studio to inbox: How Kevin Green eliminated email campaign friction | Sanity The content editor's guide to content operations [E-commerce edition] | Sanity styled-components maintenance mode: A 40% faster fork | Sanity From zero code to a live website in 7 hours (thanks, Cursor!) | Sanity First attempt will be 95% garbage: A staff engineer's 6-week journey with Claude Code | Sanity Internationalization is more than translating words | Sanity What's New - September 2025 | Sanity We just deleted our 35k-member community Slack | Sanity What's New - August 2025 | Sanity The engineer's guide to content operations [E-commerce edition] | Sanity SEO for AI: Evolving from Web Pages to the Content Lake | Sanity What's New - July 2025 | Sanity Sanity Studio v4: A major version bump for a minor reason | Sanity What's New - June 2025 | Sanity Dashboard and Insights: Your New Content HQ | Sanity Canvas: AI-accelerated, context-aware, freeform authoring | Sanity Agent Actions: AI building blocks for structured content | Sanity Functions: Life beyond pressing publish | Sanity A new era for content applications with Sanity App SDK | Sanity The end of CMS era and our $85M Series C. | Sanity What's New – May 2025 | Sanity Introducing the Sanity Model Context Protocol (MCP) server | Sanity What's New – April 2025 | Sanity Pushing all the envelopes with ambitious content | Sanity Self-hosting is only free if your time is worth nothing | Sanity Content that lasts: Scaling beyond your frontend | Sanity The Live Content API is now Generally Available | Sanity The future beyond AI chat bots | Sanity Learning the new skill of working with AI | Sanity What's New - March 2025 | Sanity Give it in plain text: Making your content AI-Ready | Sanity No More 'DO NOT PUBLISH': Introducing Content Releases | Sanity React in 2025, what's next? | Sanity The final boss of front-end: block editors | Sanity Introducing Sanity for Startups | Sanity A block content editor that loves you back | Sanity A Black Friday Snooze Fest: Massive Traffic, No Drama | Sanity How to make a recipe site that scales well | Sanity The Sanity Winter Release 2024 | Sanity AVIF Arrives, Sanity’s Promise Fulfilled | Sanity Sanity joins the Open Source Pledge | Sanity Your content is now Live by default | Sanity Begin Team to Join Sanity | Sanity Sanity Digest - September '24 Edition | Sanity Sanity partners with Google. Now live on the Google Cloud Marketplace. | Sanity Sanity Digest - August ‘24 Edition | Sanity Now playing: the latest Mux Video Input plugin for Sanity | Sanity Community Digest - June ‘24 Edition | Sanity Community Digest - May ‘24 Edition | Sanity Guide to Sanity's newest product announcements | Sanity AI and Content Creation: A Leader's Guide | Sanity Of course, you should be able to type your content quickly! | Sanity New to AI Assist: translation, reference suggestions, image generation | Sanity Speak the language of your editors: Sanity Studio UI localization | Sanity Introducing the new Sanity Growth plan to serve collaborative teams | Sanity Presentation: Work faster than ever with structured content | Sanity Goodbye Feedback Frenzy, Hello Sanity Studio Comments! | Sanity Easing into the App Router with the Sanity Toolkit for Next.js | Sanity Making website updates easier with structured content | Sanity
Introducing: Sanity Agent Skills | Sanity
Jon Eide Johnsen · 2026-01-27 · via Sanity.io

Sanity is a flexible platform with a lot of depth. AI agents are great at writing Sanity code that works, but that flexibility means there are often multiple ways to do things — and agents don't always pick the optimal approach. A GROQ query might work but fetch more data than you need. A studio might miss Visual Editing configuration. Portable Text might render without proper custom components.

Today we're releasing Agent Skills for Sanity – a collection of best practices that teach your AI agent how to build with Sanity correctly.

What's inside

We've packaged the collective experience from Sanity's engineering, support, and customer solutions teams into four skill packages:

SkillWhat it covers
sanity-best-practicesGROQ performance, schema patterns, Visual Editing, Portable Text, images, page builders, Studio customization, TypeGen, localization, migrations
content-modeling-best-practicesStructured content principles, separation of concerns, future-proofing, naming conventions
seo-aeo-best-practicesEEAT signals, Core Web Vitals, structured data, AI answer optimization
content-experimentation-best-practicesA/B testing patterns, personalization, feature flags with content

The Sanity skill alone contains 25+ rules across 10 categories. Each rule follows a consistent format: explain the problem, show the wrong way, show the right way.

For example, the skill can help your coding agent to:

  • Optimize slow GROQ queries: Rules like "Avoid Joins in Filters" teach agents to use _ref comparisons instead of -> in filter expressions – a common mistake that doesn't surface until your dataset grows
  • Set up Visual Editing correctly: Agents learn to configure studioUrl, strip out stega strings from OpenGraph image content, and wire up the Presentation tool
  • Build page builders that scale: When to use inline objects vs. references, how to structure preview configurations, proper array key handling
  • Handle Portable Text properly: Custom component patterns, link rendering, and avoiding common serialization mistakes
  • Write safe migrations: Using defineMigration from sanity/migrate instead of raw client patches, with idempotent filter patterns

How agents use these rules

This repo follows the Agent Skills format – an open standard for packaging knowledge for AI agents. The format works with Claude Code, Cursor, GitHub Copilot, VS Code, Codex, OpenCode, and several other AI development tools.

Agent Skills are folders of instructions and examples that agents discover and reference on demand. Think of them as documentation written for machines. Instead of hoping an agent learned the right patterns from training data, you give it explicit rules to follow.

When you install the skill, your agent gets all the rules. It references them when writing GROQ queries, creating schemas, or setting up Visual Editing. The agent treats the rules as the source of truth rather than improvising.

Why we built this

Our support team answers the same questions weekly. Our solutions engineers see the same schema mistakes across projects. Our docs contain this knowledge, but agents don't always find the right page at the right time.

Common issues we see:

  • GROQ queries that work but don't scale
  • Schemas missing hotspot on images (cropping breaks)
  • Page builders using references when objects would be simpler
  • Visual Editing setups missing studioUrl or proper stega cleaning
  • Array items without stable _key values
  • Field deletions that orphan production data

We packaged what we know into a format agents can use directly. Now when you ask your agent to "add a page builder to my schema," it knows to use inline objects for content blocks, add preview configuration, and set up proper array validation.

Beyond Sanity-specific patterns

Content modeling, SEO, and experimentation aren't Sanity-specific – but they're areas where agents often miss the mark. We included best practices for:

  • Content modeling: Why your blueHighlightBox field name will haunt you when design changes. How to separate content from presentation. When to use references vs. embedding.
  • SEO and AEO: What actually moves Core Web Vitals (LCP, INP, CLS). How to structure content for AI answer engines. EEAT signals that matter.
  • Content experimentation: Running A/B tests on content without code deploys. Personalization patterns that don't create maintenance nightmares.

These skills have Sanity-specific implementation notes where relevant, but the principles apply broadly.

How this fits with the Sanity MCP server

If you're using the Sanity MCP server, your agent can already create and deploy schemas, as well as querying, creating and updating content. The MCP server also exposes a set of agent rules through the list_sanity_rules and get_sanity_rules tools.

Agent skills work slightly differently. They're portable packages that live in your codebase and work across any tool that supports the Agent Skills standard. The agent sees available skills and loads them when relevant to the task – no server connection needed.

Use MCP when you need your agent to interact with your Sanity projects. Use skills when you want best practices that travel with your repo.

Get started

The repo is live at github.com/sanity-io/agent-toolkit.

Install with Vercel's skills CLI:

Using Claude Code? Install as a plugin:

Try it on your next Sanity project. Let us know what rules are missing or what you'd like to see – drop feedback in our Discord community.

The Sanity agent skills are available now for all projects. Combined with the Sanity MCP server, your AI agent has everything it needs to build with Sanity correctly.