agentleFS
matteotittamatteotitta/claude-marketing-website/skills/site-architecture/SKILL.md

site-architecture

Skill1 starsChanged 33 days agoMITView on GitHub

Plans a website's page hierarchy, navigation, URL patterns and internal linking before anything gets designed or written. Uses plain rules (every important page within 3 clicks, 4 to 7 main nav items, no orphan pages, pillar and cluster content) and produces a hierarchy diagram, a URL map and an internal linking plan a developer can build from. Use when someone says "site architecture", "sitemap plan", "URL structure", "navigation plan", "internal linking", "hub and spoke" or "how should we organise our site".

68 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use popups, free-tools and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CesarjoquinSkill

    popups

    When the user wants to create or optimize popups, modals, overlays, slide-ins, or banners for conversion purposes. Also use when the user mentions "exit intent," "popup conversions," "modal optimization," "lead capture popup," "email popup," "announcement banner," "overlay," "collect emails with a popup," "exit popup," "scroll trigger," "sticky bar," or "notification bar." Use this for any overlay or interrupt-style conversion element. For forms outside of popups, see cro. For general page conversion optimization, see cro.

    Also in 23 projects that use this

  • CesarjoquinSkill

    free-tools

    When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give it away to attract leads or earn links. For downloadable content lead magnets (ebooks, checklists, templates), see lead-magnets.

    Also in 24 projects that use this

  • coreyhaines31Skill

    marketing-council

    When the user wants several expert takes on a marketing decision, or asks what a famous marketer would say about it: a simulated board (Seth Godin, David Ogilvy, April Dunford, Byron Sharp, and more), each grounded in their documented frameworks, where they disagree, and a recommendation. To execute, hand off to the relevant skill.

    Also in 18 projects that use this

  • ukunal91appSkill

    community-marketing

    Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: "build a community," "community strategy," "Discord community," "Slack community," "community-led growth," "brand advocates," "user community," "forum strategy," "community engagement," "grow our community," "ambassador program," "community flywheel.

    Also in 34 projects that use this

  • Hussain-ElfalahSkill

    andreessen

    Also in 4 projects that use this

  • Hussain-ElfalahSkill

    business-investment-advisor

    Also in 4 projects that use this

  • +4 more from Cesarjoquin
  • +1 more from Hussain-Elfalah

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 64 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before any launch where the page list isn't written down.

    line 17
  2. Very specific:

    Don't use it to judge how well an existing site sells (that's /website-score) or to lay out a single page (that's /website-wireframe).

    line 19
  3. Distinctive:

    The page list you have or want: If there's a live site, fetch its nav and sitemap.xml.

    line 23
  4. Distinctive:

    No page without a link to it, and no cluster without a pillar.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 64 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Site architecture

Plan the bones of a site: which pages exist, how they nest, what the URLs look like, what goes in the nav, and how pages link to each other. Search engines and visitors both depend on this being right, and it's far cheaper to fix on paper than after launch.

When to use it

  • Building a new site or microsite.
  • Adding a large batch of content (say 30+ articles) that needs a structure.
  • Merging two products or two sites into one.
  • Before any launch where the page list isn't written down.

Don't use it to judge how well an existing site sells (that's /website-score) or to lay out a single page (that's /website-wireframe).

Inputs

  • The page list you have or want. If there's a live site, fetch its nav and sitemap.xml.
  • context/icp/: so nav labels use the buyer's words, not internal names.
  • context/positioning/: the products, use cases and segments the site must cover.
  • context/competitors/: tells you whether you need comparison and alternative pages.
  • Any content plan or keyword list you already have: it decides the content clusters.

Agency users: swap context/ for clients/<client>/context/. If a context file is missing, ask the user for the product and audience list, and flag the labels you had to guess.

Steps

  1. Pick the depth. Flat (2 levels) suits one product and under 30 pages. Most SaaS sites sit at 2 to 4 levels. Go to 5+ only for many products or verticals. Rule: every important page is reachable from the homepage within 3 clicks. Produces: a chosen depth and a reason.
  2. Group content into hubs. Each topic gets a pillar page (the full overview) and spoke pages (the details). Every spoke links back to its pillar, and to 3 to 5 related spokes. Produces: a list of clusters.
  3. Design the nav zones. Header: 4 to 7 items. Footer: up to 4 columns (product, resources, company, legal). Section sidebars: 5 to 10 items. Breadcrumbs on every interior page. Produces: the nav, item by item.
  4. Lock the URL patterns. See the table below. Rules: human-readable slugs, no dates, URL depth that matches the hierarchy, and one trailing-slash convention used everywhere. Produces: a pattern per page type.
  5. Plan internal links. 5 to 10 internal links per 1,000 words. Every page has at least one link pointing to it. Vary the anchor text. Produces: inbound and outbound links per page.
  6. Write it up in the four formats below. Produces: the deliverable.

URL patterns

Page typePatternExample
Product/product/{name}/product/analytics
Pricing/pricing/pricing
Use case/use-cases/{slug}/use-cases/finance-teams
Comparison/compare/{us}-vs-{them}/compare/acme-vs-rival
Alternative/alternatives/{tool}/alternatives/rival
Blog/blog/{slug}/blog/cold-email-templates
Resources/resources/{type}/{slug}/resources/guides/onboarding-checklist
About/about/about

What good looks like

  • Anyone can find pricing, the main product page and a way to talk to sales in one click.
  • Nav labels are words the buyer uses, checked against the ICP file.
  • No page without a link to it, and no cluster without a pillar.
  • A developer could build the URL map without asking you a question.

Mistakes to avoid

  • Pages 4 or more clicks deep. Visitors and crawlers rarely reach them.
  • More than 7 header items. It overloads the reader and breaks the mobile menu.
  • Date-based URLs like /blog/2026/05/post. They age the content and break when you refresh it.
  • A flat blog with no pillars, which spreads authority thin across unrelated posts.
  • The same exact-match anchor text on every link. It reads as manipulation.
  • Changing live URLs without a redirect plan. Note every old URL that needs a 301.

Output

Save to outputs/website/MMYY-site-architecture.md with four parts:

  1. Hierarchy diagram in plain text:
/
├── /product/
│   ├── /product/analytics
│   └── /product/reporting
├── /pricing
├── /use-cases/{slug}
├── /compare/acme-vs-{competitor}
├── /resources/guides/{slug}
├── /blog/{slug}
└── /about
  1. The same tree as a Mermaid diagram, for docs that render it.
  2. URL map: one row per page with URL, page title, target keyword, status (live, new, redirect).
  3. Internal linking plan: for each page, the pages it links to and from, with anchor text.

Next step: lay out the key pages with /website-wireframe, then write them with /website-copy.

Attribution

Adapted from the site-architecture skill in coreyhaines31/marketingskills (MIT, Corey Haines): https://github.com/coreyhaines31/marketingskills

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.