Skip to content

Canonical URL Audit

Checks that pages declare the correct preferred canonical URL for search engines.

Stars
74,632
Licence
MIT
Files
2 files

What it does

This skill teaches an AI agent to review a website for canonical URL tags, which tell search engines which version of a page is the preferred one when duplicates exist (for example through URL parameters, www vs non-www, or pagination). Once installed, the agent checks the rendered HTML and HTTP responses rather than only source files, flags routes or templates where the canonical tag is missing or wrong, and explains how to fix it.

Great for

  • Front-end or full-stack developers preparing a site for search indexing
  • SEO-minded marketers reviewing a site's technical metadata
  • Teams running a pre-launch checklist on templates or routing

Skip it if

  • Sites that are not publicly indexed, where canonical tags have no search effect (no benefit from this skill)
  • Anyone expecting the skill to perform a full SEO audit; it covers only canonical URLs, and the files give no tooling beyond what the agent already has
  • Using its output unverified on production sites, since the agent's suggested tag changes could affect search ranking if applied incorrectly

Try asking

  • “Audit the canonical URLs on my site's product pages and tell me which templates are wrong.”
  • “Check whether my rendered HTML and HTTP headers both point to the preferred www version.”
  • “Review my Next.js metadata code for canonical tags and suggest fixes.”
  • “Explain to my team why canonical tags help with duplicate content from URL parameters.”
Step-by-step guide: how to use Canonical URL AuditInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 2 original files, the MIT licence and an attribution note.

    canonical-url.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip canonical-url.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip canonical-url.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Point the agent at a specific URL or template folder so it can check real rendered output, not just guesses.
  • Ask it to verify both the HTML tag and the HTTP response headers, since the skill asks for both.
  • Read the referenced rule page for framework-specific examples before changing production code.

What's inside

  • references/rule.md
  • SKILL.md

Redistributed unmodified from thedaviddias/Front-End-Checklist under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.