---
name: ecc-seo
description: Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy.
---

# SEO

SEO improvement patterns for websites.

## When to Use
- Improving search visibility
- Adding structured data (schema.org)
- Fixing Core Web Vitals
- Preparing sitemap/robots

## Technical SEO
- HTTPS required
- XML sitemap at `/sitemap.xml`
- `robots.txt` at `/robots.txt`
- Canonical URLs on every page
- Proper 301 redirects for moved content
- Pages load under 3s (Core Web Vitals)

## On-Page SEO
- Unique `<title>` per page (50-60 chars)
- Meta description (150-160 chars)
- h1 on every page (one per page)
- Alt text on images
- Semantic HTML (article, section, nav, aside)

## Structured Data
```json
{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Page Title",
  "author": { "@type": "Person", "name": "Author" },
  "datePublished": "2025-01-15"
}
```

## Core Web Vitals
- **LCP** < 2.5s — optimize images, preload key resources
- **FID/INP** < 200ms — minimize JS, code-split
- **CLS** < 0.1 — set image dimensions, avoid layout shifts
