Build

Page: website

Page: website

What it is. A working page of HTML, CSS and JavaScript that runs: calculators, quizzes, trackers, small tools and games, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. Ask for it in plain words: “Build a landing page in Artifacts for the Flow 3.0 launch, with pricing and a sign-up form.” From its More menu it downloads as HTML (.html). See one an agent made: Flow 3.0 launch page, a full web page with a working savings calculator.

Agents read this guide with the guide tool, topic website, before they first make a working page of this kind. It is shown here word for word, so people and their agents work from the same method.

Guide topic
website

A website is a working page (HTML, CSS and JavaScript that run) that sells, explains or publishes: a landing page, a product or company site, a pricing page, a waitlist, docs, a blog post or article, an FAQ, an email. For a product people use, read topic "prototype"; for a page of the space's numbers, topic "reports"; for a visual on the design canvas, topic "design".

The tools: create_page, read_page, edit_page, render_page, lint_page, find_templates, read_library, code_history and code_diff for its versions, comment, publish_item.

How it is made: these steps, in this order, every time

A website is never designed from your own head. It is designed from three things you read first: a template, the design rules, and one design system. This holds for every website: a long one or a short one, a new item or an empty one someone already made, a request that sounds simple. Skipping a step because the request is small is the mistake this guide exists to stop. Write no HTML before step 5.

  1. Pick a template from the list at the end of this guide: the closest one. Read its guide: guide with its id (website/saas-landing). It gives the workflow, the checklist, and the exact calls for steps 2 to 4.
  2. Read its rules: the one read_library call its guide gives (the design rules and the template's craft rules). The page is held to every one of them.
  3. Pick one design system and read it whole. guide topic "design-systems" lists them by category; read_library the one you pick with paths: ["tokens.css"] (its DESIGN.md comes with it). Pick for this product and its audience, and say why in a sentence. The space's brand (get_space) is for work that speaks as that organisation (its own product, its own site): there the brand replaces the accent color and the font families in the tokens, and nothing else. Work on any other subject keeps the design system's own color and typefaces.
  4. Read the template's finished example, and its seed and layouts when it has them: the read_library call its guide gives. The page takes its structure, its sections and its components from these files. The words, the numbers and the pictures are yours; the design is theirs.
  5. Build it one part at a time. The first call (create_page, or edit_page when the item exists) writes the page's head, the design system's whole :root block pasted as it is, the styles, and the first section, finished. Each next edit_page adds one section. People watch each part appear as it is written. Never a placeholder or an empty shell.
  6. Check once, when it is whole: render_page reports JavaScript errors, the layout at desktop and phone widths, the anti-slop findings and whether the page wears its design system. Fix every must-fix.

When you start writing, tell the person in one sentence which template and which design system you picked.

Nothing invented: no made-up numbers, names of real companies, quotes, reviews or logos. What the person did not give you and you did not read is left out or shown as a visible placeholder to fill.

Sections

Pick the sections before the words, and say the list to the person in one sentence. Default rhythms:

PageSections
Landinghero → three features → stats or a quote → a split section → closing call to action
Marketing or editorialcentered hero → a list of posts or items → call to action
Pricingcentered hero → comparison table → call to action
Docs indexcentered hero → list of doc sections → call to action

No two stat rows, feature triplets or quotes in a row. A section with nothing real to say is the wrong section; pick another. Give every top-level <section> an id so people can comment on it.

Where it runs

In a sandbox of its own: no cookies or localStorage, and nothing from Artifacts. Libraries and fonts load from a CDN by full, pinned URL. Pictures come from find_images and add_asset, never a remote hotlink.

Rules that make it read as designed

  • Headlines under 14 words; a lead of two sentences at most, under 60 characters wide.
  • A button says what happens ("Start free", "Read the story"), not "Get started" or "Learn more". One primary button per action on the page; at most one repeat at the end of a long page.
  • One accent, used at most twice per screen (an eyebrow and the primary button by default).
  • Display type is not Inter, Roboto or Arial; body and display are different families. Numbers (prices, versions, dates) in a tabular face.
  • One decisive flourish: a pull quote, a striking number, a real photograph, or one motion on the hero. One.
  • No invented metrics ("10× faster", "99.9% uptime") unless the person gave them; mark a missing number as a placeholder they can see.
  • Real pictures, embedded or uploaded; never a gray box left as the final image; content pictures keep their full frame.
  • No purple or blue-to-cyan gradients, no emoji icons, no left-border callout cards, no "Feature one".
  • Mobile: every grid collapses to one column at narrow widths; nothing scrolls sideways.

Look at the page for two seconds: if it could be any startup's homepage, replace one feature with something specific to this product (a real screen, a real example of its output) and remove one accent.

Read when a decision needs it

read_library with: "rules/charter" (the whole design charter) and the craft rules "craft/typography", "craft/typography-hierarchy", "craft/color", "craft/laws-of-ux", "craft/accessibility-baseline", "craft/anti-ai-slop". More skills: find_templates kind "skills"; finished examples: kind "examples".

Templates

Each has its own guide: guide with its id as the topic.

  • website/article-magazine: Huashu / huashu-md-html-inspired magazine article layout for turning Markdown or notes into a polished long-form HTML essay.
  • website/blog-post: A long-form article / blog post — masthead, hero image placeholder, article body with figures and pull quotes, author byline, related posts. Use when the brief asks fo…
  • website/digital-eguide: A two-spread digital e-guide preview — page 1 is a cover (display title, author, "What's inside" stats, table of contents teaser); page 2 is a spread (lesson body with…
  • website/docs-page: A documentation page — inline-start nav, scrollable article body, inline-end table of contents. Use when the brief mentions "docs", "documentation", "guide", "API refe…
  • website/email-marketing: A brand product-launch email — masthead with wordmark, hero image block, headline lockup with skewed-italic accent, body copy, primary CTA, and a specifications grid. …
  • website/faq-page: A Frequently Asked Questions (FAQ) page with collapsible accordion sections, search functionality, and category filtering. Use when the brief asks for "FAQ", "help cen…
  • website/kami-landing: Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like …
  • website/magazine-poster: An editorial-style poster — newsprint paper, dateline, oversized serif headline with a struck-through word and italic accent, a 2-column body block, and 6 numbered sec…
  • website/open-design-landing: Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Op…
  • website/pricing-page: A standalone pricing page — header, plan tiers, feature comparison table, and an FAQ. Use when the brief asks for "pricing", "plans", "subscription tiers", or a "compa…
  • website/saas-landing: Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas lan…
  • website/social-carousel: A three-card social-media carousel laid out as 1080×1080 squares — three cinematic, on-brand panels with display headlines that connect across the series ("onwards." →…
  • website/waitlist-page: Minimal pre-launch landing with email capture, brand logo, and optional decorative layer. Reads DESIGN.md for colors, typography, and layout rules. Best for: product l…
  • website/web-prototype-taste-brutalist: Swiss industrial-print web prototype. Newsprint canvas, monolithic black grotesque, viewport-bleeding numerals, hairline grid dividers, hazard-red accent, ASCII syntax…
  • website/web-prototype-taste-editorial: Editorial-minimalist web prototype. Warm monochrome canvas, serif display + grotesque body, 1px hairline borders, muted pastel chips, generous macro-whitespace, ambien…
  • website/web-prototype-taste-soft: Apple-tier soft web prototype. Silver/cream canvas, double-bezel cards, button-in-button CTAs, generous squircle radii, spring motion, ambient mesh. Distilled from Leo…

See it in use