Skip to content

thisisAhsanIqbal/nextjs-seo-audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” nextjs-seo-audit

AI Agent Skills for automated SEO auditing β€” zero dependencies, zero setup.

11 SKILL.md files that teach AI coding agents how to perform comprehensive, industry-standard SEO audits on any HTML page.

Stars Forks Issues License Last Commit

Works with
Cursor Β· Claude Code Β· VS Code Copilot Β· Gemini CLI Β· Roo Code Β· Amp Β· Any Agent Skills-compatible tool


✨ What is this?

nextjs-seo-audit is an open-source collection of AI Agent Skills that enables any compatible AI coding assistant to perform professional-grade SEO audits β€” covering everything from on-page optimization and schema markup to Core Web Vitals and international SEO.

How is it different?

  • 🚫 No code to run β€” the AI agent reads instructions and audits using its own capabilities
  • πŸ“¦ No dependencies β€” just SKILL.md files, nothing to install
  • πŸ€– Multi-agent compatible β€” works with Cursor, Claude Code, VS Code Copilot, Gemini CLI, and more
  • πŸ“‹ Industry-standard thresholds β€” based on Google's guidelines, Lighthouse, and WCAG
  • βœ… Actionable results β€” every check returns βœ… PASS, ⚠️ WARN, or ❌ FAIL with fix instructions

πŸ“¦ Skills Included

# Skill What it audits Key checks
🏠 Root Orchestrator Full 10-area audit Runs all skills, generates summary report
1 On-Page Optimization Content & structure H1 tags, keyword density, internal links, content length
2 Schema / JSON-LD Structured data JSON-LD validation, Article & LocalBusiness schema, rich snippets
3 Meta Data Meta tags Title length, description, Open Graph, Twitter Cards
4 Semantic Layout HTML structure HTML5 elements, ARIA landmarks, accessibility, div-soup detection
5 Site Speed Performance Render-blocking scripts, inline CSS, image optimization
6 Mobile Optimization Mobile UX Viewport meta, responsive design, touch targets, font sizing
7 Backlink Monitoring Link profile Dofollow/nofollow ratio, domain diversity, anchor text analysis
8 International SEO Multi-language Hreflang tags, language targeting, regional URL structure
9 Technical SEO Crawlability Sitemap, robots.txt, canonical tags, redirect chains
10 Core Web Vitals Performance metrics LCP, CLS, INP, Lighthouse performance scoring

πŸš€ Quick Start

1. Clone into your project

git clone https://github.com/thisisAhsanIqbal/nextjs-seo-audit.git .agent/skills/nextjs-seo-audit

Or add as a Git submodule (recommended for teams):

git submodule add https://github.com/thisisAhsanIqbal/nextjs-seo-audit.git .agent/skills/nextjs-seo-audit

2. Ask your AI agent

That's it β€” no configuration needed. Your AI agent will automatically discover the SKILL.md files. Try prompts like:

"Run a full SEO audit on this page"
"Check schema markup on my homepage"
"Is my site mobile-friendly?"
"Audit the meta tags for this page"
"What are my Core Web Vitals issues?"

πŸ€– Compatible AI Agents

Agent Discovery method
Cursor Scans workspace for SKILL.md files
Claude Code Auto-discovers SKILL.md in workspace
VS Code Copilot Reads SKILL.md from workspace
Gemini CLI Scans project for skills at startup
Roo Code Discovers via workspace root
Amp Auto-discovered in workspace
Goose Configured skill directories

πŸ“ Project Structure

nextjs-seo-audit/
β”œβ”€β”€ SKILL.md                              # Root orchestrator β€” runs full audit
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ CONTRIBUTING.md
└── skills/
    β”œβ”€β”€ onpage-optimization/SKILL.md      # H1, keywords, internal links
    β”œβ”€β”€ schema-json-optimization/SKILL.md # JSON-LD, structured data
    β”œβ”€β”€ meta-data-optimization/SKILL.md   # Title, OG, Twitter Cards
    β”œβ”€β”€ semantic-layout/SKILL.md          # HTML5, ARIA, accessibility
    β”œβ”€β”€ site-speed-optimization/SKILL.md  # Scripts, CSS, images
    β”œβ”€β”€ mobile-optimization/SKILL.md      # Viewport, touch targets
    β”œβ”€β”€ backlink-monitoring/SKILL.md      # Link profile analysis
    β”œβ”€β”€ international-seo/SKILL.md        # Hreflang, i18n
    β”œβ”€β”€ technical-seo/SKILL.md            # Sitemap, robots, canonical
    └── core-web-vitals/SKILL.md          # LCP, CLS, INP

βš™οΈ How It Works

graph LR
    A[User asks SEO question] --> B[Agent discovers SKILL.md files]
    B --> C[Agent matches question to skill]
    C --> D[Agent reads audit instructions]
    D --> E[Agent analyses HTML]
    E --> F[Results: βœ… PASS / ⚠️ WARN / ❌ FAIL]
Loading
  1. Discovery β€” Agent finds SKILL.md files at startup and loads metadata (name + description)
  2. Matching β€” When you ask an SEO question, the agent routes to the relevant skill(s)
  3. Auditing β€” The agent reads detailed instructions with exact rules, thresholds, and checklists
  4. Reporting β€” Results are reported as βœ… PASS / ⚠️ WARN / ❌ FAIL with actionable fixes

🀝 Contributing

Contributions are welcome and appreciated! Here's how you can help:

Ways to contribute

  • πŸ› Report bugs β€” Open an issue if a check has incorrect thresholds or missing rules
  • πŸ’‘ Suggest new checks β€” Have an SEO check we missed? Open a feature request
  • ✍️ Improve existing skills β€” Tighten thresholds, add edge cases, improve wording
  • πŸ“ Add new skills β€” Want to add a skill for Image SEO, Video SEO, or E-E-A-T? PRs welcome!
  • πŸ“– Improve documentation β€” Fix typos, add examples, clarify instructions

Contribution guidelines

  1. Fork this repository
  2. Create a branch for your change (git checkout -b feature/my-new-check)
  3. Follow the existing format β€” every SKILL.md uses YAML frontmatter + markdown tables
  4. Test with an AI agent β€” make sure the skill works when an agent reads it
  5. Submit a PR with a clear description of the change

Skill authoring format

Every skill follows this structure:

---
name: skill-name
description: One-line description of what this skill audits
author: Your Name
license: MIT
---

Followed by markdown with audit instructions, thresholds, and reporting format.


πŸ“Š SEO Areas Covered

This project covers all major areas of Search Engine Optimization:

  • On-Page SEO β€” content optimization, heading structure, keyword analysis
  • Technical SEO β€” crawlability, indexability, sitemap, robots.txt
  • Schema Markup β€” JSON-LD structured data, rich snippets eligibility
  • Meta Tags β€” title tags, meta descriptions, Open Graph, Twitter Cards
  • Core Web Vitals β€” LCP, CLS, INP, page speed optimization
  • Mobile SEO β€” responsive design, viewport, touch-friendly UI
  • International SEO β€” hreflang, multi-language, regional targeting
  • Site Speed β€” render-blocking resources, image optimization, CSS delivery
  • Semantic HTML β€” accessibility, ARIA, HTML5 landmark elements
  • Backlink Analysis β€” link profile health, anchor text diversity

⭐ Show Your Support

If this project helps you build better SEO practices into your workflow, please consider:

  • ⭐ Starring this repository
  • 🍴 Forking to customize for your needs
  • πŸ“£ Sharing with your team or on social media
  • πŸ› Opening issues for bugs or ideas

πŸ‘€ Author

Muhammad Ahsan Iqbal β€” Digital Strategy & SEO Expert


πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


Made with ❀️ for the SEO & AI community

About

AI Agent Skills for SEO auditing , 11 SKILL.md files that teach Cursor, Claude Code, Copilot & more to perform comprehensive SEO audits. Zero dependencies.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors