Specialized Review Agent

SEO Expert

Catches SEO issues before they hurt your rankings

A specialized AI agent focused on technical SEO, meta tags, structured data, and search visibility. Deep expertise in Next.js, React, and WordPress — ensuring every page is optimized for Google.

What SEO Expert Catches

Focused expertise on the SEO issues that impact your search rankings

Meta Tags & Metadata

Missing titles, descriptions, and proper metadata exports in Next.js App Router

Every page needs a unique, descriptive title (50-60 chars) and meta description (120-160 chars). SEO Expert catches pages with missing, duplicate, or poorly formatted metadata before they go live.

Missing generateMetadataEmpty descriptionsDuplicate titles

OpenGraph & Social

OpenGraph tags, Twitter Cards, and social sharing optimization for better CTR

When your page is shared on Slack, Twitter, or LinkedIn, it needs proper og:title, og:description, and og:image (1200x630px). Broken social previews hurt your click-through rate.

Missing og:imageNo Twitter cardsWrong dimensions

Canonical & URLs

Canonical URLs, trailing slashes, and duplicate content prevention

Duplicate content dilutes your SEO authority. Canonical URLs tell search engines which version of a page is the 'original'. Missing canonicals can split your rankings across multiple URLs.

Missing canonicalRelative URLsWWW inconsistency

Structured Data

JSON-LD schemas for rich snippets - Organization, Product, Article, FAQ

Structured data enables rich snippets in search results — star ratings, FAQ dropdowns, product prices. These significantly increase click-through rates from search results.

Missing schema.orgInvalid JSON-LDIncomplete properties

Heading Hierarchy

Proper H1→H2→H3 structure for content organization and accessibility

Search engines use heading structure to understand your content hierarchy. Each page should have exactly one H1, with logical H2/H3 nesting. Broken hierarchy confuses both crawlers and users.

Multiple H1 tagsSkipped levelsMissing H1

Image Optimization

Alt text, next/image usage, and proper image SEO for visual search

Images without alt text are invisible to search engines and screen readers. In Next.js, using next/image with proper dimensions improves Core Web Vitals and enables automatic optimization.

Missing alt textUsing <img> instead of next/imageNo width/height
10+ Built-in Rules

Comprehensive SEO Checklist

Every PR is checked against these critical SEO rules

Meta Description

120-160 chars, unique per page, keyword-rich

OpenGraph Tags

og:title, og:description, og:image (1200x630)

Canonical URLs

Absolute URLs, consistent trailing slashes

Heading Hierarchy

Single H1, proper H1→H2→H3 structure

Image Alt Text

Descriptive alt for all content images

JSON-LD Schemas

Organization, WebSite, Product, Article

Sitemap.xml

All pages, lastModified, proper priority

Robots.txt

Allow public, block admin, include sitemap

Next.js Image

Use next/image, priority for LCP

Server Components

Avoid unnecessary 'use client' for SEO

High priority| Medium priority

Before & After

Real-World Issues We Catch

These are actual SEO problems that slip through code review every day. SEO Expert catches them automatically.

Missing Meta Description

Problem: Page deployed without description — Google shows random text from page content

Impact: Lower CTR from search results, users don't know what the page is about

// ❌ Problem: No metadata export
export default function ProductPage() {
  return <div>...</div>
}

// ✅ Fixed: Proper metadata
export const metadata = {
  title: "Premium Widget | Acme Store",
  description: "High-quality widget with 5-star reviews. Free shipping on orders over $50.",
}

Broken OpenGraph Image

Problem: og:image URL returns 404 — shared links look broken on social media

Impact: Poor first impression, reduced sharing, lower engagement

// ❌ Problem: Relative or wrong URL
openGraph: {
  images: ["/og-image.png"], // Relative URL fails
}

// ✅ Fixed: Absolute URL with dimensions
openGraph: {
  images: [{
    url: "https://example.com/og-image.png",
    width: 1200,
    height: 630,
    alt: "Product preview",
  }],
}

Missing Canonical URL

Problem: Same content accessible at /product and /product/ — duplicate content issue

Impact: Split rankings, wasted crawl budget, diluted authority

// ❌ Problem: No canonical specified
export const metadata = {
  title: "Product Page",
}

// ✅ Fixed: Explicit canonical URL
export const metadata = {
  title: "Product Page",
  alternates: {
    canonical: "https://example.com/product",
  },
}

No JSON-LD Schema

Problem: Product page without structured data — no rich snippets in search results

Impact: Lower visibility in search, competitors with rich snippets get more clicks

// ✅ Add JSON-LD for rich snippets
const jsonLd = {
  "@context": "https://schema.org",
  "@type": "Product",
  name: "Premium Widget",
  image: "https://example.com/widget.jpg",
  aggregateRating: {
    "@type": "AggregateRating",
    ratingValue: "4.8",
    reviewCount: "127",
  },
}

// In your component:
<script type="application/ld+json"
  dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
/>

SEO Expert catches these in your PR — before they hit production and hurt your rankings.

AI Search Era

SEO Matters More Than Ever

"People search with ChatGPT and Perplexity now. Does SEO even matter?"

More than ever. AI search tools don't have their own index. They pull from Google, Bing, and the web. When ChatGPT answers a question, when Perplexity cites sources — they're surfacing content that ranks well in traditional search.

The New Discovery Funnel

1. User asks ChatGPT a question

2. ChatGPT searches the web (using Bing)

3. Your page ranks high → ChatGPT cites your content

4. User clicks through to your site

AI search often shows just 1-2 sources — not ten blue links. If you're not in the top results, you're invisible. There's no page two to scroll to.

Perplexity

AI-powered search engine

Explicitly shows which sources it used — and those sources are ranked by traditional search signals.

ChatGPT with Browsing

OpenAI's search feature

Uses Bing results — your Bing SEO directly impacts AI visibility.

Claude with Search

Anthropic's web search

Searches the web for current information — good SEO means good visibility in Claude answers.

One optimization, two discovery channels.
Rank well on Google → Get cited by AI tools.

Multi-Framework Support

Works With Your Stack

SEO Expert understands framework-specific patterns. Whether you're using Next.js App Router, React with Helmet, or WordPress — it knows the right way to implement SEO.

Next.js App Router

generateMetadata, metadata exports, sitemap.ts, robots.ts

  • Validates metadata exports in page.tsx and layout.tsx
  • Checks generateMetadata for dynamic routes
  • Ensures sitemap.ts and robots.ts are properly configured
  • Verifies next/image usage for optimal performance

Next.js Pages Router

next/head, _document.tsx, getStaticProps SEO

  • Checks next/head usage in page components
  • Validates _document.tsx for base meta tags
  • Ensures proper meta tags in getStaticProps pages

React + Helmet

React Helmet Async, dynamic meta tags, SPA SEO

  • Validates Helmet usage across routes
  • Checks for dynamic meta tag updates
  • Ensures SSR-friendly meta tag handling

WordPress

Yoast/RankMath hooks, theme SEO, plugin integration

  • Validates proper use of Yoast SEO API
  • Checks wp_head hooks for meta tags
  • Ensures theme compatibility with SEO plugins

How It Works

1

Scan Changes

Analyze page components, layouts, and meta files

2

Check Metadata

Verify title, description, OG tags, canonical

3

Validate Structure

Heading hierarchy, alt text, structured data

4

Report Issues

Actionable fixes with SEO impact assessment

Why a Specialized SEO Agent?

SEO is complex enough to deserve dedicated attention

Catch Before Deploy

Find missing meta tags, broken OG images, and schema errors before they hit production

Protect Rankings

One missing canonical or noindex can tank your traffic — SEO Agent prevents that

Improve CTR

Better titles, descriptions, and rich snippets mean more clicks from search results

Most teams discover SEO issues weeks later in Google Search Console.
SEO Expert catches them in your PR.

Extensible Rules

Your SEO, Your Rules

SEO Expert comes with 10+ built-in rules, but every team has unique requirements. Maybe you have specific meta tag conventions, custom structured data schemas, or internal SEO guidelines that go beyond the basics.

Create your own custom SEO rules. Write a YAML file, define what to check, and SEO Expert will enforce it on every PR. Your team's SEO standards become automated checks.

Custom meta length rules

Require descriptions between 140-155 chars

Specific OG image dimensions

Enforce exact 1200x630 for all pages

Required JSON-LD schemas

Mandate Product schema on all product pages

Learn how rules power diffray's accuracy

Example: Custom Rule

rules:
  - id: seo_og_image_dimensions
    agent: seo
    title: OG image must be 1200x630
    description: |
      Ensure all OpenGraph images are
      exactly 1200x630 for optimal
      social sharing on all platforms.
    why_important: |
      Wrong dimensions cause cropping
      on LinkedIn, Twitter, Slack.
    importance: 7
    match:
      file_glob:
        - '**/app/**/page.tsx'
        - '**/app/**/layout.tsx'
    checklist:
      - Find all openGraph.images configs
      - Verify width is 1200, height is 630
      - Flag any different dimensions
    examples:
      bad: |
        images: [{
          url: '/og.png',
          width: 800,
          height: 400,
        }]
      good: |
        images: [{
          url: '/og.png',
          width: 1200,
          height: 630,
        }]
    tags:
      - seo
      - opengraph
      - social-sharing

Add to .diffray/rules/seo/ — runs on every PR automatically.

SEO Issues We Prevent

40%

of pages have missing meta descriptions

25%

of images lack proper alt text

60%

of sites have broken OG images

35%

miss canonical URLs on new pages

Optimize Every Page
With Every PR

Let SEO Expert catch technical SEO issues before they hurt your rankings. Free for 14 days, no credit card required.

Next.js, React, WordPress
10+ SEO rules included
Works on every PR