Skill

Site Architecture skill for Claude

Site Architecture plans a new site or restructures an existing one

A 3-minute read, updated

The recorded run

Read the run as text

Restructure our plumbing and heating site, grown messy over six years on WordPress, without losing Google traffic, using the attached Search Console pages export

  • search-console-pages.csv40 rows
Using the skill Site Architecture
Reading 40 pages: 14,925 clicks over 12 months
Clicks by section
  • Service pages6,47218 URLs
  • Homepage3,412
  • Blog2,5039 URLs
  • Company pages1,3717 URLs
  • Town pages1,1675 URLs
Structure problems found4 to check2 failed
  • failed: Service pages split across 3 URL patterns
  • failed: Water heater repair exists 3 times (1,162 clicks split)
  • needs a look: 7 blog URLs carry dates
  • needs a look: Town pages sit at the root instead of under /service-areas/
  • needs a look: Water heater cluster: 22.6% of clicks, no hub page
  • needs a look: 2 dead URLs: ?page_id=212 and the news category, 12 clicks

Plan stays flat. All services move under /services/{slug}/. Grouping lives in the menu rather than the URL, so the 4 HVAC pages already under /services/ keep their URLs.

Redirect map for the pages with the most clicks
Old URLNew URLClicks
/emergency-plumber//services/emergency-plumbing/1,288
/what-we-do/water-heater-repair//services/water-heater-repair/964
/blog/2023/02/tankless-vs-tank-water-heater//blog/tankless-vs-tank-water-heater/911
/what-we-do/drain-cleaning//services/drain-cleaning/802
/plumber-ashgrove//service-areas/ashgrove/571

Header: Services | Service Areas | Reviews | Coupons and Financing | Blog | About Us | Book Service. Down from 11 items. Services dropdown in 4 columns: Emergency, Water Heaters, Plumbing, Heating and Cooling.

Site architecture plan

  • 40 URLs become 36 pages plus a new Water Heaters hub
  • 25 one-to-one 301s carry 8,587 clicks, so test the top 10 by hand
  • Every page sits within 2 clicks and each blog post links to its service page
  • Page tree, Mermaid sitemap, URL map and footer spec included

The run is one sample task, kept exactly as it came out

How it works

How Site Architecture works step by step

It asks about the business

It asks what the company does, who the audiences are, the top 3 goals and whether the site is new or being restructured

Step 1 of 7

How deep the site should go

The skill weighs flat, moderate and deep structures. Two levels suit small sites and portfolios but do not scale, three levels suit most SaaS and content sites, and four or more suit e-commerce and large documentation at the risk of burying content. The 3-click rule is a check rather than a law: if critical pages sit 4 or more levels deep, the plan treats that as a problem.

Navigation rules

The header gets 4 to 7 items, ordered by priority, with the call-to-action button on the far right and the logo linking home. A mega menu is limited to 3 or 4 columns. The footer is grouped into columns such as Product, Resources, Company and Legal, and every breadcrumb segment links except the current page.

URL patterns and common mistakes

It assigns a pattern per page type, for example /features/{name}, /blog/{slug}, /docs/{section}/{page} and /compare/{competitor}. It flags dates in blog URLs, over-nesting, numeric IDs, query parameters used for content and mixed parents such as /features/analytics next to /product/automation. Long slugs get shortened, so a blog post on improving landing page conversion rates becomes /blog/landing-page-conversions.

Internal linking plan

The plan lists hub pages and their spokes, cross-section links such as feature pages to case studies, and recommended links per key page. It uses a guideline of 5 to 10 internal links per 1000 words and descriptive anchor text instead of click here. For a restructure it adds an orphan page audit.

Platforms and migrations

For a platform choice it asks who edits the site, what it must do, how many pages, what has to connect, how much lock-in is acceptable and the cost at real size. It then recommends a shortlist of two or three and keeps the current platform in the running. For a migration it crawls first, keeps URLs where possible and builds one-to-one 301 redirects, then watches Search Console for 404s daily for two weeks and weekly after that.

Rules it keeps

Thresholds and limits written into the skill, each with the reason behind it

  1. The main menu holds four to seven items

    More items in the header make it harder for visitors to choose where to go

  2. Every old URL needs a 301 redirect to its new URL

    Without redirects the site loses backlink value and anyone with the old link lands on a broken page

  3. Never redirect everything to the homepage

    Each old URL should go to its closest new equivalent so the page keeps its relevance

  4. No orphan pages: every page must have at least one internal link pointing to it

    A page that nothing links to is hard for visitors and search engines to find

  5. A menu dropdown with 20 or more items gets another level

    A flat structure only helps while the navigation stays readable

What it needs and what comes back

You give it

  • What the company does, its audiences and top 3 site goals
  • New site or restructure, and what is broken
  • Current page list, most important pages and URLs to keep
  • Search Console and analytics exports for an existing site
  • Current platform and whether a move is planned

It hands back

  • A plan with an ASCII page tree with URLs at every node
  • A Mermaid sitemap with navigation zones
  • A URL map table with parent, nav location and priority per page
  • A header, footer, sidebar and breadcrumb spec
  • An internal linking plan with hubs, spokes and orphan checks

When it helps

  • Before building a new site, to decide which pages it needs
  • When an existing site has grown and visitors can't find things
  • Before moving to a new platform or changing URLs

Prompts to start with

Plan the structure for our new SaaS site: home, product, pricing, about, blog, plus comparison pages and integration pages

Our site has about 60 pages and a messy menu, so suggest a new hierarchy and navigation from this page list

What do we need to do to keep our search traffic when we move our blog from WordPress to Webflow and some URLs change?

Adding it to Claude

claude.ai

Download site-architecture.zip, upload it still zipped in Settings, Capabilities, Skills and ask for the job in a new chat, as Anthropic's help article on using skills in Claude shows

Claude Code

unzip site-architecture.zip -d ~/.claude/skills/

To use it in one project only, move the site-architecture folder into that project's .claude/skills/, as the Claude Code skills docs describe

Inside the zip

site-architecture.zip8 files in 25 KB
  • site-architecture/
  • CHANGES.md4 KB
  • SKILL.md20 KB
  • evals/
  • evals.json8 KB
  • references/
  • mermaid-templates.md5 KB
  • navigation-patterns.md10 KB
  • platforms-and-migration.md10 KB
  • site-type-templates.md9 KB

Questions

Does it build the pages or set up redirects?

No, it plans the hierarchy, URLs, navigation and redirect map, and you build the pages and redirects in your CMS or on your server

Will it tell me which website builder to use?

It shortlists two or three platforms such as Webflow or WordPress, based on who edits the site, page count and integrations, and says when staying put makes more sense

More in Technical SEO