PluginBench
Skill
Review
Audit score 70

seo

addyosmani/web-quality-skills

Optimize search engine visibility through technical SEO, on-page improvements, and structured data audits.

What is seo?

This skill audits and fixes search engine optimization across crawlability, indexing, metadata, and structured data. Use it when asked to improve SEO, optimize meta tags, fix sitemaps, add schema markup, or resolve Lighthouse SEO failures.

  • Run Lighthouse SEO audits and inspect technical signals (robots.txt, redirects, canonical tags, response headers)
  • Verify crawlability, indexation controls, and XML sitemap configuration
  • Optimize title tags, meta descriptions, heading hierarchy, and internal linking
  • Validate structured data (JSON-LD) syntax and eligibility for rich results
  • Audit Core Web Vitals and image optimization (alt text, filenames, lazy loading)
  • Separate technical SEO findings from content quality and ranking authority

How to install seo

npx skills add https://github.com/addyosmani/web-quality-skills --skill seo
Claude Code
Cursor
Windsurf
Cline

How to use seo

  1. 1.Run a Lighthouse SEO audit on the target page (using Chrome DevTools MCP or CLI) to identify failures
  2. 2.Inspect technical signals: robots.txt, canonical tags, meta robots, response headers, and sitemap coverage
  3. 3.Review and fix on-page elements: title tags (50–60 chars), meta descriptions (150–160 chars), heading hierarchy, alt text, and internal links
  4. 4.Add or validate JSON-LD structured data using the structured-data reference for your content type
  5. 5.Re-run Lighthouse and manual checks to confirm fixes; note that search-engine validation remains pending

Use cases

Good for
  • Fix duplicate content issues by adding canonical URLs and robots meta tags
  • Improve on-page metadata (titles, descriptions) to match Lighthouse SEO audit failures
  • Create or validate XML sitemaps and robots.txt for proper crawl coverage
  • Add JSON-LD schema markup (Organization, Article, Product, FAQ, Breadcrumb)
  • Optimize URL structure, HTTPS configuration, and security headers for search trust
Who it's for
  • Web developers and site owners optimizing for search visibility
  • Content teams improving page metadata and heading structure
  • Technical SEO specialists auditing crawlability and indexation
  • E-commerce teams adding product schema and structured data

seo FAQ

Does this skill predict rankings or guarantee ranking improvements?

No. This skill verifies technical SEO configuration and on-page signals that search engines use, but does not assign ranking weights or promise ranking changes. Validation by search engines remains pending after fixes.

What's the difference between a title tag and a title link?

The title tag is the HTML `<title>` element. The title link is what Google displays in search results, which may be rewritten from headings, anchor text, or other page signals even if the title tag is short. Investigate accuracy and consistency rather than shortening titles automatically.

Should I use rel='prev' and rel='next' or canonical for paginated content?

For paginated series (e.g., product listings), use a canonical pointing to the main collection URL, or use rel='prev'/rel='next' for explicit pagination. Avoid mixing both strategies on the same page.

What's the maximum size for an XML sitemap?

50,000 URLs or 50MB per sitemap file. For larger sites, use a sitemap index file to organize multiple sitemaps.

Can I use HTTP URLs in my sitemap if my site is HTTPS?

No. Always use HTTPS URLs in sitemaps and throughout your site. Ensure all resources (images, scripts, stylesheets) also load over HTTPS to avoid mixed-content warnings.

Full instructions (SKILL.md)

Source of truth, from addyosmani/web-quality-skills.


name: seo description: Optimize for search engine visibility and ranking. Use when asked to "improve SEO", "optimize for search", "fix meta tags", "add structured data", "sitemap optimization", or "search engine optimization". license: MIT metadata: author: web-quality-skills version: "2.0"

SEO optimization

Search engine optimization based on Lighthouse SEO audits and Google Search guidelines. Focus on technical SEO, on-page optimization, and structured data.

Evidence-led audit workflow

When a rendered page is available:

  1. Run live Lighthouse SEO and Agentic Browsing checks when that capability is available; with Chrome DevTools MCP, use lighthouse_audit. Use the results to localize rendered-page failures.
  2. Inspect signals Lighthouse cannot establish on its own: response headers, redirects, robots.txt, sitemap coverage, canonical consistency across page templates, structured-data eligibility, and Search Console evidence when the user provides access.
  3. Separate technical crawl/index findings from content quality and authority. Do not invent ranking-factor weights or promise ranking changes.
  4. Fix the source and re-run the same checks. For indexation or ranking outcomes, report that search-engine validation remains pending.

If live tools are unavailable, use category-specific Lighthouse CLI output plus direct source and HTTP inspection. A Lighthouse SEO score covers a useful subset of technical checks; it is not a prediction of rankings.

AreaWhat this skill can verify
Crawl and index controlsTechnical configuration and consistency
Rendered metadata and semanticsPresence, validity, and page-template issues
Structured dataSyntax and eligibility signals, not guaranteed rich results
Core Web VitalsLink to measured field/lab evidence from the Core Web Vitals skill
Content usefulness and authorityReview quality, but do not assign synthetic ranking percentages

Technical SEO

Crawlability

robots.txt:

# /robots.txt
User-agent: *
Allow: /

# Block admin/private areas
Disallow: /admin/
Disallow: /api/
Disallow: /private/

# Don't block resources needed for rendering
# ❌ Disallow: /static/

Sitemap: https://example.com/sitemap.xml

Meta robots:

<!-- Default: indexable, followable -->
<meta name="robots" content="index, follow">

<!-- Noindex specific pages -->
<meta name="robots" content="noindex, nofollow">

<!-- Indexable but don't follow links -->
<meta name="robots" content="index, nofollow">

<!-- Control snippets -->
<meta name="robots" content="max-snippet:150, max-image-preview:large">

Canonical URLs:

<!-- Prevent duplicate content issues -->
<link rel="canonical" href="https://example.com/page">

<!-- Self-referencing canonical (recommended) -->
<link rel="canonical" href="https://example.com/current-page">

<!-- For paginated content -->
<link rel="canonical" href="https://example.com/products">
<!-- Or use rel="prev" / rel="next" for explicit pagination -->

XML sitemap

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2024-01-15</lastmod>
    <changefreq>daily</changefreq>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://example.com/products</loc>
    <lastmod>2024-01-14</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.8</priority>
  </url>
</urlset>

Sitemap best practices:

  • Maximum 50,000 URLs or 50MB per sitemap
  • Use sitemap index for larger sites
  • Include only canonical, indexable URLs
  • Update lastmod when content changes
  • Submit to Google Search Console

URL structure

✅ Good URLs:
https://example.com/products/blue-widget
https://example.com/blog/how-to-use-widgets

❌ Poor URLs:
https://example.com/p?id=12345
https://example.com/products/item/category/subcategory/blue-widget-2024-sale-discount

URL guidelines:

  • Use hyphens, not underscores
  • Lowercase only
  • Keep short (< 75 characters)
  • Include target keywords naturally
  • Avoid parameters when possible
  • Use HTTPS always

HTTPS & security

<!-- Ensure all resources use HTTPS -->
<img src="https://example.com/image.jpg">

<!-- Not: -->
<img src="http://example.com/image.jpg">

Security headers for SEO trust signals:

Strict-Transport-Security: max-age=31536000; includeSubDomains
X-Content-Type-Options: nosniff
X-Frame-Options: DENY

On-page SEO

Title tags

<!-- ❌ Missing or generic -->
<title>Page</title>
<title>Home</title>

<!-- ✅ Descriptive with primary keyword -->
<title>Blue Widgets for Sale | Premium Quality | Example Store</title>

Title tag guidelines:

  • Use 50–60 characters only as a rough linting proxy, not a pass/fail limit. Google truncates title links to fit the rendered device width, so preview width when tooling supports it.
  • Describe the page topic naturally near the beginning
  • Unique for every page
  • Add the brand when it helps users distinguish the result
  • Action-oriented when appropriate

Treat title-link rewriting separately from truncation. Google may build a different title link from the visible page title, headings, anchor text, and other sources even when the <title> is short; investigate accuracy and consistency rather than shortening it automatically. See Google's title-link guidance.

Meta descriptions

<!-- ❌ Missing or duplicate -->
<meta name="description" content="">

<!-- ✅ Compelling and unique -->
<meta name="description" content="Shop premium blue widgets with free shipping. 30-day returns. Rated 4.9/5 by 10,000+ customers. Order today and save 20%.">

Meta description guidelines:

  • Use roughly 150–160 characters only as a linting proxy. Snippets are query- and device-dependent, and Google may select page content instead of the meta description.
  • Use the page topic naturally
  • Compelling call-to-action
  • Unique for every page
  • Matches page content

Heading structure

<!-- ❌ Poor structure -->
<h2>Welcome to Our Store</h2>
<h4>Products</h4>
<h1>Contact Us</h1>

<!-- ✅ Proper hierarchy -->
<h1>Blue Widgets - Premium Quality</h1>
  <h2>Product Features</h2>
    <h3>Durability</h3>
    <h3>Design</h3>
  <h2>Customer Reviews</h2>
  <h2>Pricing</h2>

Heading guidelines:

  • Make the primary page heading descriptive and the hierarchy unambiguous; do not fail a page solely because valid HTML contains more than one <h1>
  • Logical hierarchy (don't skip levels)
  • Include keywords naturally
  • Descriptive, not generic

Image SEO

<!-- ❌ Poor image SEO -->
<img src="IMG_12345.jpg">

<!-- ✅ Optimized image -->
<img src="blue-widget-product-photo.webp"
     alt="Blue widget with chrome finish, side view showing control panel"
     width="800"
     height="600"
     loading="lazy">

Image guidelines:

  • Descriptive filenames with keywords
  • Alt text describes the image content
  • Compressed and properly sized
  • WebP/AVIF with fallbacks
  • Lazy load below-fold images

Internal linking

<!-- ❌ Non-descriptive -->
<a href="/products">Click here</a>
<a href="/widgets">Read more</a>

<!-- ✅ Descriptive anchor text -->
<a href="/products/blue-widgets">Browse our blue widget collection</a>
<a href="/guides/widget-maintenance">Learn how to maintain your widgets</a>

Linking guidelines:

  • Descriptive anchor text with keywords
  • Link to relevant internal pages
  • Reasonable number of links per page
  • Fix broken links promptly
  • Use breadcrumbs for hierarchy

Structured data (JSON-LD)

Read the structured data reference when the user requests schema markup or an audit surfaces a structured-data issue. It contains Organization, Article, Product, FAQ, and Breadcrumb examples plus validation links.

  • Describe visible, accurate content. Do not add a type or claim solely to obtain a rich result.
  • Use the most specific applicable type. Keep identifiers and absolute URLs stable across renders.
  • Validate rendered output. Passing syntax does not guarantee search-engine eligibility or display.

Agentic browsing and AI discoverability

Keep these concepts separate:

  • Lighthouse Agentic Browsing measures technical signals that help an assistant understand and interact with the rendered page. Current checks include the agent-facing accessibility tree, optional llms.txt, and WebMCP registrations, schemas, and form coverage when present.
  • Search indexing and ranking depend on search-engine systems and cannot be inferred from the Agentic Browsing score.
  • AI ingestion or citation is product-specific. A technically browsable page or valid llms.txt file does not prove that an AI product will ingest, rank, or cite it.

Prioritize semantic HTML, descriptive labels, crawlable content, accurate metadata, and clear page structure because they benefit people, search engines, and agents. Add WebMCP tools only when the application has useful actions to expose and the user wants that integration; validate tool names, descriptions, schemas, and form annotations with Lighthouse.

Crawler controls are product-specific

Audit each documented user agent separately instead of applying a blanket "AI bot" rule:

ControlDocumented purposeEffect of blocking
OAI-SearchBotChatGPT search discoveryPrevents page content from being included in ChatGPT summaries and snippets; a link and title may still surface through third-party discovery
PerplexityBotPerplexity search indexingPrevents that crawler from indexing the blocked content for search results
Claude-SearchBot / Claude-UserClaude search indexing / user-directed retrievalMay reduce search visibility / prevents retrieval for user-directed requests
Google-ExtendedControls certain Gemini training and grounding uses of content Google crawlsDoes not affect Google Search inclusion or ranking

Training controls such as GPTBot and ClaudeBot are distinct from search and user-fetch controls. GoogleOther is a generic crawler, not an AI-search visibility switch. Verify current names and consequences in the vendors' maintained documentation: OpenAI, Perplexity, Anthropic, and Google.

llms.txt is optional

llms.txt is an experimental proposal, not a cross-vendor discovery standard. Lighthouse can validate the availability and shape of /llms.txt, but that does not show that a target product reads it. Add one only when the user requests it or a documented consumer supports it; do not recommend it ahead of crawlability, semantic HTML, accurate metadata, and useful content. Never treat it as a ranking or citation factor, duplicate the sitemap, or reorganize content solely to raise this audit.


Mobile SEO

Responsive design

<!-- ❌ Not mobile-friendly -->
<meta name="viewport" content="width=1024">

<!-- ✅ Responsive viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1">

Tap targets

/* ❌ Too small for mobile */
.small-link {
  padding: 4px;
  font-size: 12px;
}

/* ✅ Adequate tap target */
.mobile-friendly-link {
  padding: 12px;
  font-size: 16px;
  min-height: 48px;
  min-width: 48px;
}

Font sizes

/* ❌ Too small on mobile */
body {
  font-size: 10px;
}

/* ✅ Readable without zooming */
body {
  font-size: 16px;
  line-height: 1.5;
}

International SEO

Hreflang tags

<!-- For multi-language sites -->
<link rel="alternate" hreflang="en" href="https://example.com/page">
<link rel="alternate" hreflang="es" href="https://example.com/es/page">
<link rel="alternate" hreflang="fr" href="https://example.com/fr/page">
<link rel="alternate" hreflang="x-default" href="https://example.com/page">

Language declaration

<html lang="en">
<!-- or -->
<html lang="es-MX">

SEO audit checklist

Critical

  • HTTPS enabled
  • robots.txt allows crawling
  • No noindex on important pages
  • Title tags present and unique
  • Primary page heading is descriptive and the hierarchy is logical

High priority

  • Meta descriptions present
  • Sitemap submitted
  • Canonical URLs set
  • Mobile-responsive
  • Core Web Vitals passing

Medium priority

  • Structured data implemented
  • Internal linking strategy
  • Image alt text
  • Descriptive URLs
  • Breadcrumb navigation
  • Agentic Browsing failures reviewed when agent access matters

Ongoing

  • Fix crawl errors in Search Console
  • Update sitemap when content changes
  • Monitor ranking changes
  • Check for broken links
  • Review Search Console insights

Tools

ToolUse
Google Search ConsoleMonitor indexing, fix issues
Google PageSpeed InsightsPerformance + Core Web Vitals
Rich Results TestValidate structured data
Live Lighthouse audit (Chrome DevTools MCP: lighthouse_audit)Rendered SEO and Agentic Browsing checks for agents
Lighthouse CLISEO audit fallback
Screaming FrogCrawl analysis

References