Skills sanity-io agent-toolkit
seo-aeo-best-practices
- Use it when:
- You're adding page metadata, sitemaps, schema markup or hreflang, or want content picked up by Google and by assistants like ChatGPT and Perplexity.
- It does:
- Loads the one reference the task needs: technical SEO, JSON-LD structured data, EEAT, or readiness for AI answers.
- You get:
- Checklists and code patterns, with examples written for Sanity and Next.js.
- On AI answers:
- Lead with the answer, phrase headings as questions, use lists and FAQs, and choose which AI crawlers robots.txt lets in.
TL;DR
Sanity's guide to optimizing for classic search engines (SEO) and for AI answer engines (AEO), which pick one source to quote rather than ranking pages. The SKILL.md defines both and EEAT, Google's framework of experience, expertise, authoritativeness and trustworthiness, then sends the agent to one of four references. Technical SEO covers titles, meta descriptions, Open Graph, sitemaps, canonical URLs, redirects, performance, robots.txt and hreflang. Structured data gives JSON-LD patterns for articles, FAQs, organizations, products and breadcrumbs, combined in one @graph, with testing tools. EEAT covers showing who wrote a page, their credentials, dates and contact details, with a Sanity author schema. The AEO reference says to answer first and explain after, use question headings, lists, tables and FAQ pairs, keep content fresh and cited, and decide deliberately whether GPTBot, ClaudeBot, PerplexityBot and Google-Extended may crawl, since blocking them keeps content out of AI training but may cost citations. Code examples use Sanity schemas, GROQ and Next.js.
Summarizes the skill at 3ed3a14.
npx skills add https://github.com/sanity-io/agent-toolkit --skill seo-aeo-best-practices skills.sh pageSource on GitHubAll skills from sanity-io/agent-toolkit
Fewer weekly downloads than 75% of skills
Weekly values
| Week to | Installs |
|---|---|
| Sep 21 | 211 |
| Sep 28 | 170 |
| Oct 5 | 166 |
| Oct 12 | 187 |
| Oct 19 | 163 |
| Oct 26 | 160 |
| Nov 2 | 153 |
| Nov 9 | 137 |
Fewer downloads than 61% of skills
Fewer stars than 94% of repos
Older than 78% of skills
| Category |
SEO, copy, conversion, social media and e-commerce. |
|---|---|
| Type |
Knowledge and rules the agent applies while it works: best practices, design principles, API references. |
| Effect |
Adds no side effects of its own. It shapes how the agent thinks, writes or reviews. Guidelines and routers are always effect:none, even when the task they support edits code. |
| Needs |
Instructions only. Works in any agent that supports skills. |
| Publisher |
A verified publisher on skills.sh, or the company or maintainer behind the product the skill operates. |
| Topics |
SKILL.md
From sanity-io/agent-toolkit at 3ed3a14. Checked daily, last changed Nov 6, 2026.
Frontmatter
name: seo-aeo-best-practices
description: 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.SEO & AEO Best Practices
Principles for optimizing content for both traditional search engines (SEO) and AI-powered answer engines (AEO). Includes Google's EEAT guidelines and structured data implementation.
When to Apply
Reference these guidelines when:
- Implementing metadata and Open Graph tags
- Creating sitemaps and robots.txt
- Adding JSON-LD structured data
- Optimizing content for featured snippets
- Preparing content for AI assistants (ChatGPT, Perplexity, etc.)
- Evaluating content quality using EEAT principles
Core Concepts
SEO (Search Engine Optimization)
Optimizing content to rank well in traditional search results (Google, Bing).
AEO (Answer Engine Optimization)
Optimizing content to be selected as authoritative answers by AI systems.
EEAT (Experience, Expertise, Authoritativeness, Trustworthiness)
Google's framework for evaluating content quality.
References
Start with the one reference that matches the task, such as technical SEO, structured data, EEAT, or AI-answer readiness. See references/ for detailed guidance:
references/eeat-principles.md— EEAT implementation and author schemareferences/structured-data.md— JSON-LD patterns (Article, FAQ, Breadcrumb, Product)references/technical-seo.md— Technical SEO checklist (metadata, sitemaps, hreflang, robots.txt)references/aeo-considerations.md— AI/AEO considerations (AI Overviews, crawler management)