Index of every page on this site: llms.txt
All skills
onmax avatar

/nuxt-seo

@2e74504 official
by Maxonmax/nuxt-skills722 stars
38
Run it yourself

Nuxt SEO meta-module with robots, sitemap, og-image, schema-org. Use when configuring SEO, generating sitemaps, creating OG images, or adding structured data.

Use this Skill: https://skilld.dev/gh/onmax/nuxt-skills/nuxt-seo

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈42 tokens for metadata: the name and description. ≈701 when used: this file. ≈4k more on demand in 6 files.

Description uses 2.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈169 characters, or 2.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Nuxt SEO

npx nuxi module add @nuxtjs/seo

When to Use

Working with:

  • SEO configuration (site URL, name, indexability)
  • Robots.txt and sitemap.xml generation
  • Dynamic OG image generation
  • JSON-LD structured data (schema.org)
  • Breadcrumbs and canonical URLs

Loading Files

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.

Site Config

Foundation for all SEO modules. Configure site in nuxt.config.ts, access via useSiteConfig(). See references/site-config.md for full options.

Module Overview

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

Nuxt Content v3

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.

Related Skills

Links

Token Efficiency

Main skill: ~250 tokens. Each sub-file: ~400-600 tokens. Only load files relevant to current task.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo5 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides documentation and configuration examples for the Nuxt SEO module suite. It covers site configuration, robots.txt, sitemaps, Open Graph images, schema.org structured data, and SEO utilities. No malicious patterns or security risks were identified.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

  • Runlayer8mo

    6 files scanned · No issues

  • ZeroLeaks6mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 2e74504. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 9 months ago
  • Nuxt
  • SEO
  • sitemap
  • og-image
  • schema-org
  • robots-txt
  • structured-data
  • json-ld
  • metadata

README badge

README badge for onmax/nuxt-skills/nuxt-seo

Generates and manages SEO metadata for Nuxt apps: robots.txt, sitemap.xml, dynamic OG images, JSON-LD structured data, and canonical URLs. Use this skill when configuring site SEO foundation, building crawlable sitemaps, creating social media preview images, or adding schema.org markup to pages.

Generated from the current SKILL.md.

Does this work with Nuxt Content?
Yes. Use `asSeoCollection()` to automatically generate sitemaps, OG images, and schema-org from Nuxt Content v3 frontmatter. Load @nuxtjs/seo before @nuxt/content in the modules array.
Can I generate dynamic OG images?
Yes. The skill includes nuxt-og-image for dynamic OG image generation. Load references/og-image.md for implementation details.
What structured data formats does this support?
JSON-LD via schema.org through the nuxt-schema-org module. Access it with `useSchemaOrg()` and refer to references/schema-org.md for configuration.
Does this handle robots.txt and sitemaps?
Yes. The skill includes @nuxtjs/robots for robots.txt generation and @nuxtjs/sitemap for sitemap.xml. Use `useRobotsRule()` and `defineSitemapEventHandler()` respectively.
What is the base configuration requirement?
You must configure the `site` object in nuxt.config.ts and access it via `useSiteConfig()`. This is the foundation all SEO modules depend on.

Generated from the current SKILL.md. These answers refresh after source changes.