/website-builder-toolkit:site-structurefrom website-builder-toolkit
Plans or reworks website structure: page inventory, search intent types, pillars/clusters, sitemap, navigation, breadcrumbs, content model, URLs, and redirects. Use for new sites, relaunches, or when navigation is messy.
Ships in website-builder-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Decides which pages exist, what each one is for and how they connect, before any single page gets a direction. Composes with: site-brand (audience, offer, facts), site-direction (runs per page after this), site-copy (labels and page names), site-verify (checks after a migration), and the stack skills site-etch, site-bricks for how the content model is built.
Output: website-builder/structure.md from template.md (create the folder if it is missing), plus the inventory from step 1.
Run the crawler from this skill's folder:
node scripts/inventory.mjs https://example.com --max 500
It reads robots.txt and the sitemap (or crawls when there is none) and writes website-builder/structure/inventory-<date>/ with one row per URL: status, redirects, title, description, canonical, H1, word count, internal links, click depth, JSON-LD types, and findings such as duplicate titles, orphans, deep pages, noindex pages in the sitemap and redirect chains. Details: scripts/README.md.
Then add per page, by hand or with the user: its job (one sentence), its audience, its search intent (see step 2), and a verdict: keep, merge, move, rewrite, delete. Search Console data, if available, decides which pages carry traffic and must not lose their URL.
The type of a page follows the reader's intent and the page's job, not its topic. One topic usually needs several types:
| Type | Job | Typical intent | Example |
|---|---|---|---|
| Offer / service | explain the offer, start an enquiry | commercial: "software for …", "… prices", "… near me" | service page |
| Product | one device or product in detail | product name, comparison | product page |
| Guide | answer a question, prepare a decision | "how", "when", "do I have to" | guide article |
| Glossary | define a term | "what is …" | glossary entry |
| Case study | one customer story as its own page | trust, industry | reference page |
| Location | address, people, area | " " | location page |
| Help | solve a problem | error, how-to | help article |
| News, event, job | current, dated | news, date, job title | post, event, vacancy |
| Landing page | campaign or permanent page with a short URL | one campaign or one search term | campaign page |
Each page gets one main search term. The term comes from search data, not from the brand's own wording: run site-seo step 1 for every page that should rank and record term, secondary terms and source in structure.md. Without data, write the term as (assumed). Links run from the broad informational pages to the commercial one: glossary → guide → offer.
Reusable blocks are not pages. FAQ answers, short testimonials, team members as contact cards, and feature lists are content blocks attached to pages. Keep them out of the sitemap unless they work as pages on their own.
Group offer pages on three levels:
| Level | What | Rule |
|---|---|---|
| Pillar (hub) | top topic, a real page | 3–6 pillars for most small and mid-sized businesses |
| Cluster | topic group with a leading page | only with three or more planned pages |
| Page | one offer | belongs to exactly one cluster or directly to the pillar |
From this the rest follows without hand-maintenance: hub pages list their clusters, cluster leaders list their pages, every page shows its siblings, breadcrumbs show pillar › cluster › page.
Sorting a new topic (recipe): 1. Which site leads this topic (if there are sister brands)? 2. Which pillar, which cluster? 3. Which type by intent? 4. Is there a leading page for the cluster? 5. Which relations: products, case studies, contact person, location.
Region is usually a relation to a location page (address, people, phone come from there), not a category.
For each type decide: post type or page, template, fields, taxonomies, relations. Rules:
site-etch (loops, components, conditions), site-bricks (query loops, templates with conditions, components). Plain sites: one data file per collection.scripts/inventory.mjs before and after; site-verify on the moved pages).site-direction and site-copy.structure.md: old URL → new URL → date → reason.(assumed)).Then hand over to site-direction, one page at a time, starting with the page that has the most traffic or the highest commercial value.
Category-typical layouts and labels help the first impression (prototypicality, see docs/EVIDENCE.md). The rest is craft judgment from relaunch practice: one role per page, one leading page per topic, structure before content in migrations.
agents/openai.yaml (opens in a new tab)scripts/README.md (opens in a new tab)scripts/inventory.mjs (opens in a new tab)scripts/test/fixtures/site-a/Upper_Case/index.html (opens in a new tab)scripts/test/fixtures/site-a/_routes.json (opens in a new tab)scripts/test/fixtures/site-a/about/index.html (opens in a new tab)scripts/test/fixtures/site-a/contact/index.html (opens in a new tab)scripts/test/fixtures/site-a/de/index.html (opens in a new tab)scripts/test/fixtures/site-a/index.html (opens in a new tab)scripts/test/fixtures/site-a/level1/index.html (opens in a new tab)scripts/test/fixtures/site-a/level1/level2/index.html (opens in a new tab)scripts/test/fixtures/site-a/level1/level2/level3/index.html (opens in a new tab)scripts/test/fixtures/site-a/level1/level2/level3/level4/index.html (opens in a new tab)scripts/test/fixtures/site-a/noindex/index.html (opens in a new tab)scripts/test/fixtures/site-a/orphan/index.html (opens in a new tab)scripts/test/fixtures/site-a/private/area/index.html (opens in a new tab)scripts/test/fixtures/site-a/robots.txt (opens in a new tab)scripts/test/fixtures/site-a/services/index.html (opens in a new tab)scripts/test/fixtures/site-a/services/web/index.html (opens in a new tab)scripts/test/fixtures/site-a/sitemap-pages.xml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub tobiashaas/website-builder-toolkit --plugin website-builder-toolkit16 skills in this plugin
/site-accessibilityCheck a page, screen or component against WCAG 2.2 level AA, with AAA targets where the brand profile asks for them: contrast of the whole brand palette with the bundled script, an axe-core or Lighthouse scan, then a keyboard walk, a screen reader smoke test, zoom, reflow and reduced motion by hand. Use before handing over any page, when building forms, navigation, dialogs or motion, or when asked about accessibility, a11y, barrier-free, barrierefrei, WCAG, BFSG, European Accessibility Act, EAA, EN 301 549, contrast ratio, focus, screen reader, alt text, keyboard./site-acssApply the toolkit rules in projects that use Automatic.css (ACSS): map spacing, color, type, layout and motion to real ACSS tokens and utilities, never invent token names, use bg-- utilities for contextual color, grid-first mobile-first layout. Use whenever a project loads Automatic.css, in any builder./site-auditFind what makes a page, screen, carousel or text read as AI-generated or off-brand: run slop-lint, then walk the tell list on the rendered result and list every finding with where it lives. Use when reviewing agent-built UI or copy, before redesigning, when asked to unslop or de-slop, or when something looks generic, templated or vibe-coded. Triggers on purple gradients, gradient text, glows, emoji icons, sparkles, pill badges, centered heroes, three-card grids, greeting headlines, hype words, fake proof./site-brandCreate or update the brand profile (brand.md) that every toolkit skill and slop-lint read: colors, type, shape, imagery, motion stance, voice, banned words, facts with sources and claims never to make. Use when a project has no brand.md, when starting work for a new brand or client, when existing guidelines (brand guide, website, style sheets, docs) should become a profile, or when the user wants to define or update a voice or design language./site-bricksApply the toolkit rules on sites built with Bricks Builder: global classes, variables, palettes and theme styles instead of element literals, safe write paths, naming, verifying on the frontend, Bricks with or without Automatic.css. Use whenever an agent reads or writes a Bricks site./site-copyWrite or rewrite copy in a brand's voice without AI tells: headlines, body, UI labels, empty and error states, dashboards, social posts and carousels, in German or English. Uses only facts from the brand profile, never invents numbers, customers or promises. Use whenever text is written or changed, when copy sounds generic, hyped or machine-written, or when applying a voice or tone guide.