nextjs-seo
The nextjs-seo skill provides a comprehensive guide and implementation patterns for optimizing Next.js App Router applications for search engines. It covers metadata configuration, dynamic sitemaps, robots.txt management, Open Graph/Twitter image generation, and Core Web Vitals optimization.
Is nextjs-seo safe to install?
Review the source first: our audit of nextjs-seo's source files found 2 shell commands, 3 external URLs, file reads and writes (high risk). Every command and URL listed appears verbatim in the skill's source. The skill instructs the agent to execute shell commands and fetch external URLs for SEO auditing purposes.
How we audit skills: our security review methodology.
Who is this skill for?
Next.js developers implementing or auditing SEO for App Router applications.
What can you do with it?
- Implementing metadata and generateMetadata in Next.js App Router
- Configuring dynamic sitemap.xml and robots.txt files
- Setting up Open Graph and Twitter social sharing images
- Optimizing Core Web Vitals for search ranking
- Diagnosing Google indexing issues
- Running an SEO audit checklist
How good is this skill?
Quality score: 5/10. The skill provides clear, actionable code examples and follows current Next.js App Router best practices. It correctly identifies the distinction between lab-based and field-based metrics.
What does the skill file contain?
# Next.js SEO Optimization Comprehensive SEO guide for Next.js App Router applications. ## Quick SEO Audit Run this checklist for any Next.js project: 1. **Check robots.txt**: `curl https://your-site.com/robots.txt` 2. **Check sitemap**: `curl https://your-site.com/sitemap.xml` 3. **Check metadata**: View page source, search for `<title>` and `<meta name="description">` 4. **Check JSON-LD**: View page source, search for `application/ld+json` 5. **Check Core Web Vitals**: Use PageSpeed Insights (pagespeed.web.dev) and the Search Console CWV report for field data — Lighthouse is lab-only and...
Frequently asked questions
Should I use next-seo with the App Router?
No. Use the native Metadata API provided by Next.js instead.
How do I handle viewport settings in metadata?
Export viewport as a separate object. Do not include it inside the metadata object.
Can I block /_next/ in robots.txt?
No. Crawlers require access to render-critical CSS and JS files located in that directory.
How do I measure Core Web Vitals accurately?
Use PageSpeed Insights and the Search Console CWV report. Lighthouse is lab-only and cannot measure INP.
Related skills
seo-audit
133.3KUsers seeking to diagnose SEO issues, improve organic search performance, or conduct a health check on their website
The seo-audit skill provides a structured framework for diagnosing and recommending improvements for website search engine optimization. It guides the agent through technical, on-page, and content quality assessments, including specific checks for international SEO and site-type-specific issues.
content-strategy
86.4KContent marketers, founders, and marketing teams planning content roadmaps and editorial calendars
The content-strategy skill assists users in planning content strategies, identifying topics, and building editorial calendars. It guides users through gathering business context, researching customers, analyzing competitors, and mapping content to the buyer's journey. It provides frameworks for searchable and shareable content, pillar identification, and topic clustering.
programmatic-seo
83.5KContent strategists, SEO specialists, and marketers building large-scale, data-driven website content
The programmatic-seo skill provides a framework for generating SEO-optimized pages at scale using templates and data. It guides users through keyword research, data sourcing, template design, internal linking, and indexation strategies while emphasizing content uniqueness to avoid search engine penalties.
ai-seo
70.6KContent creators, SEO professionals, and digital marketers aiming to improve their brand's presence in AI-generated search results
The ai-seo skill provides a framework for optimizing web content to increase visibility and citation rates in AI-powered search engines and LLM-based assistants like ChatGPT, Perplexity, and Google AI Overviews.