Skip to content

tr-new-site — Build a New Site

Triggers on: “create a new site”, “bootstrap a site for…”, “build a site for [client name]“

Claude runs through a complete site setup in one session:

  1. Reads the current site state
  2. Updates site settings (name, language, fonts, colour palette)
  3. Creates the header partial (logo + navigation)
  4. Creates the footer partial (contact info, social links, copyright)
  5. Creates the homepage (hero + sections)
  6. Creates inner pages (About, Services, Contact, etc.)
  7. Gets a preview link for review
  8. Deploys after your approval
Create a site for Björk & Partners — a law firm in Gothenburg.
Professional look: dark navy, gold accent, serif headings (Playfair Display),
clean sans-serif body (Inter). Pages: Start, Om oss, Tjänster, Kontakt.
Swedish. The contact page should have a form.
  • One <h1> per page — the page title. Sections use <h2>.
  • CSS variables for all colours and fontsvar(--color-primary), var(--font-heading), etc. Never hardcoded hex values in content HTML.
  • Responsive layout — CSS grid with auto-fill and minmax(). No fixed pixel widths.
  • Navigation in the header partial — not duplicated in page bodies.
  • Footer in the footer partial — not in page bodies.
TokenPurpose
--color-primaryMain brand colour. Buttons, links, key highlights.
--color-secondarySupporting colour. Section backgrounds, cards.
--color-accentPop colour. CTAs, hover states, badges.
--color-backgroundPage background (usually near-white or very light).
--color-surfaceCard/panel background — slightly different from background.
--color-textMain body text.
--color-text-lightMuted text: captions, metadata, placeholders.
  • tr-brand — refine the colour palette and typography after initial setup
  • tr-blog — add a blog section
  • tr-forms — add a contact or booking form