Anti-AI-slop design skill for Claude Code, Cursor, and Codex.
CSS
Gate 68 counts what reads as a wireframe, not every fourth slot
Youssef2fdeeaf13962
diff --git a/skills/hallmark/references/craft.md b/skills/hallmark/references/craft.mdindex 4fac0e4..5a32f9a 100644--- a/skills/hallmark/references/craft.md+++ b/skills/hallmark/references/craft.md@@ -139,7 +139,7 @@ Four recipes, one per material family:- **Dark** (atmospheric, night): `linear-gradient(170deg, var(--color-paper-2), var(--color-paper-3))`, a 1px inset ring of ink at 8% alpha; label bottom-right in `--color-muted`. Only a theme whose genre allows blooms adds one radial in the accent at 20% alpha from a corner; a theme that bans radial light keeps the flat step.- **Print object** (playful, riso, sticker): the accent field with a 2px ink border, a second colour block offset 8px behind it (zero blur), a dashed kiss-cut line inset 6px; label as a small rotated tag in the corner.-Where slots go: the hero visual on any product page, beside the text; a demo strip of three or four slots with one label of three words or fewer each (this replaces the three-card feature grid); photo slots on business pages. Two or three slots carry a product page; more only when the user has handed over the images. A set of things the page does not have pictures of (a team, a range, a list of venues) is set in type, names and facts in a list or a table, with one slot at most: four empty frames in a row is a wireframe, not a page (68). Inside a slot, sketch the product's own structure from what the brief says it does (rows for a ledger, a waveform for audio, a list for an inbox) in three to five shapes, so the placeholder reads as this product waiting for its screenshot, never as a grey box. Ask for the material once at Step 1; given images go straight in and are named in the Picks block; "leave slots" or silence builds the placeholders and the handoff lists every slot, its size and what belongs there.+Where slots go: the hero visual on any product page, beside the text; a demo strip of three or four slots with one label of three words or fewer each (this replaces the three-card feature grid); photo slots on business pages. Two to four slots carry a product page; more only when the user has handed over the images. A set of things the page does not have pictures of (a team, a range, a list of venues) is set in type, names and facts in a list or a table, with one slot at most: four empty frames in a row is a wireframe, not a page (68). Inside a slot, sketch the product's own structure from what the brief says it does (rows for a ledger, a waveform for audio, a list for an inbox) in three to five shapes, so the placeholder reads as this product waiting for its screenshot, never as a grey box. Ask for the material once at Step 1; given images go straight in and are named in the Picks block; "leave slots" or silence builds the placeholders and the handoff lists every slot, its size and what belongs there.## 9. Finishdiff --git a/skills/hallmark/references/gates.md b/skills/hallmark/references/gates.mdindex 99c4a2f..511eb51 100644--- a/skills/hallmark/references/gates.md+++ b/skills/hallmark/references/gates.md@@ -113,7 +113,7 @@ One line each. `a`/`b` clauses share a number and carry their own tier. Genre no| 47c | Reflex | J | Imitation material: a hero "product UI" built from styled divs with no `data-slot` label, a many-vertex `clip-path` or radial cutout standing in for a photo's edge, sketch-style SVG scenes, a decorative grid or stripe background with nothing under it. Guard: the theme's material is geometry and the drawn thing is geometry, not a picture | a labelled slot, a real asset, or nothing || 54 | Floor | M | The eyebrow: short inert type before a heading that announces it, in any geometry (stacked, beside, pill, ordinal, category tag over a card, `TRUSTED BY` over logos). House rule. Legal: `<figcaption>`, `<th>`, `<label>`, a nav or tab label, a byline or `<time>`, a unit after its figure, a real filename, a live `role="status"` chip, one linked announcement going somewhere real | open the section another way; `craft.md` § Opening a section || 63 | Floor | M | Template punctuation: meta strings joined with middle dots (`A · B · C`), an arrow glued to link or button text (`Learn more →`), decorative status dots before labels, `WORD - fragment` labels. House rule. Legal: one dot in a byline, a marquee's repeating separator, a dot conveying live state | line breaks, columns, hairlines; a verb as the label |-| 68 | Reflex | M | The wireframe page: more than three empty `data-slot` placeholders on one page, or four or more in one row (a team of blank portraits, a range of blank bottles, a stack of blank phones). Guard: the user said leave slots for that many and named them | set the set in type (names, roles, facts in a list or table) with one slot at most; sketch the product's structure inside the slots that stay |+| 68 | Reflex | M | The wireframe page: more than five empty `data-slot` placeholders on one page, or four or more in one row (a team of blank portraits, a range of blank bottles, a stack of blank phones). Guard: the user said leave slots for that many and named them | set the set in type (names, roles, facts in a list or table) with one slot at most; sketch the product's structure inside the slots that stay || 66 | Reflex | J | Decoration text: rotated vertical text with nothing to say, scroll cues, a version badge or `BETA` pill in the hero, a weather or locale strip, a mono-caps strip across the hero's base (`DESIGN · BUILD · SHIP`), photo-credit captions under placeholders, a `01 / 4` count on tiles. Guard: the brief is a launch, a venue or a distributed studio and the text is a fact | delete it; if a fact is lost, set it as a caption or a footer line |### Motion and interactiondiff --git a/skills/hallmark/references/themes/darkroom.md b/skills/hallmark/references/themes/darkroom.mdindex 00f5ae5..bf33257 100644--- a/skills/hallmark/references/themes/darkroom.md+++ b/skills/hallmark/references/themes/darkroom.md@@ -48,7 +48,7 @@ Three colourways, stated in the stamp (`darkroom: amber`).## Material- Grain once, fixed, over the whole page at `--grain` with overlay (texture.md § 1). No vignette, no bloom, no amber wash; depth is lightness, ground 9, plate 13, surface 17.-- The hang, the one object family: prints butted edge to edge in a row, all one height so tops and bottoms run level, widths following each picture's ratio; no frame, no mat, no gap. Beneath each, its plate number and date, flush with the print's left edge.+- The hang, the one object family: prints butted edge to edge in a row, all one height so tops and bottoms run level, widths following each picture's ratio; no frame, no mat, no gap. Beneath each, its plate number and date, flush with the print's left edge. A series shown before its prints arrive is a row of slots by design: stamp `waive 68` and name the series.- A print is greyscale: a photograph under `filter: grayscale(1)`, or a placeholder graded within `--g0` to `--g5`. A step wedge appears only on a photography page, and only as a scale that measures something real (a paper grade, a test strip's seconds).- The safelight is scarce: a line, a figure, a caption on hover and the one filled control. `--color-accent-deep` is the quieter fill, under ink text.- The control pair: a 1px ink-outlined secondary beside an amber-filled primary with ground-coloured text, uppercase, radius 0.diff --git a/skills/hallmark/references/themes/saffron.md b/skills/hallmark/references/themes/saffron.mdindex 8b5858d..fe70ff8 100644--- a/skills/hallmark/references/themes/saffron.md+++ b/skills/hallmark/references/themes/saffron.md@@ -49,7 +49,7 @@ Three colourways, set once per page and named in the stamp (`saffron: lot`).- 1px ink rules: under a nav, under section heads, between table rows and as the left edge of a column. No borders on plates; a plate is a cream rectangle on saffron, or a saffron one on cream.- Zero radius and no shadow. Depth is a step of saffron: `--color-paper-2` for a band, `--color-paper-3` for the giant letter.- The giant letterform: one italic character (a letter of the name, an ampersand) at 600 to 1200px in `--color-paper-3`, positioned past a section's edge and cropped by it, `pointer-events: none`. One per page.-- Numbered plates: cream rectangles carrying a two-digit figure in the roman at 700 and an italic title; a plate may be black with saffron type.+- Numbered plates: cream rectangles carrying a two-digit figure in the roman at 700 and an italic title; a plate may be black with saffron type. Plates waiting for their garments are slots by design: stamp `waive 68` and say whose they are.- The cloth placeholder: a 162deg linear gradient from pale straw to saffron with a 1px thread grid at 3.5% ink drawn over it and a bold roman figure in its corner. Never a photo of nothing.- The control pair: an ink-filled square button beside a 1px-inset outlined one, both Hanken Grotesk 500 at 13px, sentence case; inline links are underlined by a 1px bottom border in the text colour.diff --git a/skills/hallmark/scripts/sloplint.mjs b/skills/hallmark/scripts/sloplint.mjsindex a9611df..02fb2ea 100644--- a/skills/hallmark/scripts/sloplint.mjs+++ b/skills/hallmark/scripts/sloplint.mjs@@ -2916,14 +2916,15 @@ function check68(ctx) {if (inner && /<img\b[^>]*\bsrc\s*=\s*["'][^"']+["']/i.test(inner.inner)) continue;slots.push({ i, t, parent: (doc.parentOf ? doc.parentOf(i) : null) });}- if (slots.length > 3) report(68, 'FAIL', doc.file, slots[3].t.line, `${slots.length} empty slots on one page`, 'Two or three slots carry a page; set the rest in type, names and facts in a list or table');+ if (slots.length > 5) report(68, 'FAIL', doc.file, slots[5].t.line, `${slots.length} empty slots on one page`, 'Two to four slots carry a page; set the rest in type, names and facts in a list or table');const byRun = new Map();for (const sl of slots) {let depth = 0, parentIdx = -1;for (let k = sl.i - 1; k >= 0; k--) { const t = doc.tags[k]; if (t.selfClosing) continue; if (t.close) depth++; else if (depth === 0) { parentIdx = k; break; } else depth--; }- let gp = -1; depth = 0;- for (let k = parentIdx - 1; k >= 0; k--) { const t = doc.tags[k]; if (t.selfClosing) continue; if (t.close) depth++; else if (depth === 0) { gp = k; break; } else depth--; }- for (const key of [parentIdx, gp]) { if (key < 0) continue; byRun.set(key, (byRun.get(key) || 0) + 1); }+ const up = (from) => { let d = 0; for (let k = from - 1; k >= 0; k--) { const t = doc.tags[k]; if (t.selfClosing) continue; if (t.close) d++; else if (d === 0) return k; else d--; } return -1; };+ const gp = parentIdx >= 0 ? up(parentIdx) : -1;+ const ggp = gp >= 0 ? up(gp) : -1;+ for (const key of new Set([parentIdx, gp, ggp])) { if (key < 0) continue; byRun.set(key, (byRun.get(key) || 0) + 1); }}for (const [key, n] of byRun) if (n >= 4) { report(68, 'FAIL', doc.file, doc.tags[key].line, `${n} empty slots in one row or grid`, 'A set the page has no pictures of is set in type with one slot at most'); break; }}