---
name: search-engine-optimization
description: Execute comprehensive SEO strategy including technical SEO audits, keyword research, on-page optimization, link building, local SEO, content optimization, and SEO performance tracking. Use when conducting SEO audits, optimizing pages for search, building backlinks, performing keyword research, or tracking SEO performance. Triggers on phrases like "SEO", "search engine optimization", "technical SEO", "keyword research", "on-page SEO", "off-page SEO", "link building", "backlinks", "local SEO", "site audit", "meta tags", "schema markup", "core web vitals", "page speed", "Google Search Console", "domain authority", "organic traffic", "search rankings".
---

# Search Engine Optimization (SEO)

Execute comprehensive SEO strategy including technical SEO, keyword research, on-page optimization, link building, and performance tracking.

## Workflow

### 1. Technical SEO Audit

```
TECHNICAL SEO AUDIT CHECKLIST
═══════════════════════════════════════

Crawlability & Indexing:
═══════════════════════════════════════

  → robots.txt: Configured correctly, no blocked resources
  → XML sitemap: Submitted to GSC, updated regularly
  → Crawl errors: < 10 (404, 500, soft 404)
  → Canonical tags: On all pages, self-referencing
  → Pagination: rel=prev/next or infinite scroll (SEO-friendly)
  → Noindex tags: Only on intended pages (admin, thanks)
  → Index coverage: ≥95% of important pages indexed

  Current Status:
    → Indexed pages: 1,245 / 1,300 (96%) ✓
    → Crawl errors: 5 (3 404s, 2 server errors) ← FIX
    → robots.txt: ✓ Configured
    → XML sitemap: ✓ Submitted (updated daily)

URL Structure:
═══════════════════════════════════════

  → HTTPS: All pages (301 from HTTP)
  → WWW vs non-WWW: Consistent (redirect set)
  → URL format: /category/subcategory/page-name (descriptive)
  → Parameters: Minimal, handled with canonical
  → Redirects: < 2 hops, no redirect chains
  → Broken links: < 0.5% of internal links

Current Status:
  → HTTPS: ✓ 100%
  → Redirect chains: 3 found ← FIX
  → Broken internal links: 8 ← FIX
  → URL format: ✓ Consistent

Core Web Vitals:
═══════════════════════════════════════

  Metric              Target        Current      Status      Pages Affected
  ────────────────────────────────────────────────────────────────────────────────
  LCP ( Largest Contentful Paint)  ≤ 2.5s      1.8s        ✓ Good        0
  FID (First Input Delay)          ≤ 100ms     45ms        ✓ Good        0
  CLS (Cumulative Layout Shift)    ≤ 0.1       0.05        ✓ Good        0
  TTFB (Time to First Byte)        ≤ 0.8s      0.4s        ✓ Good        0
  FCP (First Contentful Paint)     ≤ 1.8s      1.2s        ✓ Good        0

MOBILE-FRIENDLINESS:
═══════════════════════════════════════

  → Responsive design: ✓ All pages
  → Mobile page speed: 3.2s (target: <3s) ⚠️
  → Touch elements: ≥ 48x48px ✓
  → Font size: ≥ 16px ✓
  → Viewport meta tag: ✓
  → Mobile crawl test: ✓ Pass
```

### 2. Keyword Research & Strategy

```
KEYWORD RESEARCH METHODOLOGY
═══════════════════════════════════════

Keyword Categories:
═══════════════════════════════════════

Category            Volume     KD       Intent        Competition    Priority
─────────────────────────────────────────────────────────────────────────────────
Head terms          >10K       70+      Informational HIGH           LOW (hard)
Body keywords       1K-10K     40-70    Mixed         MEDIUM         MEDIUM
Long-tail           <1K        <40      Transactional LOW            HIGH (easy)
Question-based      Variable   Variable Informational LOW            HIGH (easy)
Featured snippet    Variable   Variable Informational MEDIUM         HIGH (quick)

KEYWORD MAP:
═══════════════════════════════════════

Page URL                        Primary Keyword         Monthly Volume  Current Rank  Target Rank
───────────────────────────────────────────────────────────────────────────────────────────────
/products                       project management software  12,000     8           3
/pricing                        project management pricing   3,600      5           2
/blog/best-practices            project management best practices  2,400  3         1
/blog/team-collaboration         team collaboration tips      1,900      12          5
/blog/automation                workflow automation tools     1,600      15          8
/blog/small-business            project management small teams 720       6           2
/api                           API documentation              2,900      4           2

CONTENT GAP ANALYSIS:
═══════════════════════════════════════

  → Keywords we rank page 2 (11-20): 45 ← QUICK WINS
  → Keywords competitors rank, we don't: 23 ← CREATE CONTENT
  → Keywords with high commercial intent: 12 ← PRIORITY
  → Featured snippet opportunities: 18 ← OPTIMIZE
  → People also ask (PAA): 25 ← CREATE FAQ CONTENT
```

### 3. On-Page Optimization

```
ON-PAGE SEO CHECKLIST
═══════════════════════════════════════

Title Tags:
═══════════════════════════════════════

  → Length: 50-60 characters
  → Primary keyword: First position
  → Brand: Last position
  → Unique: Each page has unique title
  → Compelling: CTR-optimized (numbers, power words)

  Example: "Project Management Software | Team Collaboration Tool — Company"
  (58 characters, keyword first, brand last)

Meta Descriptions:
═══════════════════════════════════════

  → Length: 150-160 characters
  → Include: Primary keyword, secondary keyword
  → Compelling: Value proposition, CTA
  → Unique: Each page has unique description

  Example: "Streamline your workflow with our project management software.
  Collaborate in real-time, track progress, and hit deadlines. Start free
  today — no credit card required." (155 characters)

Headings (H1-H6):
═══════════════════════════════════════

  → H1: One per page, includes primary keyword
  → H2: Main sections, includes secondary keywords
  → H3-H6: Subsections, natural keyword usage
  → Structure: Logical hierarchy (no skipping levels)

Internal Linking:
═══════════════════════════════════════

  → Each page: 3-5 internal links
  → Anchor text: Descriptive (not "click here")
  → Deep links: Link to relevant internal pages
  → Orphan pages: 0 (every page linked from somewhere)
  → Breadcrumb navigation: Enabled

Schema Markup:
═══════════════════════════════════════

  → Organization: Company info (logo, social, contact)
  → WebSite: Search action (site search)
  → WebPage: Current page info
  → Article: Blog posts (author, date, image)
  → FAQ: FAQ pages (rich results)
  → HowTo: Tutorial pages (rich results)
  → Breadcrumb: Navigation (rich results)
  → Product: Product pages (price, availability, rating)
```

### 4. Link Building

```
LINK BUILDING STRATEGY
═══════════════════════════════════════

Link Building Tactics:
═══════════════════════════════════════

Tactic                  Effort    DA Range    Monthly    Success Rate
─────────────────────────────────────────────────────────────────────────────
Guest posts             HIGH      40-70       5-8        20-30%
Resource pages          MEDIUM    30-60       10-15      15-25%
Broken link building    MEDIUM    30-50       10-15      10-20%
HARO (Help a Reporter)  LOW       50-90       2-5        5-10%
Skyscraper content      HIGH      40-80       1-2        20-30%
Testimonial links       LOW       30-60       5-10       60-80%
Unlinked mentions       LOW       30-70       5-10       40-60%
Infographics            MEDIUM    30-60       1-2        15-25%

BACKLINK PROFILE:
═══════════════════════════════════════

  Total backlinks: 2,340
  Referring domains: 456
  Domain authority: 42 (↑ from 38)
  Spam score: 2% (low) ✓

  By DA:
    → DA 70+: 15 (3.3%)
    → DA 50-69: 45 (9.9%)
    → DA 30-49: 180 (39.5%)
    → DA 10-29: 180 (39.5%)
    → DA <10: 36 (7.9%)

  Anchor text distribution:
    → Branded: 45% ✓
    → Exact match: 15% (healthy) ✓
    → Partial match: 20% ✓
    → Generic: 12% ✓
    → Naked URL: 8% ✓
```

### 5. SEO Performance Tracking

```
SEO PERFORMANCE DASHBOARD
═══════════════════════════════════════

Organic Traffic:
═══════════════════════════════════════

  Month        Sessions    PVs     Bounce Rate    Conv. Rate    Conversions
  ───────────────────────────────────────────────────────────────────────────────
  Jan 2024     32,000      85,000  42%            2.1%          672
  Feb 2024     34,500      90,000  40%            2.3%          794
  Mar 2024     36,800      95,000  39%            2.5%          920
  Apr 2024     38,200      98,000  38%            2.4%          917
  May 2024     40,100      102,000 37%            2.6%          1,043
  Jun 2024     42,500      108,000 36%            2.7%          1,148
  Jul 2024     43,800      110,000 35%            2.8%          1,226
  Aug 2024     44,200      112,000 35%            2.9%          1,282
  Sep 2024     45,000      115,000 34%            2.9%          1,305
  Oct 2024     45,500      116,000 34%            3.0%          1,365
  Nov 2024     46,000      118,000 33%            3.1%          1,426
  Dec 2024     47,000      120,000 33%            3.2%          1,504

  YoY Growth: +47% (organic sessions)
  YoY Growth: +124% (conversions)

RANKINGS:
═══════════════════════════════════════

  Total keywords tracked: 2,340
  Keywords in top 10: 456 (↑ 22% YoY)
  Keywords in top 3: 89 (↑ 35% YoY)
  Average position: 18.5 (↑ from 22.3)

  Position changes (last 30 days):
    → Improved: 234 keywords
    → Declined: 89 keywords
    → New: 45 keywords
    → Lost: 12 keywords

CONVERSIONS BY PAGE:
═══════════════════════════════════════

  Page                          Conversions   Revenue       CPA
  ────────────────────────────────────────────────────────────────────────────
  /products                     450           $112,500      $250
  /pricing                      380           $95,000       $250
  /blog/best-practices          120           $30,000       $250
  /blog/team-collaboration      85            $21,250       $250
  /blog/automation              75            $18,750       $250
```

## Edge Cases

- **E-commerce**: Product pages, category pages, facets
- **Local SEO**: Google Business Profile, local citations
- **Enterprise**: Multiple domains, international SEO
- **News**: News SEO, AMP, topical authority
- **Programmatic**: Thousands of pages, template SEO

## Integration Points

- **Tools**: SEMrush, Ahrefs, Moz, Screaming Frog
- **Analytics**: GA4, Google Search Console, GSC API
- **CMS**: WordPress, Contentful, HubSpot CMS
- **Monitoring**: Nightwatch, SiteUptime, UptimeRobot
- **Technical**: PageSpeed Insights, Lighthouse, CrUX
- **Link building**: Ahrefs, Majestic, Moz Link Explorer

## Output

### SEO Status

```
SEO STATUS — Q4 2024
═══════════════════════════════════════

Organic traffic: 47,000/month (↑ 47% YoY)
Domain authority: 42 (↑ from 38)
Keywords tracked: 2,340 (456 top 10, 89 top 3)
Core Web Vitals: All passing ✓
Backlinks: 2,340 (456 referring domains)
Conversions: 1,504/month (↑ 124% YoY)
Revenue: $380,000/month (organic-attributed)
Technical issues: 5 crawl errors (fixing)
Next priority: 45 page-2 keywords (quick wins), 23 content gaps
```
