From nuxt-skills
Configures Nuxt SEO including robots.txt, sitemap.xml, dynamic OG images, and JSON-LD structured data. Use when setting up site SEO, generating sitemaps, or adding schema.org markup.
How this skill is triggered — by the user, by Claude, or both
Slash command
/nuxt-skills:nuxt-seoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```bash
npx nuxi module add @nuxtjs/seo
Working with:
Consider loading these reference files based on your task:
DO NOT load all files at once. Load only what's relevant to your current task.
Foundation for all SEO modules. Configure site in nuxt.config.ts, access via useSiteConfig(). See references/site-config.md for full options.
| Module | Purpose | Key API |
|---|---|---|
| nuxt-site-config | Shared config | useSiteConfig() |
| @nuxtjs/robots | robots.txt | useRobotsRule() |
| @nuxtjs/sitemap | sitemap.xml | defineSitemapEventHandler() |
| nuxt-og-image | OG images | defineOgImage() |
| nuxt-schema-org | JSON-LD | useSchemaOrg() |
| nuxt-seo-utils | Meta utilities | useBreadcrumbItems() |
| nuxt-link-checker | Link validation | Build-time checks |
Use asSeoCollection() for automatic sitemap, og-image, and schema-org from frontmatter:
// content.config.ts
import { defineCollection, defineContentConfig } from '@nuxt/content'
import { asSeoCollection } from '@nuxtjs/seo/content'
export default defineContentConfig({
collections: {
posts: defineCollection(asSeoCollection({ type: 'page', source: 'posts/**' }))
}
})
Important: Load @nuxtjs/seo before @nuxt/content in modules array:
export default defineNuxtConfig({
modules: ['@nuxtjs/seo', '@nuxt/content']
})
Frontmatter fields: ogImage, sitemap, robots, schemaOrg.
Main skill: ~250 tokens. Each sub-file: ~400-600 tokens. Only load files relevant to current task.
npx claudepluginhub onmax/nuxt-skills --plugin nuxt-skillsConfigures Nuxt SEO v5 modules for robots.txt, sitemaps, Open Graph images, Schema.org structured data, link checking, meta tags, and site config in Nuxt 3+ apps.
Sets page titles, Open Graph tags, canonical URLs, and JSON-LD structured data per page using useSeoMeta and useHead in Nuxt. Useful for implementing social previews, robots directives, and SSR-optimized metadata.