A multi-pass system for building Hub web pages. You must complete each phase fully before advancing. Skipping phases produces inferior work.
Do this first, every time.
modules/01-brief-and-inputs.md if requirements are unclearOutput: Confirm your understanding of the brief back to the user in 2-3 sentences. Ask clarifying questions if needed. Do not proceed until the brief is clear.
Create the page structure using comment blocks only. No functional HTML yet.
modules/02-structure-decisions.md to inform hero choice, section rhythm, and background strategyEach section must be a comment block with these five fields:
<!-- SECTION: [Name] -->
<!--
GOAL: What this section must achieve for the narrative
DIRECTIVE: Component type and approach (e.g., "Animated hero with programmatic background - mesh gradient + particles")
CONTENT: Key copy points or source material to draw from
ASSETS: Visual requirements (e.g., "needs event photography" or "programmatic background - no image needed")
RESPONSIVE: Notes on mobile behavior or risk areas (e.g., "pill buttons wrap", "code blocks overflow", "stack on small screens")
-->
<section id="[name]-placeholder"></section>
Before proceeding, verify:
Output: The complete skeleton. Proceed to Phase 2 unless the user has explicity asked you to stop after Phase 1 (ie where they may want to request changes to structure, emphasis, or section order).
Build one section at a time. Do not batch multiple sections.
modules/02-structure-decisions.mdmodules/03-components-and-sections.mdmodules/04-brand-system.mdmodules/05-image-use.mdmodules/06-tone-of-voice.mdsnippets/references/programmatic-backgrounds.mdBefore moving to the next section:
modules/04-brand-system.md § Contrast Rules)Output: The complete section. Proceed to Phase 3 unless the user has explicity asked you to stop after Phase 2 (ie where they may want to request changes to the section’s content, design, or functionality).
Build one page at a time. Do not batch multiple pages.
Run the checklist from modules/04-brand-system.md § Brand Application Checklist
Output: Present the finished page to the user.
Consult these during Phase 1 and Phase 2 as needed:
| Module | Use During | Purpose |
|---|---|---|
modules/01-brief-and-inputs.md |
Phase 0 | Clarifying requirements, environment setup |
modules/02-structure-decisions.md |
Phase 1, Phase 2 (heroes) | Hero types, section rhythm, backgrounds |
modules/03-components-and-sections.md |
Phase 2 | Section patterns, grids, cards, animations |
modules/04-brand-system.md |
Phase 2, Phase 3 | Colours, typography, contrast rules, checklist |
modules/05-image-use.md |
Phase 2 | Sourcing and treating images |
modules/06-tone-of-voice.md |
Phase 2 | Writing copy that sounds like the Hub |
snippets/templates/ — Starting-point HTML for common patternssnippets/references/helper-classes.md — Utility class quick referencesnippets/references/logo-carousel.md — Partner logo implementationsnippets/references/programmatic-backgrounds.md — Building blocks for animated/generative backgrounds when no photography is availableNever skip the skeleton. Even for “simple” pages. The skeleton is where bad decisions get caught early.
Never batch-write all sections at once. Sequential building maintains quality and allows course correction.
Wait for user approval after Phase 1. Structure changes are cheap; code changes are expensive.
Invention over templates. The snippets and examples are starting points. Every page should have at least one element that feels custom to its content.
Photography first, programmatic second. Real images of real people and places create authenticity. Use programmatic backgrounds when photography isn’t available or doesn’t fit the content.