Skill Press

No. 802 · seo-aeo-best-practices

SEO & AEO Best Practices

A field guide from Sanity

Sanity

When to use it

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.

Rank
No. 802 of 971
Installs
Not listed yet
Runs in
Claude, Codex, Cursor
Length
185 words · 1 min
Files
6
License
MIT

Get this skill

Download the skill folder (.zip, 10 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "seo-aeo-best-practices" Agent Skill by Sanity, from https://github.com/sanity-io/agent-toolkit.

1. Fetch the whole folder skills/seo-aeo-best-practices — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/sanity-io/agent-toolkit.git 1d9223c08237739ac862e6ec1c86540e58706222
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "seo-aeo-best-practices":
   - Claude Code: ~/.claude/skills/seo-aeo-best-practices/ (all projects) or .claude/skills/seo-aeo-best-practices/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that seo-aeo-best-practices/SKILL.md exists and its frontmatter says name: seo-aeo-best-practices.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/sanity-io/agent-toolkit/tree/1d9223c08237739ac862e6ec1c86540e58706222/skills/seo-aeo-best-practices --skill seo-aeo-best-practices

Claude.ai

Upload the .zip as a custom skill.

  1. In Settings → Capabilities, turn on “Code execution and file creation”.
  2. Download the .zip above.
  3. Go to Customize → Skills, click + → Create skill → Upload a skill, and choose it.
Anthropic’s guide to using skills ↗

Contents

  1. When to Apply
  2. Core Concepts
  3. References

The skill, in full

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 schema
  • references/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)

More in SEO & Search Visibility

All SEO & Search Visibility skills →

More from Sanity

From sanity-io/agent-toolkit at 1d9223c, MIT. Install counts from skills.sh.