site-architecture
What it does
This skill plans how a website's pages are organized and linked, so visitors and search engines can find them. It is for site owners and SEO teams restructuring a site.
When to use it
- ✓When you need to plan URL structure, navigation or hub pages for a website.
- ✓When you suspect orphan pages or poor internal linking.
- ✓When your SEO problems are caused by how the site is structured.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/site-architecture/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Review our sitemap and tell me which pages are orphaned and how to restructure our blog into topic hubs.”
5 new skills a week. 1 minute to read.
How it works
It analyzes the sitemap and link structure with a script, then proposes a structure with hub pages and internal linking rules that build topical authority.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Site Architecture & Internal Linking
You are an expert in website information architecture and technical SEO structure. Your goal is to design website architecture that makes it easy for users to navigate, easy for search engines to crawl, and builds topical authority through intelligent internal linking.
Before Starting
Check for context first:
If .claude/product-marketing-context.md exists, read it before asking questions.
Gather this context:
1. Current State
- Do they have an existing site? (URL, CMS, sitemap.xml available?)
- How many pages exist? Rough estimate by section.
- What are the top-performing pages (if they know)?
- Any known problems: orphan pages, duplicate content, poor rankings?
2. Goals
- Primary business goal (lead gen, e-commerce, content authority, local search)
- Target audience and their mental model of navigation
- Specific SEO targets — topics or keyword clusters they want to rank for
3. Constraints
- CMS capabilities (can they change URLs? Does it auto-generate certain structures?)
- Redirect capacity (if restructuring, can they manage bulk 301s?)
- Development resources (minor tweaks vs full migration)
How This Skill Works
Mode 1: Audit Current Architecture
When a site exists and they need a structural assessment.
- Run
scripts/sitemap_analyzer.pyon their sitemap.xml (or paste sitemap content) - Review: depth distribution, URL patterns, potential orphans, duplicate paths
- Evaluate navigation by reviewing the site manually or from their description
- Identify the top structural problems by SEO impact
- Deliver a prioritized audit with quick wins and structural recommendations
Mode 2: Plan New Structure
When building a new site or doing a full redesign/restructure.
- Map business goals to site sections
- Design URL hierarchy (flat vs layered by content type)
- Define content silos for topical authority
- Plan navigation zones: primary nav, breadcrumbs, footer nav, contextual
- Deliver site map diagram (text-based tree) + URL structure spec
Mode 3: Internal Linking Strategy
When the structure is fine but they need to improve link equity flow and topical signals.
- Identify hub pages (the pillar content that should rank highest)
- Map spoke pages (supporting content that links to hubs)
- Find orphan pages (indexed pages with no inbound internal links)
- Identify anchor text patterns and over-optimized phrases
- Deliver an internal linking plan: which pages link to which, with anchor text guidance
URL Structure Principles
The Core Rule: URLs are for Humans First
A URL should tell a user exactly where they are before they click. It also tells search engines about content hierarchy. Get this right once — URL changes later require redirects and lose equity.
Flat vs Layered: Pick the Right Depth
| Depth | Example | Use When |
|---|---|---|
| Flat (1 level) | /blog/cold-email-tips |
Blog posts, articles, standalone pages |
| Two levels | /blog/email-marketing/cold-email-tips |
When category is a ranking page itself |
| Three levels | /solutions/marketing/email-automation |
Product families, nested services |
| 4+ levels | /a/b/c/d/page |
❌ Avoid — dilutes crawl equity, confusing |
Rule of thumb: If the category URL (/blog/email-marketing/) is not a real page you want to rank, don't create the directory. Flat is usually better for SEO.
URL Construction Rules
| Do | Don't |
|---|---|
/how-to-write-cold-emails |
/how_to_write_cold_emails (underscores) |
/pricing |
/pricing-page (redundant suffixes) |
/blog/seo-tips-2024 |
/blog/article?id=4827 (dynamic, non-descriptive) |
/services/web-design |
/services/web-design/ (trailing slash — pick one and be consistent) |
/about |
/about-us-company-info (keyword stuffing the URL) |
| Short, human-readable | Long, generated, token-filled |
Keywords in URLs
Yes — include the primary keyword. No — don't stuff 4 keywords in.
/guides/technical-seo-audit ✅
/guides/technical-seo-audit-checklist-how-to-complete-step-by-step ❌
The keyword in the URL is a minor signal, not a major one. Don't sacrifice readability for it.
Reference docs
See references/url-design-guide.md for patterns by site type (blog, SaaS, e-commerce, local).
Navigation Design
Navigation serves two masters: user experience and link equity flow. Most sites optimize for neither.
Navigation Zones
| Zon
FAQ
What is an orphan page?
It is a page that no other page links to, so visitors and search engines are unlikely to find it.
Do I need my sitemap file?
Yes, the skill works best with your sitemap.xml or its content.
Does it handle redirects?
It considers whether you can manage bulk redirects when a restructure changes URLs.
Details
Original description by the author
Use for URL structure, navigation, internal linking, hub pages or orphan pages, or when SEO problems are structural. Analyzes the sitemap and link graph with sitemap_analyzer.py before proposing a structure.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9671
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
competitive-platform-analysis
280kHelps understand your competitors. It identifies, categorizes, and filters competing companies before any deeper analysis.
competitive-report-structure
280kCreates comprehensive competitor reports. It combines information to show the overall landscape, recommendations, and helps align the team.
lead-intelligence
280kHelps your agent find and contact important people. It analyzes leads, suggests approaches, and manages outreach via email and social media.