# SEO In Nextjs

> Complete SEO setup for Next.js applications. Use when the user wants to implement or improve SEO in a Next.js app, including page metadata, sitemap.xml, llms.txt, robots.txt, and JSON-LD structured data generation, or SEO auditing. Trigger for queries about Next.js SEO optimization, search engine visibility, metadata management, or when the user mentions wanting better SEO for their Next.js application.

- Skill: `dlcastillop/seo-in-nextjs-2` (Agent Skill, multi-file: 22 files)
- Install (CLI): `npx skillmds@latest add dlcastillop/seo-in-nextjs-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dlcastillop/seo-in-nextjs-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Marketing & Growth
- Author: dlcastillop (https://skillmd.com/u/dlcastillop)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/dlcastillop/seo-in-nextjs-2

---


## How to use

Read individual rule files for detailed explanations and code examples.

- [Add Article JSON-LD structured data to a page](rules/add-article-json-ld-structured-data.md)
- [Add Breadcrumb JSON-LD structured data to a page](rules/add-breadcrumb-json-ld-structured-data.md)
- [Add FAQ JSON-LD structured data to a page](rules/add-faq-json-ld-structured-data.md)
- [Add JSON-LD structured data to a page](rules/add-json-ld-structured-data.md)
- [Add Software Application JSON-LD structured data to a page](rules/add-software-app-json-ld-structured-data.md)
- [defineSeoConfig Reference](rules/define-seo-config.md)
- [genPageMetadata Reference](rules/gen-page-metadata.md)
- [Generate the llms.txt file for a site](rules/generate-llms-txt.md)
- [Generate the metadata for a page](rules/generate-metadata.md)
- [Generate the robots.txt file for a site](rules/generate-robots.md)
- [Generate the sitemap.xml file for a site](rules/generate-sitemap.md)
- [Getting Started](rules/getting-started.md)
- [Introduction to seo-in-nextjs](rules/introduction.md)
- [JsonLdForArticle Reference](rules/json-ld-for-article.md)
- [JsonLdForBreadcrumb Reference](rules/json-ld-for-breadcrumb.md)
- [JsonLdForFaq Reference](rules/json-ld-for-faq.md)
- [JsonLdForSoftwareApp Reference](rules/json-ld-for-software-app.md)
- [JsonLdScript Reference](rules/json-ld-script.md)
- [robotsTxt Reference](rules/robots-txt.md)
- [SEO Check Tool](rules/seo-check.md)
- [sitemapXml Reference](rules/sitemap-xml.md)
