Site Architecture
You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines.
Single-voice craft (do NOT parallelize)
A site architecture plan is ONE coherent structural recommendation delivered in one expert IA voice. Do not fan this out to parallel agents — a split sitemap, navigation spec, and URL map produced by different workers will contradict each other (mismatched depth, inconsistent URL parents, orphaned nodes). One architect holds the whole tree in their head so every level coheres. Run the whole plan in a single pass.
Craft upgrades (apply every time):
- Tree-integrity pass before output. After drafting the hierarchy, walk it once: every node has exactly one parent, every URL path mirrors that parent chain, no page sits 4+ clicks from home without justification, no node is an orphan (zero inbound links). Fix contradictions before presenting.
- Decide, justify, decide. When the user gives partial context, pick the strongest IA pattern for their site type (from the Site Types table) and state the one-line rationale — don't stall on missing detail. Flat-by-default; add a level only when a nav zone exceeds ~7 items.
- Redirect ledger when restructuring. If existing URLs change, every old URL gets an explicit
old → new 301 row. Never silently rename a path — lost backlink equity is the single most expensive IA mistake.
OUTPUT CONTRACT (every run produces all five, in this order): (1) Page Hierarchy ASCII tree with URLs, (2) Visual Sitemap Mermaid graph TD, (3) URL Map table, (4) Navigation Spec, (5) Internal Linking Plan — plus a redirect ledger when restructuring. See the Output Format section for the exact shapes.
VERIFY before declaring done: (a) ASCII tree and URL Map table list the same set of pages — no page in one but missing from the other; (b) every URL in the table reflects its Parent column; (c) ≤7 header-nav items, CTA rightmost; (d) zero orphan pages (each has ≥1 inbound internal link); (e) if restructuring, every changed URL has a 301 row.
No-hallucination guardrail: Recommend only pages the business context supports — do not invent product features, blog categories, or sections the user never mentioned. If you propose a page on best-practice grounds (e.g., a /pricing page they omitted), label it [suggested] and say why. Ground every page in stated business goals, audiences, or the read product-marketing-context file — not in a generic template copied wholesale.
Portability note
This skill is filesystem-only and runs anywhere — its sole external touchpoint is an optional .agents/product-marketing-context.md (or .claude/product-marketing-context.md) context file. If neither exists, gather context via the questions below; no VPS or OmegaOS infrastructure is required.
Before Planning
Check for product marketing context first:
If .agents/product-marketing-context.md exists (or .claude/product-marketing-context.md in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
Gather this context (ask if not provided):
1. Business Context
- What does the company do?
- Who are the primary audiences?
- What are the top 3 goals for the site? (conversions, SEO traffic, education, support)
2. Current State
- New site or restructuring an existing one?
- If restructuring: what's broken? (high bounce, poor SEO, users can't find things)
- Existing URLs that must be preserved (for redirects)?
3. Site Type
- SaaS marketing site
- Content/blog site
- E-commerce
- Documentation
- Hybrid (SaaS + content)
- Small business / local
4. Content Inventory
- How many pages exist or are planned?
- What are the most important pages? (by traffic, conversions, or business value)
- Any planned sections or expansions?
Site Types and Starting Points
| Site Type |
Typical Depth |
Key Sections |
URL Pattern |
| SaaS marketing |
2-3 levels |
Home, Features, Pricing, Blog, Docs |
/features/name, /blog/slug |
| Content/blog |
2-3 levels |
Home, Blog, Categories, About |
/blog/slug, /category/slug |
| E-commerce |
3-4 levels |
Home, Categories, Products, Cart |
/category/subcategory/product |
| Documentation |
3-4 levels |
Home, Guides, API Reference |
/docs/section/page |
| Hybrid SaaS+content |
3-4 levels |
Home, Product, Blog, Resources, Docs |
/product/feature, /blog/slug |
| Small business |
1-2 levels |
Home, Services, About, Contact |
/services/name |
For full page hierarchy templates: See references/site-type-templates.md
Page Hierarchy Design
The 3-Click Rule
Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong.
Flat vs Deep
| Approach |
Best For |
Tradeoff |
| Flat (2 levels) |
Small sites, portfolios |
Simple but doesn't scale |
| Moderate (3 levels) |
Most SaaS, content sites |
Good balance of depth and findability |
| Deep (4+ levels) |
E-commerce, large docs |
Scales but risks burying content |
Rule of thumb: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy.
Hierarchy Levels
| Level |
What It Is |
Example |
| L0 |
Homepage |
/ |
| L1 |
Primary sections |
/features, /blog, /pricing |
| L2 |
Section pages |
/features/analytics, /blog/seo-guide |
| L3+ |
Detail pages |
/docs/api/authentication |
ASCII Tree Format
Use this format for page hierarchies:
Homepage (/)
├── Features (/features)
│ ├── Analytics (/features/analytics)
│ ├── Automation (/features/automation)
│ └── Integrations (/features/integrations)
├── Pricing (/pricing)
├── Blog (/blog)
│ ├── [Category: SEO] (/blog/category/seo)
│ └── [Category: CRO] (/blog/category/cro)
├── Resources (/resources)
│ ├── Case Studies (/resources/case-studies)
│ └── Templates (/resources/templates)
├── Docs (/docs)
│ ├── Getting Started (/docs/getting-started)
│ └── API Reference (/docs/api)
├── About (/about)
│ └── Careers (/about/careers)
└── Contact (/contact)
When to use ASCII vs Mermaid:
- ASCII: quick hierarchy drafts, text-only contexts, simple structures
- Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns
Navigation Design
Navigation Types
| Nav Type |
Purpose |
Placement |
| Header nav |
Primary navigation, always visible |
Top of every page |
| Dropdown menus |
Organize sub-pages under parent |
Expands from header items |
| Footer nav |
Secondary links, legal, sitemap |
Bottom of every page |
| Sidebar nav |
Section navigation (docs, blog) |
Left side within a section |
| Breadcrumbs |
Show current location in hierarchy |
Below header, above content |
| Contextual links |
Related content, next steps |
Within page content |
Header Navigation Rules
- 4-7 items max in the primary nav (more causes decision paralysis)
- CTA button goes rightmost (e.g., "Start Free Trial," "Get Started")
- Logo links to homepage (left side)
- Order by priority: most important/visited pages first
- If you have a mega menu, limit to 3-4 columns
Footer Organization
Group footer links into columns:
- Product: Features, Pricing, Integrations, Changelog
- Resources: Blog, Case Studies, Templates, Docs
- Company: About, Careers, Contact, Press
- Legal: Privacy, Terms, Security
Breadcrumb Format
Home > Features > Analytics
Home > Blog > SEO Category > Post Title
Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page.
For detailed navigation patterns: See references/navigation-patterns.md
URL Structure
Design Principles
- Readable by humans —
/features/analytics not /f/a123
- Hyphens, not underscores —
/blog/seo-guide not /blog/seo_guide
- Reflect the hierarchy — URL path should match site structure
- Consistent trailing slash policy — pick one (with or without) and enforce it
- Lowercase always —
/About should redirect to /about
- Short but descriptive —
/blog/how-to-improve-landing-page-conversion-rates is too long; /blog/landing-page-conversions is better
URL Patterns by Page Type
| Page Type |
Pattern |
Example |
| Homepage |
/ |
example.com |
| Feature page |
/features/{name} |
/features/analytics |
| Pricing |
/pricing |
/pricing |
| Blog post |
/blog/{slug} |
/blog/seo-guide |
| Blog category |
/blog/category/{slug} |
/blog/category/seo |
| Case study |
/customers/{slug} |
/customers/acme-corp |
| Documentation |
/docs/{section}/{page} |
/docs/api/authentication |
| Legal |
/{page} |
/privacy, /terms |
| Landing page |
/{slug} or /lp/{slug} |
/free-trial, /lp/webinar |
| Comparison |
/compare/{competitor} or /vs/{competitor} |
/compare/competitor-name |
| Integration |
/integrations/{name} |
/integrations/slack |
| Template |
/templates/{slug} |
/templates/marketing-plan |
Common Mistakes
- Dates in blog URLs —
/blog/2024/01/15/post-title adds no value and makes URLs long. Use /blog/post-title.
- Over-nesting —
/products/category/subcategory/item/detail is too deep. Flatten where possible.
- Changing URLs without redirects — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked.
- IDs in URLs —
/product/12345 is not human-readable. Use slugs.
- Query parameters for content —
/blog?id=123 should be /blog/post-title.
- Inconsistent patterns — Don't mix
/features/analytics and /product/automation. Pick one parent.
Breadcrumb-URL Alignment
The breadcrumb trail should mirror the URL path:
| URL |
Breadcrumb |
/features/analytics |
Home > Features > Analytics |
/blog/seo-guide |
Home > Blog > SEO Guide |
/docs/api/auth |
Home > Docs > API > Authentication |
Visual Sitemap Output (Mermaid)
Use Mermaid graph TD for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones.
Basic Hierarchy
graph TD
HOME[Homepage] --> FEAT[Features]
HOME --> PRICE[Pricing]
HOME --> BLOG[Blog]
HOME --> ABOUT[About]
FEAT --> F1[Analytics]
FEAT --> F2[Automation]
FEAT --> F3[Integrations]
BLOG --> B1[Post 1]
BLOG --> B2[Post 2]
With Navigation Zones
graph TD
subgraph Header Nav
HOME[Homepage]
FEAT[Features]
PRICE[Pricing]
BLOG[Blog]
CTA[Get Started]
end
subgraph Footer Nav
ABOUT[About]
CAREERS[Careers]
CONTACT[Contact]
PRIVACY[Privacy]
end
HOME --> FEAT
HOME --> PRICE
HOME --> BLOG
HOME --> ABOUT
FEAT --> F1[Analytics]
FEAT --> F2[Automation]
For more Mermaid templates: See references/mermaid-templates.md
Internal Linking Strategy
Link Types
| Type |
Purpose |
Example |
| Navigational |
Move between sections |
Header, footer, sidebar links |
| Contextual |
Related content within text |
"Learn more about analytics" |
| Hub-and-spoke |
Connect cluster content to hub |
Blog posts linking to pillar page |
| Cross-section |
Connect related pages across sections |
Feature page linking to related case study |
Internal Linking Rules
- No orphan pages — every page must have at least one internal link pointing to it
- Descriptive anchor text — "our analytics features" not "click here"
- 5-10 internal links per 1000 words of content (approximate guideline)
- Link to important pages more often — homepage, key feature pages, pricing
- Use breadcrumbs — free internal links on every page
- Related content sections — "Related Posts" or "You might also like" at page bottom
Hub-and-Spoke Model
For content-heavy sites, organize around hub pages:
Hub: /blog/seo-guide (comprehensive overview)
├── Spoke: /blog/keyword-research (links back to hub)
├── Spoke: /blog/on-page-seo (links back to hub)
├── Spoke: /blog/technical-seo (links back to hub)
└── Spoke: /blog/link-building (links back to hub)
Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant.
Link Audit Checklist
Output Format
When creating a site architecture plan, provide these deliverables:
1. Page Hierarchy (ASCII Tree)
Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section.
2. Visual Sitemap (Mermaid)
Mermaid diagram showing page relationships and navigation zones. Use graph TD with subgraphs for nav zones where helpful.
3. URL Map Table
| Page |
URL |
Parent |
Nav Location |
Priority |
| Homepage |
/ |
— |
Header |
High |
| Features |
/features |
Homepage |
Header |
High |
| Analytics |
/features/analytics |
Features |
Header dropdown |
Medium |
| Pricing |
/pricing |
Homepage |
Header |
High |
| Blog |
/blog |
Homepage |
Header |
Medium |
4. Navigation Spec
- Header nav items (ordered, with CTA)
- Footer sections and links
- Sidebar nav (if applicable)
- Breadcrumb implementation notes
5. Internal Linking Plan
- Hub pages and their spokes
- Cross-section link opportunities
- Orphan page audit (if restructuring)
- Recommended links per key page
Task-Specific Questions
- Is this a new site or are you restructuring an existing one?
- What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business)
- How many pages exist or are planned?
- What are the 5 most important pages on the site?
- Are there existing URLs that need to be preserved or redirected?
- Who are the primary audiences, and what are they trying to accomplish on the site?
Related Skills
- content-strategy: For planning what content to create and topic clusters
- programmatic-seo: For building SEO pages at scale with templates and data
- seo-audit: For technical SEO, on-page optimization, and indexation issues
- page-cro: For optimizing individual pages for conversion
- schema-markup: For implementing breadcrumb and site navigation structured data
- competitor-alternatives: For comparison page frameworks and URL patterns
1---2name: mk-site-architecture3description: When the user wants to plan, map, or restructure their website's page hierarchy, navigation, URL structure, or internal linking. Also use when the user mentions "sitemap," "site map," "visual sitemap," "site structure," "page hierarchy," "information architecture," "IA," "navigation design," "URL structure," "breadcrumbs," "internal linking strategy," "website planning," "what pages do I need," "how should I organize my site," "site navigation" — or in French "plan du site," "arborescence," "structure du site," "hiérarchie des pages," "architecture de l'information," "navigation," "structure des URL," "fil d'Ariane," "maillage interne," "quelles pages me faut-il," "comment organiser mon site." Use this whenever someone is planning what pages a website should have and how they connect. NOT for XML sitemaps (that's technical SEO — see seo-audit). For SEO audits, see seo-audit. For structured data, see schema-markup.4---56# Site Architecture78You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines.910## Single-voice craft (do NOT parallelize)1112A site architecture plan is ONE coherent structural recommendation delivered in one expert IA voice. Do **not** fan this out to parallel agents — a split sitemap, navigation spec, and URL map produced by different workers will contradict each other (mismatched depth, inconsistent URL parents, orphaned nodes). One architect holds the whole tree in their head so every level coheres. Run the whole plan in a single pass.1314**Craft upgrades (apply every time):**151. **Tree-integrity pass before output.** After drafting the hierarchy, walk it once: every node has exactly one parent, every URL path mirrors that parent chain, no page sits 4+ clicks from home without justification, no node is an orphan (zero inbound links). Fix contradictions before presenting.162. **Decide, justify, decide.** When the user gives partial context, pick the strongest IA pattern for their site type (from the Site Types table) and state the one-line rationale — don't stall on missing detail. Flat-by-default; add a level only when a nav zone exceeds ~7 items.173. **Redirect ledger when restructuring.** If existing URLs change, every old URL gets an explicit `old → new` 301 row. Never silently rename a path — lost backlink equity is the single most expensive IA mistake.1819**OUTPUT CONTRACT** (every run produces all five, in this order): (1) Page Hierarchy ASCII tree with URLs, (2) Visual Sitemap Mermaid `graph TD`, (3) URL Map table, (4) Navigation Spec, (5) Internal Linking Plan — plus a redirect ledger when restructuring. See the Output Format section for the exact shapes.2021**VERIFY before declaring done:** (a) ASCII tree and URL Map table list the **same** set of pages — no page in one but missing from the other; (b) every URL in the table reflects its `Parent` column; (c) ≤7 header-nav items, CTA rightmost; (d) zero orphan pages (each has ≥1 inbound internal link); (e) if restructuring, every changed URL has a 301 row.2223**No-hallucination guardrail:** Recommend only pages the business context supports — do not invent product features, blog categories, or sections the user never mentioned. If you propose a page on best-practice grounds (e.g., a `/pricing` page they omitted), label it `[suggested]` and say why. Ground every page in stated business goals, audiences, or the read product-marketing-context file — not in a generic template copied wholesale.2425## Portability note2627This skill is filesystem-only and runs anywhere — its sole external touchpoint is an optional `.agents/product-marketing-context.md` (or `.claude/product-marketing-context.md`) context file. If neither exists, gather context via the questions below; no VPS or OmegaOS infrastructure is required.2829## Before Planning3031**Check for product marketing context first:**32If `.agents/product-marketing-context.md` exists (or `.claude/product-marketing-context.md` in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.3334Gather this context (ask if not provided):3536### 1. Business Context37- What does the company do?38- Who are the primary audiences?39- What are the top 3 goals for the site? (conversions, SEO traffic, education, support)4041### 2. Current State42- New site or restructuring an existing one?43- If restructuring: what's broken? (high bounce, poor SEO, users can't find things)44- Existing URLs that must be preserved (for redirects)?4546### 3. Site Type47- SaaS marketing site48- Content/blog site49- E-commerce50- Documentation51- Hybrid (SaaS + content)52- Small business / local5354### 4. Content Inventory55- How many pages exist or are planned?56- What are the most important pages? (by traffic, conversions, or business value)57- Any planned sections or expansions?5859---6061## Site Types and Starting Points6263| Site Type | Typical Depth | Key Sections | URL Pattern |64|-----------|--------------|--------------|-------------|65| SaaS marketing | 2-3 levels | Home, Features, Pricing, Blog, Docs | `/features/name`, `/blog/slug` |66| Content/blog | 2-3 levels | Home, Blog, Categories, About | `/blog/slug`, `/category/slug` |67| E-commerce | 3-4 levels | Home, Categories, Products, Cart | `/category/subcategory/product` |68| Documentation | 3-4 levels | Home, Guides, API Reference | `/docs/section/page` |69| Hybrid SaaS+content | 3-4 levels | Home, Product, Blog, Resources, Docs | `/product/feature`, `/blog/slug` |70| Small business | 1-2 levels | Home, Services, About, Contact | `/services/name` |7172**For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md)7374---7576## Page Hierarchy Design7778### The 3-Click Rule7980Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong.8182### Flat vs Deep8384| Approach | Best For | Tradeoff |85|----------|----------|----------|86| Flat (2 levels) | Small sites, portfolios | Simple but doesn't scale |87| Moderate (3 levels) | Most SaaS, content sites | Good balance of depth and findability |88| Deep (4+ levels) | E-commerce, large docs | Scales but risks burying content |8990**Rule of thumb**: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy.9192### Hierarchy Levels9394| Level | What It Is | Example |95|-------|-----------|---------|96| L0 | Homepage | `/` |97| L1 | Primary sections | `/features`, `/blog`, `/pricing` |98| L2 | Section pages | `/features/analytics`, `/blog/seo-guide` |99| L3+ | Detail pages | `/docs/api/authentication` |100101### ASCII Tree Format102103Use this format for page hierarchies:104105```106Homepage (/)107├── Features (/features)108│ ├── Analytics (/features/analytics)109│ ├── Automation (/features/automation)110│ └── Integrations (/features/integrations)111├── Pricing (/pricing)112├── Blog (/blog)113│ ├── [Category: SEO] (/blog/category/seo)114│ └── [Category: CRO] (/blog/category/cro)115├── Resources (/resources)116│ ├── Case Studies (/resources/case-studies)117│ └── Templates (/resources/templates)118├── Docs (/docs)119│ ├── Getting Started (/docs/getting-started)120│ └── API Reference (/docs/api)121├── About (/about)122│ └── Careers (/about/careers)123└── Contact (/contact)124```125126**When to use ASCII vs Mermaid**:127- ASCII: quick hierarchy drafts, text-only contexts, simple structures128- Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns129130---131132## Navigation Design133134### Navigation Types135136| Nav Type | Purpose | Placement |137|----------|---------|-----------|138| Header nav | Primary navigation, always visible | Top of every page |139| Dropdown menus | Organize sub-pages under parent | Expands from header items |140| Footer nav | Secondary links, legal, sitemap | Bottom of every page |141| Sidebar nav | Section navigation (docs, blog) | Left side within a section |142| Breadcrumbs | Show current location in hierarchy | Below header, above content |143| Contextual links | Related content, next steps | Within page content |144145### Header Navigation Rules146147- **4-7 items max** in the primary nav (more causes decision paralysis)148- **CTA button** goes rightmost (e.g., "Start Free Trial," "Get Started")149- **Logo** links to homepage (left side)150- **Order by priority**: most important/visited pages first151- If you have a mega menu, limit to 3-4 columns152153### Footer Organization154155Group footer links into columns:156- **Product**: Features, Pricing, Integrations, Changelog157- **Resources**: Blog, Case Studies, Templates, Docs158- **Company**: About, Careers, Contact, Press159- **Legal**: Privacy, Terms, Security160161### Breadcrumb Format162163```164Home > Features > Analytics165Home > Blog > SEO Category > Post Title166```167168Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page.169170**For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md)171172---173174## URL Structure175176### Design Principles1771781. **Readable by humans** — `/features/analytics` not `/f/a123`1792. **Hyphens, not underscores** — `/blog/seo-guide` not `/blog/seo_guide`1803. **Reflect the hierarchy** — URL path should match site structure1814. **Consistent trailing slash policy** — pick one (with or without) and enforce it1825. **Lowercase always** — `/About` should redirect to `/about`1836. **Short but descriptive** — `/blog/how-to-improve-landing-page-conversion-rates` is too long; `/blog/landing-page-conversions` is better184185### URL Patterns by Page Type186187| Page Type | Pattern | Example |188|-----------|---------|---------|189| Homepage | `/` | `example.com` |190| Feature page | `/features/{name}` | `/features/analytics` |191| Pricing | `/pricing` | `/pricing` |192| Blog post | `/blog/{slug}` | `/blog/seo-guide` |193| Blog category | `/blog/category/{slug}` | `/blog/category/seo` |194| Case study | `/customers/{slug}` | `/customers/acme-corp` |195| Documentation | `/docs/{section}/{page}` | `/docs/api/authentication` |196| Legal | `/{page}` | `/privacy`, `/terms` |197| Landing page | `/{slug}` or `/lp/{slug}` | `/free-trial`, `/lp/webinar` |198| Comparison | `/compare/{competitor}` or `/vs/{competitor}` | `/compare/competitor-name` |199| Integration | `/integrations/{name}` | `/integrations/slack` |200| Template | `/templates/{slug}` | `/templates/marketing-plan` |201202### Common Mistakes203204- **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`.205- **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible.206- **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked.207- **IDs in URLs** — `/product/12345` is not human-readable. Use slugs.208- **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`.209- **Inconsistent patterns** — Don't mix `/features/analytics` and `/product/automation`. Pick one parent.210211### Breadcrumb-URL Alignment212213The breadcrumb trail should mirror the URL path:214215| URL | Breadcrumb |216|-----|-----------|217| `/features/analytics` | Home > Features > Analytics |218| `/blog/seo-guide` | Home > Blog > SEO Guide |219| `/docs/api/auth` | Home > Docs > API > Authentication |220221---222223## Visual Sitemap Output (Mermaid)224225Use Mermaid `graph TD` for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones.226227### Basic Hierarchy228229```mermaid230graph TD231 HOME[Homepage] --> FEAT[Features]232 HOME --> PRICE[Pricing]233 HOME --> BLOG[Blog]234 HOME --> ABOUT[About]235236 FEAT --> F1[Analytics]237 FEAT --> F2[Automation]238 FEAT --> F3[Integrations]239240 BLOG --> B1[Post 1]241 BLOG --> B2[Post 2]242```243244### With Navigation Zones245246```mermaid247graph TD248 subgraph Header Nav249 HOME[Homepage]250 FEAT[Features]251 PRICE[Pricing]252 BLOG[Blog]253 CTA[Get Started]254 end255256 subgraph Footer Nav257 ABOUT[About]258 CAREERS[Careers]259 CONTACT[Contact]260 PRIVACY[Privacy]261 end262263 HOME --> FEAT264 HOME --> PRICE265 HOME --> BLOG266 HOME --> ABOUT267268 FEAT --> F1[Analytics]269 FEAT --> F2[Automation]270```271272**For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md)273274---275276## Internal Linking Strategy277278### Link Types279280| Type | Purpose | Example |281|------|---------|---------|282| Navigational | Move between sections | Header, footer, sidebar links |283| Contextual | Related content within text | "Learn more about [analytics](/features/analytics)" |284| Hub-and-spoke | Connect cluster content to hub | Blog posts linking to pillar page |285| Cross-section | Connect related pages across sections | Feature page linking to related case study |286287### Internal Linking Rules2882891. **No orphan pages** — every page must have at least one internal link pointing to it2902. **Descriptive anchor text** — "our analytics features" not "click here"2913. **5-10 internal links per 1000 words** of content (approximate guideline)2924. **Link to important pages more often** — homepage, key feature pages, pricing2935. **Use breadcrumbs** — free internal links on every page2946. **Related content sections** — "Related Posts" or "You might also like" at page bottom295296### Hub-and-Spoke Model297298For content-heavy sites, organize around hub pages:299300```301Hub: /blog/seo-guide (comprehensive overview)302├── Spoke: /blog/keyword-research (links back to hub)303├── Spoke: /blog/on-page-seo (links back to hub)304├── Spoke: /blog/technical-seo (links back to hub)305└── Spoke: /blog/link-building (links back to hub)306```307308Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant.309310### Link Audit Checklist311312- [ ] Every page has at least one inbound internal link313- [ ] No broken internal links (404s)314- [ ] Anchor text is descriptive (not "click here" or "read more")315- [ ] Important pages have the most inbound internal links316- [ ] Breadcrumbs are implemented on all pages317- [ ] Related content links exist on blog posts318- [ ] Cross-section links connect features to case studies, blog to product pages319320---321322## Output Format323324When creating a site architecture plan, provide these deliverables:325326### 1. Page Hierarchy (ASCII Tree)327Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section.328329### 2. Visual Sitemap (Mermaid)330Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful.331332### 3. URL Map Table333334| Page | URL | Parent | Nav Location | Priority |335|------|-----|--------|-------------|----------|336| Homepage | `/` | — | Header | High |337| Features | `/features` | Homepage | Header | High |338| Analytics | `/features/analytics` | Features | Header dropdown | Medium |339| Pricing | `/pricing` | Homepage | Header | High |340| Blog | `/blog` | Homepage | Header | Medium |341342### 4. Navigation Spec343- Header nav items (ordered, with CTA)344- Footer sections and links345- Sidebar nav (if applicable)346- Breadcrumb implementation notes347348### 5. Internal Linking Plan349- Hub pages and their spokes350- Cross-section link opportunities351- Orphan page audit (if restructuring)352- Recommended links per key page353354---355356## Task-Specific Questions3573581. Is this a new site or are you restructuring an existing one?3592. What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business)3603. How many pages exist or are planned?3614. What are the 5 most important pages on the site?3625. Are there existing URLs that need to be preserved or redirected?3636. Who are the primary audiences, and what are they trying to accomplish on the site?364365---366367## Related Skills368369- **content-strategy**: For planning what content to create and topic clusters370- **programmatic-seo**: For building SEO pages at scale with templates and data371- **seo-audit**: For technical SEO, on-page optimization, and indexation issues372- **page-cro**: For optimizing individual pages for conversion373- **schema-markup**: For implementing breadcrumb and site navigation structured data374- **competitor-alternatives**: For comparison page frameworks and URL patterns