Skip to content

Rules for an AI coding agent to filter out generic AI-generated UI designs, text, and code.

v3.2.9: Hermes project scope, a clearer installer conflict prompt, and two content fixes from a live generate-test

miqdadbadzubair-design6eb854fb82c2
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json
index c39f9b6..39b3ba4 100644
--- a/.claude-plugin/marketplace.json
+++ b/.claude-plugin/marketplace.json
@@ -8,7 +8,7 @@
{
"name": "antislop",
"source": "./",
- "version": "3.2.8",
+ "version": "3.2.9",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills."
}
]
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json
index 6b9d542..8900ee4 100644
--- a/.claude-plugin/plugin.json
+++ b/.claude-plugin/plugin.json
@@ -1,7 +1,7 @@
{
"name": "antislop",
"displayName": "antislop",
- "version": "3.2.8",
+ "version": "3.2.9",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills.",
"author": {
"name": "miqdadbadjuber"
diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json
index 89c0543..08d0ab6 100644
--- a/.codex-plugin/plugin.json
+++ b/.codex-plugin/plugin.json
@@ -1,6 +1,6 @@
{
"name": "antislop",
- "version": "3.2.8",
+ "version": "3.2.9",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills.",
"author": {
"name": "miqdadbadjuber"
diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json
index 3988f68..b582cee 100644
--- a/.cursor-plugin/plugin.json
+++ b/.cursor-plugin/plugin.json
@@ -2,7 +2,7 @@
"name": "antislop",
"displayName": "antislop",
"description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills.",
- "version": "3.2.8",
+ "version": "3.2.9",
"author": {
"name": "miqdadbadjuber"
},
diff --git a/antislop.md b/antislop.md
index 4631ce4..e73f500 100644
--- a/antislop.md
+++ b/antislop.md
@@ -70,6 +70,8 @@ antislop is used one of two ways. At the start of a session, ask the user which
- **Mode 1 (During):** follow the rules while generating. This prevents slop from the start and ends with the Delivery Gate. Use it when building new UI.
- **Mode 2 (After):** audit an already-finished project. Produce a numbered findings list in `anti-slop/audit-001-YYYY-MM-DD.md` (numbers keep rising). Each finding cites the violated rule (R-XX) and a one-line reason. Priority follows the rule tier: Hard Gate = HIGH, Purpose-Gate = MEDIUM, Quality Locks = LOW. Do not modify anything until the user approves specific numbers; numbers not mentioned are not touched. Then fix the approved items and write a follow-up report.
+> **Three steps run in both modes, whatever else is driving the session.** Another skill or planning workflow, a brainstorm or a spec, may lead the work, but it never replaces these: settle direction before building (R-37), ask before creating any asset (R-23), and run the Delivery Gate before delivering. Naming a process is not the same as running it.
+
## What This Is (and What It Isn't)
`antislop.md` is a **filter**, not a style guide. It stops AI coding agents from producing generic, recognizable "AI slop" UI, without falling into the opposite failure: a sterile, lifeless default.
@@ -193,6 +195,7 @@ These are the most common patterns found in AI-generated designs. Use this table
| **Colored Left Stripe** | A thin colored vertical bar on the left edge of cards, rows, or section headers, as decoration |
| **Small Arrows (→ / ↗)** | Placed on almost every button as pure decoration |
| **AI Capsule Badges** | Pill shape, thin border, glow, small dot, uppercase, containing: "AI Powered", "Beta", "New" |
+| **Eyebrow Badge Above the Headline** | A small pill parked directly above the H1, often with a dot and a thin border, holding a category label the headline already says |
| **Generic AI Typography** | Large monospace headings, HOW IT WORKS uppercase with wide tracking |
| **Typeface Chosen Without Reason** | Font picked because it's the AI default, not because it fits brand character. Popular fonts like Inter are still valid if there's a reason |
| **Generic Illustrations** | Undraw, Storyset, or 3D blob characters with no real connection to the product |
@@ -600,6 +603,8 @@ If none of these applies to an element, the element should not exist.
Run this gate BEFORE delivering. Output its status with your deliverable as a **PASS/FAIL report**: one line per item, and every `PASS` backed by concrete evidence (e.g. "R-26 PASS: every button has a real `href` or `onClick`; no dead controls", "R-35 PASS: ran the build and clicked every control: Signup -> /signup, empty form -> validation, mobile menu -> opens, no console errors").
If any item is **FAIL** (or any answer is **yes**), do not deliver: fix it first, then re-run. A report containing a FAIL must never be shipped.
+This gate cannot be delegated or replaced. If another workflow is leading the session, its own wrap-up or summary does not stand in for this report. A deliverable handed over without it is unfinished, not approved.
+
The gate has four blocks: Hard Gate (absolute), Purpose-Gate (technique + written reason), Liveliness (dials + levers), Craftsmanship & Quality Locks (C-1..C-5 plus the consistency locks R-05, R-11, R-15, R-16, R-20, R-21, R-29, R-30, R-31).
### Block 1: Hard Gate (absolute)
@@ -633,7 +638,7 @@ For each technique, the technique itself is allowed. FAIL if it appears as a def
- [ ] Is there a large monospace font, uppercase label with wide tracking, or a typeface chosen without a written brand-character reason? *(R-06)*
- [ ] Is there a background grid, blueprint, graph paper, or dot pattern without a written visual-identity purpose? *(R-07)*
- [ ] Are arrows (`→` / `↗`) placed on almost every button purely as decoration, with no written purpose? *(R-08)*
-- [ ] Are there capsule badges ("AI Powered", "Beta", "New", "Secure", "Fast") with no real function, or the full capsule + thin border + glow + uppercase combination? *(R-09)*
+- [ ] Are there capsule badges ("AI Powered", "Beta", "New", "Secure", "Fast") with no real function, the full capsule + thin border + glow + uppercase combination, or a pill parked above the H1 holding a label the headline already says? *(R-09)*
- [ ] Is glassmorphism applied to more than 1-2 elements simultaneously (navbar + card + modal + sidebar)? *(R-10)*
- [ ] Is a large shadow applied to every component, with no written elevation reason, making the page feel like it is floating? *(R-12)*
- [ ] Is glow applied to cards, buttons, badges, icons, backgrounds, and borders simultaneously? *(R-13)*
diff --git a/cli/index.mjs b/cli/index.mjs
index 73c3fa1..03c415c 100644
--- a/cli/index.mjs
+++ b/cli/index.mjs
@@ -27,16 +27,15 @@ function stop(message) {
process.exit(0)
}
-// Show the folder the chosen location actually writes, not the project one. Agents
-// with their own global folder (OpenCode, Antigravity) and global-only ones differ.
+// Show the folder the chosen location actually writes. Agents with their own global
+// folder (OpenCode, Antigravity) differ from the project one.
function displayDir(agent, location) {
- const global = location === 'global' || agent.globalOnly
- return global ? `~/${agent.globalDir ?? agent.dir}` : agent.dir
+ return location === 'global' ? `~/${agent.globalDir ?? agent.dir}` : agent.dir
}
async function main() {
if (process.argv.includes('--version') || process.argv.includes('-v')) {
- console.log('antislop 3.2.8')
+ console.log('antislop 3.2.9')
return
}
@@ -101,8 +100,8 @@ async function main() {
const answer = await select({
message: `${conflicts.length} skill folder(s) already exist. What should I do?`,
options: [
- { value: 'overwrite', label: 'Overwrite them', hint: 'replace existing files' },
- { value: 'keep', label: 'Keep what is there', hint: 'skip existing folders' },
+ { value: 'overwrite', label: 'Overwrite them', hint: 'replace with this version' },
+ { value: 'keep', label: 'Keep what is there', hint: 'leave the old version in place' },
],
})
if (isCancel(answer)) stop('Install cancelled.')
@@ -128,10 +127,19 @@ async function main() {
const agentCount = new Set(written.map((w) => w.agent.id)).size
if (written.length > 0) {
outro(`Installed ${written.length} skill(s) into ${agentCount} agent folder(s).`)
+ console.log(pc.dim('antislop is ready. The next agent session loads it.'))
} else {
+ // "Existing folders were kept" used to read as success. The copies are the
+ // old release, so say that plainly and name the choice that fixes it.
outro('Nothing new to install. Existing folders were kept.')
+ console.log(pc.dim('They may be older than this release. To update, run it again and pick "Overwrite them".'))
+ }
+
+ // Hermes gates project skills behind a one-time, per-repo trust step, so name it here
+ // rather than let the user meet it as a banner after the install looked finished.
+ if (location === 'project' && targets.some((t) => t.agent.id === 'hermes')) {
+ log.warn('Hermes needs one more step: run `hermes skills trust` in this project.')
}
- console.log(pc.dim('antislop is ready. The next agent session loads it.'))
}
main().catch((err) => {
diff --git a/cli/lib/banner.mjs b/cli/lib/banner.mjs
index fdac60b..4c74c36 100644
--- a/cli/lib/banner.mjs
+++ b/cli/lib/banner.mjs
@@ -15,7 +15,7 @@ export function banner() {
...LOGO,
'',
' ' + pc.dim('Anti Slop: Rules for AI Coding Agents'),
- ' ' + pc.dim('installer v3.2.8'),
+ ' ' + pc.dim('installer v3.2.9'),
'',
].join('\n')
}
diff --git a/cli/lib/install.mjs b/cli/lib/install.mjs
index d795513..96bf610 100644
--- a/cli/lib/install.mjs
+++ b/cli/lib/install.mjs
@@ -18,8 +18,8 @@ export const AGENTS = [
{ id: 'opencode', label: 'OpenCode', dir: '.opencode/skills', globalDir: '.config/opencode/skills', entry: 'AGENTS.md' },
{ id: 'cursor', label: 'Cursor', dir: '.cursor/skills', entry: 'AGENTS.md' },
{ id: 'gemini', label: 'Gemini CLI', dir: '.gemini/skills', entry: 'GEMINI.md' },
- // Hermes installs globally only; its project scope is not wired up yet.
- { id: 'hermes', label: 'Hermes', dir: '.hermes/skills', globalOnly: true, entry: 'AGENTS.md' },
+ // Hermes reads a project's .hermes/skills and .agents/skills, project tier first.
+ { id: 'hermes', label: 'Hermes', dir: '.hermes/skills', entry: 'AGENTS.md' },
]
export function skillSourceDir() {
@@ -34,12 +34,10 @@ function resolveBase(location) {
return location === 'global' ? os.homedir() : process.cwd()
}
-// A global-only agent always resolves to the home dir, even on a project install.
-// Some agents also keep global skills outside ~/<dir>, like OpenCode's ~/.config.
+// Some agents keep global skills outside ~/<dir>, like OpenCode's ~/.config.
function skillPath(agent, location) {
- const global = location === 'global' || agent.globalOnly
- const dir = global ? (agent.globalDir ?? agent.dir) : agent.dir
- return path.join(global ? os.homedir() : resolveBase(location), dir)
+ const dir = location === 'global' ? (agent.globalDir ?? agent.dir) : agent.dir
+ return path.join(resolveBase(location), dir)
}
export function resolveTargets(location, selected = AGENTS.map((a) => a.id)) {
@@ -52,10 +50,7 @@ export function resolveTargets(location, selected = AGENTS.map((a) => a.id)) {
// Agents whose folder already exists, used to pre-check the picker. A missing
// folder does not mean a missing agent, so the user can still add one.
export function detectAgents(location) {
- return AGENTS.filter((a) => {
- if (a.globalOnly && location !== 'global') return false
- return fs.existsSync(path.dirname(skillPath(a, location)))
- }).map((a) => a.id)
+ return AGENTS.filter((a) => fs.existsSync(path.dirname(skillPath(a, location)))).map((a) => a.id)
}
export function detectConflicts({ skills, targets }) {
@@ -199,9 +194,6 @@ function writeBlock(entry, block) {
export function updatePointers({ targets, skills }) {
const entries = new Set()
for (const t of targets) {
- // A global-only agent installs under the home dir even on a project install, so a
- // pointer here would name a skill this project does not have.
- if (t.agent.globalOnly) continue
if (fs.existsSync(path.join(t.path, CORE))) entries.add(t.agent.entry)
}
diff --git a/cli/package-lock.json b/cli/package-lock.json
index 540ff96..81f27cf 100644
--- a/cli/package-lock.json
+++ b/cli/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "antislop-ai",
- "version": "3.2.8",
+ "version": "3.2.9",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "antislop-ai",
- "version": "3.2.8",
+ "version": "3.2.9",
"license": "MIT",
"dependencies": {
"@clack/prompts": "^1.7.0",
diff --git a/cli/package.json b/cli/package.json
index 3209ce1..e104851 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "antislop-ai",
- "version": "3.2.8",
+ "version": "3.2.9",
"description": "Interactive installer for the antislop skills. Anti Slop: Rules for AI Coding Agents.",
"type": "module",
"bin": {
diff --git a/cli/scripts/smoke-worker.mjs b/cli/scripts/smoke-worker.mjs
index c19fe3f..66c58d1 100644
--- a/cli/scripts/smoke-worker.mjs
+++ b/cli/scripts/smoke-worker.mjs
@@ -64,12 +64,14 @@ for (const agent of ['opencode', 'cursor', 'gemini']) {
check(`D2 ${agent} folder exists`, fs.existsSync(path.join(process.cwd(), agent === 'gemini' ? '.gemini' : agent === 'cursor' ? '.cursor' : '.opencode', 'skills', 'antislop', 'SKILL.md')), true)
}
-// Hermes is global-only: a project install still resolves to the home dir.
+// Hermes reads a project's .hermes/skills, and ~/.hermes/skills for a global install.
const hermesProject = resolveTargets('project', ['hermes'])
const hermesGlobal = resolveTargets('global', ['hermes'])
-check('D3 hermes project target', hermesProject[0].path, path.join(os.homedir(), '.hermes', 'skills'))
+check('D3 hermes project target', hermesProject[0].path, path.join(process.cwd(), '.hermes', 'skills'))
check('D3 hermes global target', hermesGlobal[0].path, path.join(os.homedir(), '.hermes', 'skills'))
-check('D3 hermes detected in project', detectAgents('project').includes('hermes'), false)
+const hermesWritten = installSkills({ skills, targets: hermesProject, overwrite: false })
+check('D3 hermes written into the project', hermesWritten.length, 2)
+check('D3 hermes detected in project', detectAgents('project').includes('hermes'), true)
// OpenCode splits its scopes: project folder for a project install, ~/.config for global.
const ocProject = resolveTargets('project', ['opencode'])
@@ -85,13 +87,12 @@ check('D5 antigravity global target', agGlobal[0].path, path.join(os.homedir(),
// updatePointers has no other source for the entry file, so no row may omit it.
check('D6 every agent names an entry file', AGENTS.filter((a) => !a.entry).map((a) => a.id), [])
-// A global-only agent installs under the home dir, so a project install of it alone
-// must not drop a pointer naming a skill this project does not have.
-check('D6 hermes writes no project pointer', updatePointers({ targets: resolveTargets('project', ['hermes']), skills }), [])
+// Hermes reads a project's AGENTS.md, so a project install of it must write the pointer.
+check('D6 hermes writes a project pointer', updatePointers({ targets: hermesProject, skills }).map((p) => path.basename(p)), ['AGENTS.md'])
// Detection now sees the agents that were installed.
const after = detectAgents('project')
-check('E detected after installs', [...after].sort(), ['antigravity', 'claude', 'cursor', 'gemini', 'opencode'])
+check('E detected after installs', [...after].sort(), ['antigravity', 'claude', 'cursor', 'gemini', 'hermes', 'opencode'])
const globalTargets = resolveTargets('global', ['claude', 'codex'])
console.log('F global targets:', globalTargets.map((t) => `${t.agent.id}@${t.path}`).join(' | '))
diff --git a/skills/antislop-human/contrast-mcp.py b/skills/antislop-human/contrast-mcp.py
index 56be9a4..3f3cd23 100644
--- a/skills/antislop-human/contrast-mcp.py
+++ b/skills/antislop-human/contrast-mcp.py
@@ -8,7 +8,7 @@ import sys
PROTOCOL_VERSION = "2024-11-05"
SERVER_NAME = "antislop-contrast"
-SERVER_VERSION = "3.2.8"
+SERVER_VERSION = "3.2.9"
TOOLS = [
{
diff --git a/skills/antislop-ui/SKILL.md b/skills/antislop-ui/SKILL.md
index ef3c2c7..b263e8a 100644
--- a/skills/antislop-ui/SKILL.md
+++ b/skills/antislop-ui/SKILL.md
@@ -179,6 +179,12 @@ allowed-tools: Read Write Edit Glob Grep
- **Why:** the capsule-plus-glow-plus-dot combination is a self-referential badge that says "made by AI, about being made by AI". It adds noise, not information.
- **Fix:** badges only when functionally needed, with the need written down, and never the full combination (R-09). A real status label is fine; a decorative "AI Powered" pill is not.
+### Eyebrow Badge Above the Headline
+
+- **Tell:** a small pill sitting directly above the H1, often with a dot and a thin border, holding a category label ("Aplikasi Tagihan UKM", "The platform for teams") that the headline beneath it already says.
+- **Why:** the badge duplicates the headline, so it adds a line of reading without adding a fact. It lands in the same spot on every generated page, which is why it reads as a template rather than a decision. When it carries a dot as well, it borrows status-indicator language for a label that marks no state.
+- **Fix:** cut it and let the headline do the work. If the label carries information the headline does not, fold it into the headline or the subheadline, where it reads as content instead of ornament. A badge above the fold needs a written reason like any other badge (R-09), and a dot inside it needs a real state to mark (R-31).
+
### Decorative Status Dot
- **Tell:** a small colored dot beside a heading, eyebrow, nav item, or label, usually glowing and pulsing on a loop, that marks nothing. It borrows the visual language of a live or recording indicator for a page where nothing is live.
@@ -293,6 +299,7 @@ Run these alongside the core Delivery Gate when the task is UI work. All answers
- [ ] Is the copy free of decorative emoji scattered through headings, bullets, and buttons? (R-04)
- [ ] Do section compositions vary according to the declared RHYTHM dial instead of repeating one template? (R-05)
- [ ] Is the layout free of the default AI shapes: bento-grid mosaic, fake terminal window, three pricing columns, and left-edge color stripes with no meaning? (R-05, R-01)
+- [ ] Is the space above the H1 clear of a pill badge holding a label the headline already says? (R-09)
- [ ] Does every navigation item and interactive element have a real destination or behavior, or a visible "Coming soon" label? (R-24, R-26)
- [ ] Does motion follow the declared MOTION dial and serve a written purpose, with no endless loops? (R-19)
- [ ] Is glass, glow, shadow, and radius used at their dose caps, not as a page-wide default? (R-10, R-11, R-12, R-13)
diff --git a/skills/antislop/SKILL.md b/skills/antislop/SKILL.md
index e8fb4e5..d7dabbd 100644
--- a/skills/antislop/SKILL.md
+++ b/skills/antislop/SKILL.md
@@ -75,6 +75,8 @@ antislop is used one of two ways. At the start of a session, ask the user which
- **Mode 1 (During):** follow the rules while generating. This prevents slop from the start and ends with the Delivery Gate. Use it when building new UI.
- **Mode 2 (After):** audit an already-finished project. Produce a numbered findings list in `anti-slop/audit-001-YYYY-MM-DD.md` (numbers keep rising). Each finding cites the violated rule (R-XX) and a one-line reason. Priority follows the rule tier: Hard Gate = HIGH, Purpose-Gate = MEDIUM, Quality Locks = LOW. Do not modify anything until the user approves specific numbers; numbers not mentioned are not touched. Then fix the approved items and write a follow-up report.
+> **Three steps run in both modes, whatever else is driving the session.** Another skill or planning workflow, a brainstorm or a spec, may lead the work, but it never replaces these: settle direction before building (R-37), ask before creating any asset (R-23), and run the Delivery Gate before delivering. Naming a process is not the same as running it.
+
## What This Is (and What It Isn't)
`antislop.md` is a **filter**, not a style guide. It stops AI coding agents from producing generic, recognizable "AI slop" UI, without falling into the opposite failure: a sterile, lifeless default.
@@ -198,6 +200,7 @@ These are the most common patterns found in AI-generated designs. Use this table
| **Colored Left Stripe** | A thin colored vertical bar on the left edge of cards, rows, or section headers, as decoration |
| **Small Arrows (→ / ↗)** | Placed on almost every button as pure decoration |
| **AI Capsule Badges** | Pill shape, thin border, glow, small dot, uppercase, containing: "AI Powered", "Beta", "New" |
+| **Eyebrow Badge Above the Headline** | A small pill parked directly above the H1, often with a dot and a thin border, holding a category label the headline already says |
| **Generic AI Typography** | Large monospace headings, HOW IT WORKS uppercase with wide tracking |
| **Typeface Chosen Without Reason** | Font picked because it's the AI default, not because it fits brand character. Popular fonts like Inter are still valid if there's a reason |
| **Generic Illustrations** | Undraw, Storyset, or 3D blob characters with no real connection to the product |
@@ -605,6 +608,8 @@ If none of these applies to an element, the element should not exist.
Run this gate BEFORE delivering. Output its status with your deliverable as a **PASS/FAIL report**: one line per item, and every `PASS` backed by concrete evidence (e.g. "R-26 PASS: every button has a real `href` or `onClick`; no dead controls", "R-35 PASS: ran the build and clicked every control: Signup -> /signup, empty form -> validation, mobile menu -> opens, no console errors").
If any item is **FAIL** (or any answer is **yes**), do not deliver: fix it first, then re-run. A report containing a FAIL must never be shipped.
+This gate cannot be delegated or replaced. If another workflow is leading the session, its own wrap-up or summary does not stand in for this report. A deliverable handed over without it is unfinished, not approved.
+
The gate has four blocks: Hard Gate (absolute), Purpose-Gate (technique + written reason), Liveliness (dials + levers), Craftsmanship & Quality Locks (C-1..C-5 plus the consistency locks R-05, R-11, R-15, R-16, R-20, R-21, R-29, R-30, R-31).
### Block 1: Hard Gate (absolute)
@@ -638,7 +643,7 @@ For each technique, the technique itself is allowed. FAIL if it appears as a def
- [ ] Is there a large monospace font, uppercase label with wide tracking, or a typeface chosen without a written brand-character reason? *(R-06)*
- [ ] Is there a background grid, blueprint, graph paper, or dot pattern without a written visual-identity purpose? *(R-07)*
- [ ] Are arrows (`→` / `↗`) placed on almost every button purely as decoration, with no written purpose? *(R-08)*
-- [ ] Are there capsule badges ("AI Powered", "Beta", "New", "Secure", "Fast") with no real function, or the full capsule + thin border + glow + uppercase combination? *(R-09)*
+- [ ] Are there capsule badges ("AI Powered", "Beta", "New", "Secure", "Fast") with no real function, the full capsule + thin border + glow + uppercase combination, or a pill parked above the H1 holding a label the headline already says? *(R-09)*
- [ ] Is glassmorphism applied to more than 1-2 elements simultaneously (navbar + card + modal + sidebar)? *(R-10)*
- [ ] Is a large shadow applied to every component, with no written elevation reason, making the page feel like it is floating? *(R-12)*
- [ ] Is glow applied to cards, buttons, badges, icons, backgrounds, and borders simultaneously? *(R-13)*