Skip to content
alinaqi avatar

Site Architecture

Technical SEO setup for robots.txt, XML sitemaps, meta and Open Graph tags, and AI crawler rules.

CCM score
54 of 100
skills.sh installs
307
GitHub stars
712
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers robots.txt templates, XML sitemaps (including sitemap indexes), essential meta tags, and Open Graph and Twitter Card markup
  • Includes Next.js robots.ts and sitemap.ts examples plus AI crawler rules for GPTBot, ClaudeBot, and PerplexityBot
  • Provides an allow-or-block decision pattern for AI training versus chat crawlers, and blocks scrapers such as AhrefsBot and SemrushBot
  • Designed for sites that need search engines and AI assistants to discover content without exposing API or admin paths

Install

$ npx -y skills add alinaqi/maggy --skill site-architecture -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Site Architecture Skill

For technical website structure that enables discovery by search engines AND AI crawlers (GPTBot, ClaudeBot, PerplexityBot).


Philosophy

Content is king. Architecture is the kingdom.

Great content buried in poor architecture won't be discovered. This skill covers the technical foundation that makes your content findable by:

  • Google, Bing (traditional search)
  • GPTBot (ChatGPT), ClaudeBot, PerplexityBot (AI assistants)
  • Social platforms (Open Graph, Twitter Cards)

robots.txt

Basic Template

# robots.txt

# Allow all crawlers by default
User-agent: *
Allow: /
Disallow: /api/
Disallow: /admin/
Disallow: /private/
Disallow: /_next/
Disallow: /cdn-cgi/

# Sitemap location
Sitemap: https://yoursite.com/sitemap.xml

# Crawl delay (optional - be careful, not all bots respect this)
# Crawl-delay: 1

AI Bot Configuration

# robots.txt with AI bot rules

# === SEARCH ENGINES ===
User-agent: Googlebot
Allow: /

User-agent: Bingbot
Allow: /

# === AI ASSISTANTS (Allow for discovery) ===
User-agent: GPTBot
Allow: /

User-agent: ChatGPT-User
Allow: /

User-agent: Claude-Web
Allow: /

User-agent: ClaudeBot
Allow: /

Details

Repository
github.com/alinaqi/maggy
Categories
Marketing, SEO & Ads, Browser Automation & Scraping
First seen
Jun 3, 2026

Questions

What does the site-architecture skill do?

The site-architecture skill covers technical SEO for site structure, including robots.txt rules, XML sitemaps, meta tags and Open Graph tags. It is written so that search engines and AI crawlers such as GPTBot, ClaudeBot and PerplexityBot can discover your content. It triggers when you set up site architecture, meta tags or technical SEO in files like robots.txt, sitemaps and HTML pages.

How do I install the site-architecture skill?

Run npx -y skills add alinaqi/maggy --skill site-architecture -y inside your project. After that, the site-architecture skill becomes available to your agent for robots.txt, sitemap and meta tag work.

Where does site-architecture stand in the Marketing, SEO & Ads category?

site-architecture sits in the Marketing, SEO & Ads category on Claude Marketplaces, next to seo-audit, content-strategy, marketing-psychology, ai-seo and programmatic-seo. Its own focus is the technical foundation, such as crawler rules for AI bots and Next.js robots and sitemap files, rather than content strategy.

Does site-architecture work with Next.js projects?

The site-architecture skill includes Next.js examples for building a robots.txt through app/robots.ts and a dynamic sitemap through app/sitemap.ts. It also shows how to set metadata in app/layout.tsx. These patterns let a Next.js site expose crawl rules and sitemap entries generated from its own data.

More from alinaqi/maggy

All 54

Similar to Site Architecture

More Marketing, SEO & Ads