agentleFS
thisisAhsanIqbalthisisAhsanIqbal/nextjs-seo-audit/skills/technical-seo/SKILL.md

technical-seo

Skill7 starsChanged 10 months agoMITView on GitHub

Audits sitemap references, robots.txt directives, canonical tags, crawlability, URL structure, redirect chains, and indexability. Use when checking technical SEO foundations or fixing crawl/index issues.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check if the page references or is affected by robots.txt:

    line 42
  2. Very specific:

    Look for <meta name="robots"> directives

    line 44
  3. Very specific:

    If analysing a full site, check robots.txt at site root for:

    line 45
  4. Distinctive:

    If sitemap URL is available, verify:

    line 57
  5. Distinctive:

    No URLs returning 4xx/5xx status codes

    line 60

“Common” is measured: kept by at least 6 in 10 of the 4 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

Technical SEO

Audit fundamental technical SEO factors that affect crawlability and indexability.

1. Canonical URL

CheckStatus
<link rel="canonical"> missing⚠️ WARN "Add canonical to prevent duplicate content"
Canonical present but empty href❌ FAIL
Canonical points to a different domain⚠️ WARN "Cross-domain canonical — verify this is intentional"
Canonical is relative (not absolute URL)⚠️ WARN "Use absolute URLs for canonical tags"
Canonical present and valid✅ PASS
Multiple canonical tags❌ FAIL "Only one canonical allowed per page"
Canonical is self-referencing✅ PASS (best practice)

2. Robots meta

CheckStatus
<meta name="robots" content="noindex">⚠️ WARN "Page will not appear in search results"
<meta name="robots" content="nofollow">⚠️ WARN "Links on this page will not be followed"
<meta name="robots" content="noindex, nofollow">⚠️ WARN "Page excluded from search entirely"
<meta name="robots" content="index, follow"> or absent✅ PASS "Page is indexable"
<meta name="googlebot"> present✅ PASS — report its content

3. Robots.txt references

Check if the page references or is affected by robots.txt:

  • Look for <meta name="robots"> directives
  • If analysing a full site, check robots.txt at site root for:
    • Disallow rules that block the current page
    • Sitemap directive pointing to sitemap location
    • Crawl-delay directives (may slow indexing)

4. Sitemap references

CheckStatus
<link rel="sitemap"> present✅ PASS
No sitemap reference found⚠️ WARN "Consider adding sitemap reference"

If sitemap URL is available, verify:

  • Valid XML format
  • Contains the current page URL
  • No URLs returning 4xx/5xx status codes

5. URL structure

Analyse the page URL (from <link rel="canonical"> or <meta property="og:url">):

CheckStatus
URL contains uppercase letters⚠️ WARN "Use lowercase-only URLs"
URL contains underscores⚠️ WARN "Use hyphens instead of underscores"
URL contains special characters or spaces (encoded %20)⚠️ WARN "Simplify URL structure"
URL exceeds 100 characters⚠️ WARN "Keep URLs concise"
URL has double slashes (//path)❌ FAIL "Fix double slashes"
URL has trailing slash inconsistency⚠️ WARN "Be consistent with trailing slashes"
Clean, descriptive, lowercase with hyphens✅ PASS

6. HTTP status hints

CheckStatus
<meta http-equiv="refresh" content="0;url=..."> present⚠️ WARN "Use 301 redirects instead of meta refresh"
Page contains window.location redirect in inline script⚠️ WARN "JS redirects are not SEO-friendly"

7. Indexability checklist

CheckStatus
Has <title> tagRequired for indexing
Has <meta name="description">Required for SERP snippets
Has unique content (not empty <body>)Required
Not blocked by noindexRequired
Has canonical URLRecommended
Is HTTPS (check canonical/og:url)⚠️ WARN if HTTP

8. Pagination

CheckStatus
<link rel="prev"> / <link rel="next"> present✅ PASS "Pagination properly marked"
Paginated content without prev/next⚠️ WARN "Add for multi-page content"

9. Duplicate content signals

CheckStatus
Same <title> as canonical page but different URL⚠️ WARN
No canonical + URL has query parameters⚠️ WARN "URL parameters may create duplicate pages"
Multiple pages with identical meta description⚠️ WARN

Edge cases

  • Next.js app router generates canonical tags automatically via the metadata export — audit the rendered HTML output
  • robots.txt may not be accessible if auditing a single HTML file — note this limitation and skip robots.txt checks
  • Pages behind authentication (login walls) may intentionally use noindex — flag as ⚠️ WARN but note context
  • Single-page applications with client-side routing may have a single canonical URL for all "pages" — flag as ⚠️ WARN
  • Staging/preview environments often have noindex — distinguish between intentional and accidental noindex when possible
  • Pages with rel="prev" / rel="next" are deprecated by Google (since 2019) but still supported by Bing — note as informational, not FAIL

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.