/hildegard:hildegard-webfrom hildegard
Builds real HTML/CSS web pages, sites, landing pages, portfolios, or UI mockups with responsive design, light/dark mode, and automated audits using Playwright.
Ships in hildegard. 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.
A generated web page is slop when it's the template: a centred hero with a gradient, three icon cards, a testimonial
strip, "Unlock the power of…", and a phone layout nobody looked at. A good page is made the way a designer makes one:
the words first, a system of type, space and colour, the phone and the desktop both designed, and every page looked at
before it ships. The site is a folder of plain files; you render it with Playwright and audit it yourself. The design
is the code, so nothing drifts between the design and what ships. hildegard-craft gives the brief and the gates,
hildegard-loop the rounds; references/slop.md here is the slop catalogue.
If you read nothing else, do these steps.
templates/ into a new site/ folder in your working folder and replace every
word with the real ones. No template fits: start from references/tokens.css and section 3.:root custom properties.site/.python3 scripts/check_design.py --html site/ and
python3 scripts/check_design.py --web-lint site/ --fidelity. Fix every finding; the repair map is in
references/web-lint.md.Make a site/ folder and work in files (index.html, styles.css; the tokens from references/tokens.css). Start
it from:
templates/ here): Hearth (bakery, café, shop), Atelier
(architecture or design studio), Ledger (software product with pricing), Practice (clinic, appointment-led
service), Gathering (conference, festival), Parish (parish, congregation), Manual (documentation), Journal
(long-form essay, newsletter). Each already passes every check. Replace every word with the real ones first; its
template.json gives each picture's aspect and a prompt to render it. Keep the system (the tokens) unless the brand
says otherwise, and keep what makes it pass.Ask, then write it down:
Write the copy before the layout, in the reader's words. Every section answers a question the reader has, in the order they have it. A section you can't say the purpose of goes.
Before any section, set the system as CSS custom properties, light and dark (references/tokens.css is a skeleton to
fill from the brand):
transform and opacity only (never transition: all or animating width, height, top, left), and off under prefers-reduced-motion: reduce.font-family goes through :root custom properties; overflow-x: clip on html and body (never 100vw or overflow-x: hidden); :focus-visible on every interactive element; no purple-to-blue gradients, emoji icons, single-italic-word headings, or filler copy. Run python3 scripts/check_design.py --html site/ (and --design-md design.md when a persistent design.md exists) until all checks pass.Plain, semantic HTML and CSS first: header, nav, main, section with a heading each, footer; one h1;
headings in order; a <label> for every field; alt for every image (empty alt="" for decoration); buttons that
are <button> and links that are <a href>. Mobile first: the base CSS is the phone, min-width media queries add
the wider layouts. Use clamp() for fluid type, grid and flex for layout, aspect-ratio and object-fit for
images, :focus-visible for a visible focus ring. JavaScript only for what needs it.
Images are yours. Use the photos your user gives you first; real product photos beat any generated image. For
anything else, use the image tool your user has (hildegard-art for the art direction), at the exact aspect the
layout needs (a 16:9 hero, a 4:5 portrait card), so there's no stock photo. Export each at two or three widths as WebP
or AVIF with a JPEG fallback, with srcset, sizes, width and height (no layout shift), and loading="lazy"
below the fold. Never generate a person and pass them off as a customer or a team member.
Bring everything in. Fonts, images, scripts and styles all come from the site's own folder, so the page works
offline and loads nothing from a third party. Run grep -rnE "(src|href)=.https?:|url\(.?https?:" site/ and move into
the folder anything it finds that the page loads (a link the reader clicks is fine).
Make the screens, then open each image and look at it (needs Node; the first run may need
npx playwright install chromium):
mkdir -p shots
for size in 390,844 820,1180 1440,900; do for scheme in light dark; do
npx playwright screenshot --viewport-size="$size" --color-scheme="$scheme" --full-page \
"file://$PWD/site/index.html" "shots/index-${size%,*}-$scheme.png"
done; done
Repeat for every page. Then go down the checks below one by one against the screens and the files, as an audit: each
row is a thing to look for, and fail rows come first. Write what you find and what you changed in rounds.md. The
checks:
| Check | What fails it |
|---|---|
loads, errors | the page didn't settle, or a script threw |
overflow | something wider than the screen: sideways scrolling on a phone |
contrast | text below WCAG AA against what's behind it |
alt, images | an image with no alt; a broken image |
names, labels | a button or link with no name; a field with no label |
targets | tap targets under 44 × 44 px on a phone (warn) |
text-size, measure | body text under 16 px; lines over about 80 characters (warn) |
fonts, headings | more than three families; skipped heading levels or no h1 (warn) |
head | no viewport meta or no title (fail); no description or language (warn) |
placeholder, stock-copy, emoji-icons | lorem ipsum and stand-ins; "unlock the power of"-style copy; emoji used as icons |
offline, weight, image-size | requests off the site; a heavy page; images far bigger than they're shown |
dark, motion, focus | dark asked for and not designed; animation that ignores reduced motion; focus outlines removed with nothing in their place |
Then critique with the web questions (intent, hierarchy, content, type, space, colour, specific, responsive, images, states, themes), each with the screen and the width that shows it. Failing checks first, then the worst "no", one change a round. Five rounds is the default.
Variants. To compare directions (a quiet, typographic page against an image-led one), build each in its own folder
(site-a/, site-b/) from the same brief, take each two or three rounds, and put the two sets of screens in front of
your user. Choose by the sentence, not by which is prettier.
Hand over the folder as it last passed your audit (zip it if they want one file), the tokens, and a note: what was checked (every page, three widths, two themes, the lint, nothing loaded from off the site) and what wasn't (real devices, a screen reader, the content your user still owes you). Then, if the site lives in a framework, port it after it passes, keeping the tokens as CSS variables and the markup's structure, and run the screens and the audit once more: a port that changes the render is a regression.
python3 scripts/check_design.py --web-lint site/ --fidelity audits HTML and CSS pages; run --web-lint without
--fidelity on standalone TSX or JSX component files. Every finding prints [rule] file:line | what | why | Fix:.
Get to 0 findings on the six contracts: no-restyle, no-raw-colors, no-arbitrary-values, no-inline-styles,
no-unknown-classes, require-static-classes, plus the --fidelity micro-craft rules. Never pass by stripping
styles. references/web-lint.md has each rule, the one-pass repair map and a clean HTML skeleton and TSX pattern;
read it before your first draft.
Expressive anime-style ("sakuga") controls: keep the real control semantic and plain at rest, and validate with
python3 scripts/check_design.py --sakuga control.json --pre-render before rendering and without --pre-render after
the frame strip. The JSON shape and the rules are in references/sakuga.md.
For Gemini 4 Neon and other models that write long or skip constraints:
:root token and landmark when you repair.references/sakuga.md (opens in a new tab)references/slop.md (opens in a new tab)references/tokens.css (opens in a new tab)references/web-lint.md (opens in a new tab)scripts/check_design.py (opens in a new tab)templates/atelier/art/plan-courtyard.svg (opens in a new tab)templates/atelier/art/plan-house.svg (opens in a new tab)templates/atelier/art/plan-library.svg (opens in a new tab)templates/atelier/index.html (opens in a new tab)templates/atelier/styles.css (opens in a new tab)templates/atelier/template.json (opens in a new tab)templates/gathering/index.html (opens in a new tab)templates/gathering/styles.css (opens in a new tab)templates/gathering/template.json (opens in a new tab)templates/hearth/art/loaf.svg (opens in a new tab)templates/hearth/index.html (opens in a new tab)templates/hearth/styles.css (opens in a new tab)templates/hearth/template.json (opens in a new tab)templates/journal/art/tide.svg (opens in a new tab)templates/journal/index.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
responsive-design, html-css, web-audit, design-system, playwright
17 skills in this plugin
/hildegardUse for /hildegard, /art, /vus, /mus, /suno and any request to make, edit or write creative work; routes images, video, sound, music, 3D, games, web and every kind of writing./hildegard-3dUse when making a 3D model, sculpture, figurine, game asset, relief or lithophane in Blender, OpenSCAD or code, checked each round for views, watertightness and size./hildegard-artUse when making art, an image, illustration, key art, mood board or visual style with the user's image model; posters and covers with words go to hildegard-design.Other plugins' skills for the same job
npx claudepluginhub students-of-local/hildegard --plugin hildegard