Skip to content

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

CSS

sloplint stops on a path it was given and cannot read, and the theme index carries no build date, so the index check passes on any day

Youssef118a4714280c
diff --git a/skills/hallmark/references/themes/index.json b/skills/hallmark/references/themes/index.json
index 4a15ab7..6024981 100644
--- a/skills/hallmark/references/themes/index.json
+++ b/skills/hallmark/references/themes/index.json
@@ -1,5 +1,4 @@
{
- "built": "2026-10-22",
"themes": [
{
"name": "Almanac",
diff --git a/skills/hallmark/scripts/sloplint.mjs b/skills/hallmark/scripts/sloplint.mjs
index 9916fa0..72be162 100644
--- a/skills/hallmark/scripts/sloplint.mjs
+++ b/skills/hallmark/scripts/sloplint.mjs
@@ -48,7 +48,7 @@ function collectFiles(paths) {
const abs = resolve(p);
if (seen.has(abs)) return;
let st;
- try { st = statSync(abs); } catch { console.error(`sloplint: cannot read ${p}`); return; }
+ try { st = statSync(abs); } catch { console.error(`sloplint: cannot read ${p}`); if (top) process.exit(2); return; }
if (st.isDirectory()) {
const base = basename(abs);
if (base === 'node_modules' || base.startsWith('.') || (!top && BUILD_DIRS.has(base))) return;
diff --git a/skills/hallmark/scripts/theme.mjs b/skills/hallmark/scripts/theme.mjs
index 921a676..1bdfbf1 100644
--- a/skills/hallmark/scripts/theme.mjs
+++ b/skills/hallmark/scripts/theme.mjs
@@ -69,7 +69,7 @@ function buildIndex() {
if (slugs.has(e.slug)) throw new Error(`duplicate slug ${e.slug}`);
slugs.add(e.slug);
}
- writeFileSync(INDEX, JSON.stringify({ built: new Date().toISOString().slice(0, 10), themes: entries }, null, 1) + '\n');
+ writeFileSync(INDEX, JSON.stringify({ themes: entries }, null, 1) + '\n');
return entries;
}