/hildegard:hildegard-designfrom hildegard
Designs posters, flyers, social posts, covers, invitations, menus, signs, banners, and logos using HTML and SVG at exact print sizes. Guides layout, typography, color, and copy.
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 poster or post that a person would print, pin or share. It is built as one HTML file at its exact size (inline CSS and SVG, fonts from Google Fonts), rendered to an image, and checked line by line before you hand it over. This skill is all you need for it.
| Feel | Headline | Text |
|---|---|---|
| Church, community, heritage | Libre Caslon Display or Cormorant | Libre Franklin or Source Sans 3 |
| Hardware, sale, sports, loud | Anton or Oswald | Archivo or Roboto Condensed |
| Folk, farm, bluegrass, rustic | Alfa Slab One or Rye | Bitter or Cabin |
| Wedding, formal, gala | Cormorant Garamond (600 or bolder) | Montserrat |
| Kids, playful | Fredoka | Nunito |
| Modern, tech, clean | DM Serif Display or Syne | Manrope or IBM Plex Sans |
| Colors come from the subject's own world (harvest gold and barn red, hymnal navy and candle cream), plus one dark | ||
| and one light for text. Text must stand out: dark on light or light on dark, never mid on mid. |
text-wrap: balance. Use CSS grid or flex with gap, never absolute positions for text. Space separates the
groups (headline, the when and where, the details); it never sits as an empty band. If a third of the canvas is
empty, make the headline or the picture bigger.Render at the exact size:
chromium --headless=new --hide-scrollbars --window-size=1080,1350 --screenshot=design.png design.html
# or google-chrome / chrome / msedge with the same flags; or Playwright's page.screenshot()
npx playwright screenshot --viewport-size=1080,1350 "file://$PWD/design.html" design.png # if no browser is installed
No browser and no Node (a chatbot)? Use the code tool's Chromium or Playwright if it has one. If nothing can render, hand over the HTML, say plainly that it is unrendered and unchecked, and ask your user to open it and tell you what they see.
Open design.png and look at it at full size. Then check each line, one at a time, against the copy deck:
&, &, ·, quotes or bullets that aren't in the copy deck. An ampersand in a
headline ("Fall & Festival") that the brief doesn't have is a bug.If any check fails, fix the HTML (wider box, smaller size, shorter line, remove the extra) and render again. Never hand over a design you haven't rendered and read.
For a picture in the design, use your user's own photo, an SVG shape (step 5), or the image tool they have (the hildegard-art skill): ask for the picture alone, with room left for text, and place the text in HTML. Never ask an image model to write the words; it misspells them.
Before rendering, run the static Floor linter python3 scripts/check_design.py --html design.html (and
python3 scripts/check_design.py --design-md design.md when maintaining a persistent visual identity). Every rule below
is enforced mechanically:
:root tokens: declare every colour (--bg, --ink, --accent) and font family
(--font-head, --font-body) inside :root { ... }. Never write literal hex/rgb colours or raw font-family
values outside :root; use var(--*) everywhere else.transition: all, and never animate width, height, top, or left. Animate
transform or opacity only, and always include @media (prefers-reduced-motion: reduce) when transitions or
keyframes are present.overflow-x: clip on html, body (never 100vw and never overflow-x: hidden). Give
every interactive element (button, a, input) a visible :focus-visible style.<h1>Title <em>word</em></h1>), or filler copy (Lorem ipsum, Unlock the power of, reimagined).Minimal clean HTML/CSS Floor pattern:
<!doctype html>
<html lang="en">
<head><meta charset="utf-8"><title>Event Title</title>
<style>
:root {
--bg: #f6f1e7;
--ink: #1e1b18;
--accent: #a63d28;
--font-head: "Libre Caslon Display", serif;
--font-body: "Libre Franklin", sans-serif;
}
html, body { overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--font-body); }
h1 { font-family: var(--font-head); }
a, button { background: var(--accent); color: var(--bg); transition: transform 160ms ease-out; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { a, button { transition: none; } }
</style></head>
<body><main><h1>Event Title</h1><p>Date and place.</p><button type="button">Register</button></main></body>
</html>
Persistent design.md format: embed tokens in YAML front matter (--- ... ---) and/or fenced yaml blocks with
unique top-level keys (version, name, colors, typography, spacing, rounded, motion, components; never
define the same top-level key twice). Start line 1 with --- (no heading above ---), define colors: once with quoted hex values ("#1A1C1E"), and cross-reference only keys defined in colors: with {colors.primary}, and keep any `@path/file.ext` external references relative inside the design.md folder:
---
version: alpha
name: Brand Name
colors:
primary: "#1A1C1E"
surface: "#F6F1E7"
accent: "#A63D28"
---
## Components
```yaml
components:
button:
bg: "{colors.primary}"
```
When asked for a logo, icon mark, monogram, or brand lockup, build clean, flattened, self-contained vector SVG geometry (never raster-wrapped <image> tags and never live <text> in final delivery) and verify every file mechanically with python3 scripts/check_design.py --logo logo.svg (add --surface "#FFFFFF" or --surface "#111111" for target-surface WCAG contrast, or --allow-draft-text only for early draft lockups):
skia-pathops in Python or paper.js in JS; vtracer only when tracing rough sketches, then simplify). Never fake a hollow cutout by painting a white shape on top of a dark shape (it breaks dark mode); use a single <path fill-rule="evenodd" d="..."/> or boolean difference so the cutout is truly transparent.<text> nodes in final delivery logo SVGs (fonts silently substitute on other machines). Convert glyphs to <path> outlines (opentype.js or fonttools) before final signoff; use --allow-draft-text only while iterating on draft lockups (including pure wordmark drafts).viewBox, clearspace, and 16 px micro-legibility:
xmlns="http://www.w3.org/2000/svg" and an explicit 4-number unitless viewBox="0 0 W H" (plus positive width/height matching the aspect ratio when specified).svg, g, path, rect, circle, ellipse, line, polygon, polyline, title, desc; plus text/tspan only with --allow-draft-text) and direct presentation attributes only (fill, stroke, stroke-width, transform, color, etc.). Zero style attributes, zero <style>/<use>/<defs>/<clipPath>/<mask>/<a>/nested <svg>/SMIL/<script>/<image>/<foreignObject>/<textPath>/<metadata>, zero href/src/on*/url(...)/display/visibility/mix-blend-mode, zero <?xml-stylesheet?> or external/data: URIs, and zero non-SVG elements.<rect> filled with the surface color (#FFFFFF or #111111). Draw ONLY the mark's own high-contrast ink shapes.check_design.py --logo): >= 4% clearspace on all four sides of viewBox, strokes and features (including filled path/polygon/polyline widths) >= min(W, H) / 32 (>= 0.5 px at 16 px favicon), 1..64 shapes, and <= 400 executed path commands and polygon/polyline vertices.10%-15% clearspace inset (keep every shape inside 15%..85% of W and H, never touching 0, W, or H) and >= 8% stroke width of min(W, H). Remember: if x is 16 inside a 64 box, width must be <= 32 (not 48, because 16 + 48 = 64 hits the edge).opacity / fill-opacity / stroke-opacity < 1, or translucent alpha colors 0 < alpha < 1) so the silhouette reads identically in 1-color monochrome.1..3 distinct valid CSS colors (fill="currentColor" for universal monochrome marks; never unparsed keywords like inherit). Every explicit ink must hit >= 3.0:1 WCAG contrast against the target surface (light #FFFFFF or dark #111111), set directly via fill="..." / stroke="..." attributes (never emit the surface color itself as a fill).svgo (preserving viewBox), raster-check at 16, 32, 64, 256, and 1024 px on light, dark, and monochrome (resvg or headless Chromium), and deliver primary mark, monochrome inverse, horizontal/stacked lockups, and multi-size favicon/PNG exports (sharp / favicons).Minimal clean vector logo patterns (adapt viewBox, colors, and geometry to the brief; checker requires >= 4% clearspace, drafting targets 10%-15%):
<!-- Solid + evenodd hollow cutout mark (light surface #FFFFFF) -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" width="100" height="100">
<path fill="#1A1C1E" fill-rule="evenodd" d="M 16 16 H 84 V 84 H 16 Z M 34 34 H 66 V 66 H 34 Z"/>
<rect x="42" y="42" width="16" height="16" fill="#B8422E"/>
</svg>
<!-- Universal monochrome currentColor mark (works on light and dark) -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
<polygon points="32,10 54,52 10,52" fill="currentColor"/>
</svg>
Final SVG checklist before outputting (enforced by check_design.py --logo plus drafting targets):
fill/stroke presentation attributes only (zero style attributes, <style>, <use>, <defs>, <a>, nested <svg>, SMIL, display/visibility/mix-blend-mode, opacity < 1, or url(...)/data: URIs) and NEVER draw a background <rect> filled with the surface color (#FFFFFF on light or #111111 on dark).>= 4%, drafting target 10%-15%): keep every shape inside 15%..85% of W and H (e.g. x = 20% of W, width = 60% of W), and NEVER let any point, curve extremum, cx + r, x + width, or y + height breach the 4% margin.>= min(W, H) / 32, drafting target >= 8%): use stroke-width at least 8% of min(W, H) and keep cx + r + stroke-width/2 inside 85% of W. For hollow cutouts, use one <path fill-rule="evenodd" d="..."/>, never a white overlay shape.For Gemini 4 Neon and other models that write long or skip constraints:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
graphic-design, poster-design, flyer-design, svg-layout, typography
Other plugins' skills for the same job
npx claudepluginhub students-of-local/hildegard --plugin hildegard17 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./hildegard-blogUse when writing a blog post, newsletter, email, about page, bio or announcement in a person's own voice, learned from their samples and edits after a short interview./hildegard-craftUse before and after generating or editing a picture, video, song, voice or caption, to write the brief, lint the prompt, review each take against the rubric and decide whether to deliver./hildegard-filmUse when planning or making generated video, such as an ad, reel, short film, scene, shot list, storyboard or video-model prompts, rendered with the user's own video model and checked frame by frame.