Skip to content

Anti-AI-slop design skill for Claude Code, Cursor, and Codex.

CSS

Gate 67 exempts wordmarks and marquee text by role, not exact class; the hero review knows type-only folds

Youssef9d970fcb3abc
diff --git a/skills/hallmark/references/components/n7-brutal-slab.md b/skills/hallmark/references/components/n7-brutal-slab.md
index f1bde6b..842f30b 100644
--- a/skills/hallmark/references/components/n7-brutal-slab.md
+++ b/skills/hallmark/references/components/n7-brutal-slab.md
@@ -5,7 +5,7 @@ A heavy full width bar: a 2px ink rule beneath, the wordmark in the display face
```html
<header class="nav-slab">
- <a class="slab-mark" href="/" aria-label="Studio, home">STUDIO</a>
+ <a class="slab-wordmark" href="/" aria-label="Studio, home">STUDIO</a>
<nav class="slab-nav" aria-label="Primary">
<ul><li><a href="/catalog">Catalog</a></li><li><a href="/voice">Voice</a></li><li><a href="/work">Work</a></li></ul>
</nav>
@@ -14,7 +14,7 @@ A heavy full width bar: a 2px ink rule beneath, the wordmark in the display face
```
```css
.nav-slab { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--gutter); border-bottom: 2px solid var(--color-ink); background: var(--color-paper); }
-.slab-mark { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; text-decoration: none; }
+.slab-wordmark { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; text-decoration: none; }
.slab-nav ul { display: flex; gap: var(--space-md); list-style: none; padding: 0; margin: 0 0 0 auto; }
.slab-nav a { font-size: var(--text-sm); font-weight: 700; text-decoration: none; }
```
diff --git a/skills/hallmark/references/gates.md b/skills/hallmark/references/gates.md
index 97eb71b..4256ba8 100644
--- a/skills/hallmark/references/gates.md
+++ b/skills/hallmark/references/gates.md
@@ -215,7 +215,7 @@ The thread that built the page is its weakest reviewer. Spawn a reviewer with no
**The hero review** runs the same way, once, at Step 6, before any section below the fold exists. Give the reviewer the four `hero-*` screenshots that `sloplint --render --stage hero` wrote, the stamp's first two lines, the Picks block's Material and Signature rows, and on a theme build the theme's picture. Its brief:
-> Review the first screen of a page that is still being built. You did not build it. First line: `ship` or `fix`. Then at most five findings, one line each, worst first: does the headline say something only this product could say, in seven words or fewer; is the visual beside the text, real or a labelled slot, and does it hold its half of the screen (on a Poster or Banner hero the type is the visual: does it fill the screen); does anything read as a template (a centred stack, a pill or label above the headline, a gradient blob, a drawn dashboard standing in for a product, two filled buttons side by side; a filled primary beside an outlined or text action that goes somewhere else is the control pair, and a slot's sketch of the product's own structure is its placeholder, neither a finding); is the signature move on this screen; does the type carry the theme at this size; if you have the theme's picture, is this first screen as finished as its first screen, in a composition of its own. What the theme file prescribes (its blooms, its control pair) or refuses is not a finding. Do not fix anything.
+> Review the first screen of a page that is still being built. You did not build it. First line: `ship` or `fix`. Then at most five findings, one line each, worst first: does the headline say something only this product could say, in seven words or fewer; is the visual beside the text, real or a labelled slot, and does it hold its half of the screen (where the shape puts no image in the fold, a Marquee or a Poster or Banner hero, the type is the visual: does it fill the screen); does anything read as a template (a centred stack, a pill or label above the headline, a gradient blob, a drawn dashboard standing in for a product, two filled buttons side by side; a filled primary beside an outlined or text action that goes somewhere else is the control pair, and a slot's sketch of the product's own structure is its placeholder, neither a finding); is the signature move on this screen; does the type carry the theme at this size; if you have the theme's picture, is this first screen as finished as its first screen, in a composition of its own. What the theme file prescribes (its blooms, its control pair) or refuses is not a finding. Do not fix anything.
Fix, recapture with `--stage hero`, send the recaptures back to be scored, and build the sections once the answer is `ship`. Two rounds is the ceiling here too: after the second, fix what is still owed, record what stays open (`hero-review: fix after 2 rounds, 1 open: the void at 1920`), and build on. Record the verdict in the stamp's finish-review field.
diff --git a/skills/hallmark/scripts/sloplint.mjs b/skills/hallmark/scripts/sloplint.mjs
index 20fd182..6c0a974 100644
--- a/skills/hallmark/scripts/sloplint.mjs
+++ b/skills/hallmark/scripts/sloplint.mjs
@@ -2658,13 +2658,17 @@ function fontSizePxOf(r, ctx) {
const LABEL67 = /label|caption|meta|eyebrow|kicker|tag\b|badge|chip|small|folio|footnote|legend|\bth\b|thead|figcaption|overline|dateline|byline|credit|note\b|\bnav\b|menu|link|pill|status|unit|smallcaps|count|placard/i;
const CONTROL67 = /btn|button|cta|\.sign\b|plate|control/i;
const EXEMPT67_NAME = /^(wordmark|marquee|ticker|logo|brand|abbr|logo-?(mark|type|text)|brand-?(mark|name|type))$/i;
-const exemptName67 = (n) => !!n && EXEMPT67_NAME.test(n.split('--')[0].split('__').pop());
+const EXEMPT67_PART = /(^|[-_])(wordmark|marquee|ticker|logotype|logo|brand)([-_]|$)/i;
+const exemptName67 = (n) => !!n && (EXEMPT67_NAME.test(n.split('--')[0].split('__').pop()) || EXEMPT67_PART.test(n));
+const SCROLLER67 = /(^|[-_])(marquee|ticker)([-_]|$)/i;
function exempt67(sel) {
return sel.split(',').some((part) => {
- const comp = baseSelector(part).split(/[\s>+~]+/).filter(Boolean).pop() || '';
+ const comps = baseSelector(part).split(/[\s>+~]+/).filter(Boolean);
+ const comp = comps[comps.length - 1] || '';
const names = (comp.match(/\.[a-zA-Z_][\w-]*/g) || []).map((c) => c.slice(1));
names.push((/^[a-zA-Z][\w-]*/.exec(comp) || [''])[0]);
- return names.some(exemptName67);
+ if (names.some(exemptName67)) return true;
+ return comps.slice(0, -1).some((c) => (c.match(/\.[a-zA-Z_][\w-]*/g) || []).some((x) => SCROLLER67.test(x.slice(1))));
});
}
function inherited67(bySel, sel, prop) {