agentleFS
Shiven0504Shiven0504/claude-skills-collection/skills/custom/seo-audit/SKILL.md

seo-audit

Skill6 starsChanged 8 months agoMITView on GitHub

Audit on-page SEO issues in source code files (HTML, JSX, TSX, Next.js pages) and produce a structured markdown report with findings and fix suggestions. Use this skill whenever the user mentions SEO, search engine optimization, meta tags, title tags, meta descriptions, heading structure, keyword optimization, image alt text for SEO, internal linking, Open Graph tags, or wants to improve their site's search ranking. Also trigger when the user asks about on-page SEO best practices, wants to check if their pages are SEO-friendly, or mentions Google indexing concerns related to their source code.

159 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use seo-dataforseo, seo-image-gen and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AgriciDanielSkill

    seo-dataforseo

    Live SEO data via DataForSEO MCP server: SERP analysis, keyword research (volume, difficulty, intent, trends), backlink profiles, on-page analysis, competitor and content analysis, business listings, AI visibility (LLM mention tracking), and domain analytics. Requires DataForSEO extension installed. Use when user says "dataforseo", "live SERP", "keyword volume", "backlink data", "AI visibility check", or "real search data".

    Also in 10 projects that use this

  • AgriciDanielSkill

    seo-image-gen

    AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when user says \"generate image\", \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"create visual\", \"image-gen\", \"favicon\", \"schema image\", \"pinterest pin\", \"generate visual\", \"banner\", or \"thumbnail\".

    Also in 10 projects that use this

  • silvainfmSkill

    competitor-alternatives

    When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' or 'competitive landing pages.' Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. Emphasizes deep research, modular content architecture, and varied section types beyond feature tables.

    Also in 22 projects that use this

  • ukunal91appSkill

    lead-magnets

    When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute it. For interactive tools as lead magnets, see free-tool-strategy. For writing the actual content, see copywriting. For the email sequence after capture, see email-sequence.

    Also in 21 projects that use this

  • silvainfmSkill

    onboarding-cro

    When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also use when the user mentions "onboarding flow," "activation rate," "user activation," "first-run experience," "empty states," "onboarding checklist," "aha moment," or "new user experience." For signup/registration optimization, see signup-flow-cro. For ongoing email sequences, see email-sequence.

    Also in 17 projects that use this

  • megastepSkill

    seo-programmatic

    Programmatic SEO planning and analysis for pages generated at scale from data sources. Covers template engines, URL patterns, internal linking automation, thin content safeguards, and index bloat prevention. Use when user says "programmatic SEO", "pages at scale", "dynamic pages", "template pages", "generated pages", or "data-driven SEO".

    Also in 13 projects that use this

  • +3 more from AgriciDaniel
  • +2 more from silvainfm

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 145 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Identify the files to audit: If the user points to specific files, use those.

    line 12
  2. Distinctive:

    Why it matters: Search engines use heading hierarchy to understand page structure and topic importance.

    line 57
  3. Very specific:

    Look for JSON-LD (<script type="application/ld+json">), microdata, or RDFa.

    line 108
  4. Distinctive:

    Not a hard requirement, but note if the page type would benefit from structured data (e.g., product pages, articles, FAQs, recipes, events)

    line 111
  5. Distinctive:

    If structured data exists, check for obvious issues like missing required fields

    line 112
  6. Distinctive:

    When auditing a whole site (multiple page files), add a summary table at the top:

    line 158
  7. Very specific:

    When auditing Next.js App Router projects, be aware of:

    line 177

“Common” is measured: kept by at least 6 in 10 of the 145 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

On-Page SEO Audit

Analyze source code files for on-page SEO issues and produce a clear, actionable markdown report. The goal is to catch real problems that hurt search rankings — not to nitpick or generate noise.

How to run an audit

  1. Identify the files to audit. If the user points to specific files, use those. If they say "audit my site" or similar, look for page-level files — things like index.html, Next.js pages (app/**/page.tsx, pages/**/*.tsx), or layout files. Use Glob to find them.
  2. Read each file and check against the checklist below.
  3. Produce the report in the format described at the bottom.

What to check

Work through each section for every page file. Not every check applies to every file — use judgment. A shared <Header> component won't have a <title> tag, and that's fine.

Title tag

The <title> element (or metadata.title in Next.js) is the single most important on-page SEO signal.

Check for:

  • Missing title entirely
  • Title that's too short (under 20 characters) or too long (over 60 characters) — search engines truncate long titles
  • Generic/meaningless titles like "Home", "Page", "Untitled", or the framework default
  • Duplicate titles across pages (if auditing multiple pages)

Why it matters: The title tag is displayed as the clickable headline in search results. A clear, descriptive title with relevant keywords directly affects click-through rate and ranking.

Meta description

The <meta name="description"> tag (or metadata.description in Next.js).

Check for:

  • Missing entirely — search engines will auto-generate one, but it's usually worse
  • Too short (under 50 characters) or too long (over 160 characters)
  • Doesn't summarize the page content or include relevant keywords
  • Duplicate descriptions across pages

Why it matters: While not a direct ranking factor, the meta description appears as the snippet in search results and heavily influences click-through rate.

Heading structure

The hierarchy of <h1> through <h6> tags.

Check for:

  • Missing <h1> — every page should have exactly one
  • Multiple <h1> tags on the same page
  • Skipped heading levels (e.g., <h1> followed by <h3> with no <h2>)
  • Empty headings or headings with only icons/images
  • Headings used purely for styling rather than structure (hard to detect in code, but flag if obvious)

Why it matters: Search engines use heading hierarchy to understand page structure and topic importance. A clean heading outline helps crawlers identify what the page is about.

Image alt text

The alt attribute on <img> tags and Next.js <Image> components.

Check for:

  • Missing alt attribute entirely (different from alt="" which is intentional for decorative images)
  • Very generic alt text like "image", "photo", "picture", "screenshot", "img1"
  • Alt text that's just the filename (e.g., "IMG_2847.jpg", "hero-banner.png")
  • Excessively long alt text (over 125 characters) — keep it concise
  • Images that appear to be content-relevant but have alt=""

Why it matters: Image alt text helps search engines understand image content, enables image search traffic, and is also an accessibility requirement. Good alt text describes what the image shows in context.

Internal links

Links between pages within the site.

Check for:

  • Pages with no internal links pointing to other pages (orphan pages)
  • Links using non-descriptive anchor text like "click here", "read more", "learn more", "link" — the anchor text should describe the destination
  • Broken-looking links (relative paths that seem wrong, href="#", href="", javascript:void(0))
  • Important pages that are deeply nested (many clicks from the home page)

Why it matters: Internal links distribute page authority and help search engines discover and understand the relationship between pages. Descriptive anchor text tells crawlers what the linked page is about.

Open Graph & social meta tags

<meta property="og:*"> and <meta name="twitter:*"> tags.

Check for:

  • Missing og:title, og:description, og:image — these control how the page appears when shared on social media
  • og:image pointing to a path that might not resolve (relative paths without a base URL)
  • Missing twitter:card if the site is likely shared on X/Twitter

Why it matters: While not a direct Google ranking factor, social sharing drives traffic. Pages shared without proper OG tags look unprofessional and get fewer clicks.

Canonical URL

The <link rel="canonical"> tag.

Check for:

  • Missing on pages that could have duplicate URLs (e.g., pages accessible with and without trailing slashes, with query parameters)
  • Self-referencing canonical is fine and expected
  • Canonical pointing to a different domain (flag as suspicious unless intentional)

Why it matters: Canonical tags prevent duplicate content issues by telling search engines which version of a page is the "official" one.

Structured data hints

Look for JSON-LD (<script type="application/ld+json">), microdata, or RDFa.

Check for:

  • Not a hard requirement, but note if the page type would benefit from structured data (e.g., product pages, articles, FAQs, recipes, events)
  • If structured data exists, check for obvious issues like missing required fields

Why it matters: Structured data enables rich snippets in search results (star ratings, FAQ dropdowns, product prices) which significantly boost click-through rate.

Report format

Structure the report as follows. Omit sections where nothing was found — a clean report is more useful than one padded with "no issues found" for every category.

# SEO Audit Report: [page name or file path]

## Summary
[1-2 sentences: overall SEO health and the most impactful issues to fix first]

## Critical Issues
[Issues that are very likely hurting search rankings right now]

### [Issue title]
- **File:** `path/to/file.tsx` (line X)
- **Problem:** [What's wrong]
- **Impact:** [Why this hurts SEO]
- **Fix:** [Specific suggestion, with code snippet if helpful]

## Warnings
[Issues that could be improved but aren't dealbreakers]

### [Issue title]
- **File:** `path/to/file.tsx` (line X)
- **Problem:** [What's wrong]
- **Impact:** [Why this matters]
- **Fix:** [Suggestion]

## Suggestions
[Nice-to-haves and optimizations]

- [Brief suggestion with rationale]

Severity guidelines

  • Critical: Missing title tag, missing h1, missing all alt text on content images, no meta description on key landing pages
  • Warning: Title too long/short, generic alt text, non-descriptive link text, missing OG tags, skipped heading levels
  • Suggestion: Adding structured data, improving meta description wording, adding canonical tags as a precaution

Auditing multiple pages

When auditing a whole site (multiple page files), add a summary table at the top:

# Site-Wide SEO Audit

## Overview

| Page | Critical | Warnings | Suggestions |
|------|----------|----------|-------------|
| `/` (home) | 1 | 3 | 2 |
| `/about` | 0 | 2 | 1 |
| `/blog/[slug]` | 2 | 1 | 3 |

## Page-by-page results
[Individual reports follow]

Next.js-specific notes

When auditing Next.js App Router projects, be aware of:

  • Metadata API: Title and meta description are often set via export const metadata or generateMetadata() in page.tsx or layout.tsx, not as HTML tags. Check both.
  • Layouts: <html>, <head>, and root structure live in layout.tsx. A missing <h1> in page.tsx isn't necessarily a problem if the layout provides it — but usually the page should have its own <h1>.
  • Image component: Next.js <Image> requires alt as a prop. If it's missing, it'll throw a build error — but check for empty strings (alt="") on content images.
  • Dynamic routes: [slug] pages get their content at runtime, so the template might not have literal title/description text. Check that generateMetadata() is implemented and uses the dynamic data.
  • next/head: In Pages Router projects, metadata is set via <Head> from next/head. Check for this pattern too.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.