seo-mastery
Comprehensive SEO optimization skill based on Google's official guidelines. Covers technical SEO, content SEO, structured data (JSON-LD), Core Web Vitals, E-E-A-T strategies, AI search (AI Overviews / AI Mode) and AI crawler control, practical code generation, and site audit workflows. Use when the user asks about SEO, search rankings, meta tags, robots.txt, sitemaps, canonical or hreflang tags, schema.org structured data, rich results, LCP/INP/CLS, Lighthouse or PageSpeed scores, AI Overviews / AIO, AI Mode, generative AI search, llms.txt, AI crawlers (GPTBot, ClaudeBot, Google-Extended), or requests a site audit.
kpab · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add kpab/seo-mastery-agent-skills --skill seo-mastery技能说明
name: seo-mastery description: "Comprehensive SEO skill (English) based on Google's official guidelines: technical SEO, content SEO, structured data (JSON-LD), Core Web Vitals, E-E-A-T, AI search (AI Overviews / AI Mode) and AI crawler control, Astro and Cloudflare edge SEO, code generation, and site audits. Use when the user asks about SEO, search rankings, meta tags, robots.txt, sitemaps, canonical or hreflang, schema.org, rich results, LCP/INP/CLS, Lighthouse or PageSpeed, AI Overviews / AIO, AI Mode, generative AI search, llms.txt, AI crawlers (GPTBot, ClaudeBot, Google-Extended), Astro SEO (islands, client:load and other client directives, @astrojs/sitemap, ClientRouter, content collections), Cloudflare Workers/Pages SEO (wrangler, _redirects, _headers, X-Robots-Tag, HTMLRewriter, D1/KV sitemaps, Pages Functions), edge or static-site SEO, or a site audit. Language: use this skill when the user writes in English; when the user writes in Japanese use seo-mastery-jp instead. Load only one of the two." version: 1.4.0 last_verified: 2026-08-29 author: kpab
SEO Mastery Agent Skills
Comprehensive SEO optimization skill based on Google's official documentation. Provides integrated support for technical SEO, content optimization, structured data, Core Web Vitals, and site audits.
How This Skill Is Organized
This file contains the checklists, targets, and workflow overview. Load the reference file for the area you are working on — full templates, code examples, and detailed procedures live there:
| File | Content | Use Case |
|---|---|---|
| technical-seo.md | robots.txt, sitemap, canonical, hreflang, JavaScript SEO, status codes, crawl budget | Technical SEO configuration |
| content-seo.md | Meta tags, heading structure, E-E-A-T content design, internal linking, URL design | Content optimization |
| structured-data.md | Full JSON-LD templates for all supported types, validation, common errors | Structured data implementation |
| core-web-vitals.md | Detailed LCP/INP/CLS causes and fixes, measurement, Next.js/Nuxt.js code | Performance improvement |
| audit-workflow.md | 6-phase audit procedure, diagnostic commands, report templates | Site audit execution |
| ai-search.md | AI Overviews / AI Mode guidance, the Search Console generative AI control, AI crawler robots.txt recipes, llms.txt, AI-citable content design, measurement | AI search optimization and crawler control |
| astro-seo.md | Client directives vs. INP/LCP, canonical & OG generation, JSON-LD from Content Collections, @astrojs/sitemap, view transitions | Building or auditing an Astro site |
| edge-seo.md | _redirects / _headers, X-Robots-Tag, D1/KV dynamic sitemaps, crawler verification, HTMLRewriter, crawl budget | Cloudflare Workers / Pages deployments |
Read along both axes, not one. The first five files are organised by topic; astro-seo.md and
edge-seo.md are organised by platform, and they deliberately repeat topics from a platform angle.
Several subjects live in more than one file — sitemaps appear in technical-seo.md (spec and limits),
astro-seo.md (@astrojs/sitemap) and edge-seo.md (generating them at the edge); hreflang appears
in technical-seo.md and astro-seo.md; crawl budget in technical-seo.md and edge-seo.md. If the
question names a platform, read the topic file and the platform file.
When to Use This Skill
Technical SEO
- Debugging crawl and indexing issues
- Configuring robots.txt / sitemap.xml
- Implementing canonical URLs / hreflang
- JavaScript SEO optimization
- Mobile-first optimization
- Server-side rendering (SSR) setup
Content SEO
- Meta tag optimization (title, description)
- Heading structure design (H1-H6)
- E-E-A-T (Experience, Expertise, Authoritativeness, Trustworthiness) strategies
- Search intent-aligned content design
- Internal linking strategy
Structured Data
- JSON-LD schema.org implementation
- Rich results support (Article, Product, Breadcrumb, Video, etc.)
- Note: FAQ rich results were fully discontinued on May 7, 2026 (after being limited to government/health sites since 2023), and HowTo rich results were discontinued in 2023. The markup remains valid schema.org (no penalty for keeping it) but no longer produces rich results — templates are provided for semantic markup purposes only.
- VideoObject, BroadcastEvent implementation
- BreadcrumbList configuration
- LocalBusiness / Organization setup
Core Web Vitals
- LCP (Largest Contentful Paint) optimization
- INP (Interaction to Next Paint) improvement
- CLS (Cumulative Layout Shift) fixes
- Performance monitoring and improvement
AI Search (AI Overviews / AI Mode)
- Understanding how AI Overviews / AI Mode select content (indexable + snippet-eligible + included via the Search Console generative AI control)
- Opting in or out with Settings → Search generative AI in Search Console (ranking-neutral)
- Controlling AI appearance with snippet controls (nosnippet, data-nosnippet, max-snippet, noindex)
- AI crawler control via robots.txt (Google-Extended, GPTBot, ClaudeBot, PerplexityBot, etc.)
- llms.txt guidance (Google does not use it)
- Designing content that AI search cites; measuring AI traffic
Astro / Edge (Cloudflare) Sites
- Choosing
client:*directives so islands do not damage INP and LCP - Generating canonical, OG tags and JSON-LD from Astro content collections
@astrojs/sitemapconfiguration, including multilingual sitemaps- Cloudflare
_redirects/_headersdesign and their Worker-code blind spots - Dynamic sitemaps from D1/KV, crawler verification, HTMLRewriter metadata fixes
Site Audit
- Comprehensive SEO audit workflow
- Automated checklist generation
- Issue prioritization
- Improvement report creation
Quick Start
Basic Usage
# Request meta tag optimiza
阅读完整来源 ↗