Check skill
SEO Audit
draft, under review3 phases2 bundled files
The SEO pass before launch: metadataBase and a title template, a canonical on every page, an OG image, sitemap and robots, and JSON-LD. Next.js makes metadata typed exports, so this checks the ones you forgot.
/plugin marketplace add Selwynuy/selwynuy /plugin install selwyn-handbook@selwyn-handbook # then run: /selwyn-handbook:seo-audit
Or read it as SKILL.md.
When it activates
Use this skill when before launch, or after adding routes, to check a Next.js app's metadata, canonical, sitemap, robots, OG, and structured data.
The workflow
Defaults
Confirm the root layout sets metadataBase (absolute URLs) and a title.template with a default, so every new route inherits the brand suffix and social defaults instead of shipping bare.
Per-page
Confirm every indexable page has an intentional title and description and an explicit alternates.canonical, and that dynamic routes use generateMetadata (awaiting params) with a cached data call, not a static object.
Crawlers and cards
Confirm sitemap.ts and robots.ts exist and are typed, an Open Graph image resolves (static or generated), and JSON-LD is present where rich results apply. Remember robots.txt is not access control; gate private routes with real auth.
What ships in the bundle
- scriptscripts/scan-seo.mjsScans the app/ tree for metadataBase, a title template, canonical usage, sitemap/robots files, and OG images, and flags routes that look unconfigured for review.
- referencereferences/seo-checklist.mdThe full typed-metadata SEO layer with the fix for each gap, sourced to the Next.js metadata docs and the handbook's SEO page.
1 run, the rest load on demand.