Rules for an AI coding agent to filter out generic AI-generated UI designs, text, and code.
JavaScript accessibilityagent-skillsai-agentsai-coding-agentai-slopanti-slopclaude-codecopywritingdesign-rulesui-design
v3.2.22: name all seven plugin doors
miqdadbadjuber671ab15c2ff6
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 8ddf767..46b6433 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -8,7 +8,7 @@{"name": "antislop","source": "./",- "version": "3.2.21",+ "version": "3.2.22","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.jsonindex 8fa334d..fc80cf0 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "antislop","displayName": "antislop",- "version": "3.2.21",+ "version": "3.2.22","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.jsonindex d25ea1b..68b4196 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "antislop",- "version": "3.2.21",+ "version": "3.2.22","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.jsonindex 0a5b243..6f50696 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.21",+ "version": "3.2.22","author": {"name": "miqdadbadjuber"},diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 15ce01c..e453be0 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -11,14 +11,14 @@ permissions:jobs:check:strategy:- # A red ubuntu job should not cancel the windows one; both should report.+ # A red ubuntu job should not cancel the other two; all three should report.fail-fast: falsematrix:- os: [ubuntu-latest, windows-latest]+ os: [ubuntu-latest, windows-latest, macos-latest]runs-on: ${{ matrix.os }}steps:- # Both runners check out identical bytes this way, so every step below- # compares the same files on Linux and Windows.+ # Every runner checks out identical bytes this way, so the steps below+ # compare the same files on Linux, Windows, and macOS.- name: Configure git line endingsrun: git config --global core.autocrlf falsediff --git a/.kimi-plugin/plugin.json b/.kimi-plugin/plugin.jsonindex f3e3609..b3aa482 100644--- a/.kimi-plugin/plugin.json+++ b/.kimi-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "antislop",- "version": "3.2.21",+ "version": "3.2.22","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/.omp-plugin/marketplace.json b/.omp-plugin/marketplace.jsonindex 8ddf767..46b6433 100644--- a/.omp-plugin/marketplace.json+++ b/.omp-plugin/marketplace.json@@ -8,7 +8,7 @@{"name": "antislop","source": "./",- "version": "3.2.21",+ "version": "3.2.22","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/GUIDE.md b/GUIDE.mdindex 130535f..d1bb29c 100644--- a/GUIDE.md+++ b/GUIDE.md@@ -185,7 +185,7 @@ npx antislop-aiAnswer the questions exactly as you did the first time. When it reaches folders you already have, it prints what it found before asking anything:```-▲ Already here: antislop 3.2.20. This installer carries 3.2.21.+▲ Already here: antislop 3.2.21. This installer carries 3.2.22.```Then it asks one extra question:@@ -422,7 +422,13 @@ Without it, Cline keeps what is installed and tells you so.#### Remove-Cline documents no plugin uninstall command, only `cline plugin install`, so delete the plugin's folder under `~/.cline/plugins/_installed/` instead. Nothing was copied into your project, so that is the whole removal.+Cline's documentation page covers only `cline plugin install`, but the CLI ships the other half:++```bash+cline plugin uninstall antislop+```++`remove` and `rm` are aliases, and `--cwd .` makes Cline search the project's `.cline/plugins/` before the global one. If your CLI does not have the command yet, delete the folder that holds antislop's `skills/` under `~/.cline/plugins/_installed/` instead; the folder name carries a source hash, so open it and check before deleting. Nothing was copied into your project, so either way that is the whole removal.### Oh My Pi plugindiff --git a/README.md b/README.mdindex e0059a3..6d75fa7 100644--- a/README.md+++ b/README.md@@ -212,10 +212,7 @@ A folder that goes deeper into one concern, holding a `SKILL.md` with its rules.## Roadmap-**v3.2.21** reads the contrast threshold from the unrounded ratio, so a pairing that computes to 4.4983:1 no longer reports 4.50 and passes 4.5:1, and the boundary is pinned in the reference table. It builds on the v3.2.20 changes:--- **Usage modes as a saved preference.** Saving a mode is opt-in, a saved mode announces its source, an explicit choice in the current session still wins, and `--mode ask` restores the question.-- **A guide that covers it.** The Usage modes section walks the commands, the settings file on each platform, and what an unsaved preference means.+**v3.2.22** is a maintenance round. The installer can now see all seven plugin doors, so a Kimi Code, Cline, or Oh My Pi plugin copy is named with its own update command instead of going unmentioned. CI also runs on macOS, alongside Linux and Windows, so a report from that platform can be split into what the installer got wrong and what the agent's own configuration explains.Every earlier release, and what comes next, is in [ROADMAP.md](ROADMAP.md).@@ -229,7 +226,7 @@ Thanks to everyone who helps make antislop better.<p align="center"><a href="https://github.com/miqdadbadjuber/anti-slop/graphs/contributors">- <img src="https://contrib.rocks/image?repo=miqdadbadjuber/anti-slop&v=3.2.21" alt="antislop contributors" />+ <img src="https://contrib.rocks/image?repo=miqdadbadjuber/anti-slop&v=3.2.22" alt="antislop contributors" /></a></p>diff --git a/ROADMAP.md b/ROADMAP.mdindex 2ccaeee..de8fa54 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -11,7 +11,7 @@## Where we are-The latest release is **v3.2.21**. antislop is a packaged system: a lean, always-loaded core plus five additive skills, each a standard agent skill folder at `skills/<name>/SKILL.md`.+The latest release is **v3.2.22**. antislop is a packaged system: a lean, always-loaded core plus five additive skills, each a standard agent skill folder at `skills/<name>/SKILL.md`.- **The core.** 38 rules in three tiers (Hard Gate, Purpose-Gate, Quality Locks), a Liveliness Toolkit, a mandatory Delivery Gate, and two usage modes (During / After). The single-file `antislop.md` is the same filter, pasteable into any chat window.- **Usage-mode preferences.** Saving a global mode is opt-in. Without a settings file, every session still asks during or after. Saved modes announce their source, explicit session choices take precedence, and `--mode ask` restores the question.@@ -62,6 +62,7 @@ Up to v3.0.0 each +0.1 shipped exactly one new skill, which kept the filter pull| v3.2.19 | The community files (CONTRIBUTING.md, CODE_OF_CONDUCT.md, the issue templates, and a pull request template), a README and a guide read end to end for the first time since v3.0.0, and a skill catalogue generated into the guide. || v3.2.20 | Usage modes become a saved preference, opt-in and announced with its source, with a session choice still winning. From community PR #29. || v3.2.21 | The contrast checker reads the threshold from the unrounded ratio, so a pairing between 4.495 and 4.5 no longer reports 4.50 and passes 4.5:1. From community PR #43. |+| v3.2.22 | Maintenance round. The installer names all seven plugin doors, adding Kimi Code, Cline, and Oh My Pi, and CI runs on macOS alongside Linux and Windows. |## What's next@@ -75,7 +76,9 @@ Every door is verified against the vendor's current documentation before its ver| Version | Item | What it means ||---------|------|---------------|-| v3.2.22 | Maintenance | A macOS probe, because none of the door probes above ran on it, so a report from that platform can be split into what the installer got wrong and what the agent's own configuration explains. No new agent: the round re-checks the plugin-door probes against real installs and adds probes for the three doors the installer still cannot see (Kimi Code, Cline, and Oh My Pi), so the notice that follows an install names all seven rather than four. |+| v3.2.23 | Community PR | One new slop pattern, added to the core with its Delivery Gate item. |+| v3.2.24 | Community PR | Additional copywriting rules in antislop-copywriting. |+| v3.2.25 | DeepSeek harness plugin | The harness becomes the eighth plugin door once its documentation is confirmed. |Beyond the numbered plan, with no promised version:diff --git a/cli/index.mjs b/cli/index.mjsindex 797fc3d..6cfc73a 100644--- a/cli/index.mjs+++ b/cli/index.mjs@@ -46,7 +46,7 @@ function printPluginDoors(found) {console.log('\nInstalled as a plugin (these keep their own copy, so updating them is separate):')for (const p of found) {console.log(` ${p.door.label}${p.version ? ` ${p.version}` : ''}`)- console.log(` ${p.door.update}`)+ for (const line of p.door.update.split('\n')) console.log(` ${line}`)}}diff --git a/cli/lib/banner.mjs b/cli/lib/banner.mjsindex d529762..6d8cc9f 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.21'),+ ' ' + pc.dim('installer v3.2.22'),'',].join('\n')}diff --git a/cli/lib/install.mjs b/cli/lib/install.mjsindex 6093df1..d4a4850 100644--- a/cli/lib/install.mjs+++ b/cli/lib/install.mjs@@ -139,6 +139,73 @@ function findClone(dir) {return fs.existsSync(dir) ? { path: dir, version: cloneVersion(dir) } : null}+// Kimi and Oh My Pi name the installed copy after the plugin or the marketplace,+// so the copy is found by what it contains, not by its folder name.+function findCopyUnder(dir) {+ for (const name of listDirs(dir)) {+ const candidate = path.join(dir, name)+ if (fs.existsSync(path.join(candidate, 'skills', CORE))) {+ return { path: candidate, version: cloneVersion(candidate) }+ }+ // A store can nest an install one level deeper, so check that too.+ for (const inner of listDirs(candidate)) {+ const nested = path.join(candidate, inner)+ if (fs.existsSync(path.join(nested, 'skills', CORE))) {+ return { path: nested, version: cloneVersion(nested) }+ }+ }+ }+ return null+}++// Cline stores each install under a hashed path that varies by source type, so+// the copy is found by walking the store instead, skipping dependency folders.+function findNestedCopy(dir, depth) {+ for (const name of listDirs(dir)) {+ if (name === 'node_modules' || name === '.git' || name.startsWith('.replace-')) continue+ const candidate = path.join(dir, name)+ if (fs.existsSync(path.join(candidate, 'skills', CORE))) {+ return { path: candidate, version: cloneVersion(candidate) }+ }+ if (depth > 0) {+ const found = findNestedCopy(candidate, depth - 1)+ if (found) return found+ }+ }+ return null+}++// Oh My Pi moves plugin state to $XDG_DATA_HOME once that root is initialized,+// so both places are searched rather than guessing which one is live.+function ompHomes() {+ const homes = []+ if (process.env.XDG_DATA_HOME) homes.push(path.join(process.env.XDG_DATA_HOME, 'omp'))+ homes.push(path.join(os.homedir(), '.omp'))+ return [...new Set(homes)]+}++// The cache folder is <marketplace>___<plugin>___<version>, so the newest+// install is the highest version rather than whatever the filesystem lists first.+function findOmp() {+ for (const home of ompHomes()) {+ const plugins = path.join(home, 'plugins')+ const cache = path.join(plugins, 'cache', 'plugins')+ const matches = listDirs(cache)+ .map((name) => ({ name, parts: name.split('___') }))+ .filter((m) => m.parts.length === 3 && m.parts[1] === CORE)+ .map((m) => ({ dir: path.join(cache, m.name), version: m.parts[2] }))+ .sort((a, b) => a.version.localeCompare(b.version, undefined, { numeric: true }))++ if (matches.length > 0) {+ const newest = matches[matches.length - 1]+ return { path: newest.dir, version: newest.version }+ }+ const copy = findCopyUnder(plugins)+ if (copy) return copy+ }+ return null+}+const claudePlugins = () => path.join(os.homedir(), '.claude', 'plugins', 'installed_plugins.json')export const PLUGIN_DOORS = [@@ -173,6 +240,30 @@ export const PLUGIN_DOORS = [update: 'agent plugin marketplace update https://github.com/miqdadbadjuber/anti-slop',find: () => findClone(path.join(os.homedir(), '.cursor', 'plugins', 'local', 'anti-slop')),},+ {+ id: 'kimi',+ label: 'Kimi Code',+ update: 'In a Kimi Code session: /plugins install https://github.com/miqdadbadjuber/anti-slop',+ find: () =>+ findCopyUnder(+ path.join(process.env.KIMI_CODE_HOME || path.join(os.homedir(), '.kimi-code'), 'plugins', 'managed'),+ ),+ },+ {+ id: 'cline',+ label: 'Cline',+ update: 'cline plugin install https://github.com/miqdadbadjuber/anti-slop.git --force',+ find: () => {+ const home = process.env.CLINE_DIR || path.join(os.homedir(), '.cline')+ return findNestedCopy(path.join(home, 'plugins', '_installed'), 6)+ },+ },+ {+ id: 'omp',+ label: 'Oh My Pi',+ update: 'omp plugin marketplace update anti-slop\nomp plugin upgrade antislop@anti-slop',+ find: findOmp,+ },]// A door that moves its files breaks its own probe and nothing else: the installer stopsdiff --git a/cli/package-lock.json b/cli/package-lock.jsonindex 32f9605..7a63f6c 100644--- a/cli/package-lock.json+++ b/cli/package-lock.json@@ -1,12 +1,12 @@{"name": "antislop-ai",- "version": "3.2.21",+ "version": "3.2.22","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "antislop-ai",- "version": "3.2.21",+ "version": "3.2.22","license": "MIT","dependencies": {"@clack/prompts": "^1.7.0",diff --git a/cli/package.json b/cli/package.jsonindex 894584f..310866f 100644--- a/cli/package.json+++ b/cli/package.json@@ -1,6 +1,6 @@{"name": "antislop-ai",- "version": "3.2.21",+ "version": "3.2.22","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.mjsindex 6c43325..d38ddf5 100644--- a/cli/scripts/smoke-worker.mjs+++ b/cli/scripts/smoke-worker.mjs@@ -356,6 +356,13 @@ try {fs.rmSync(mixed, { recursive: true, force: true })}+// A door dropped from the list stops being named after an install, and nothing else notices.+check(+ 'K all seven plugin doors are probed',+ PLUGIN_DOORS.map((d) => d.id).sort(),+ ['antigravity', 'claude', 'cline', 'codex', 'cursor', 'kimi', 'omp']+)+// A door row without a command would print a blank line where the answer belongs.check('K every plugin door names itself and its command', PLUGIN_DOORS.filter((d) => !d.id || !d.label || !d.update).map((d) => d.id), [])diff --git a/package.json b/package.jsonindex 516e3e8..ad6420a 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "antislop",- "version": "3.2.21",+ "version": "3.2.22","private": true,"type": "module","description": "Anti Slop: Rules for AI Coding Agents.",diff --git a/skills/antislop-human/contrast-mcp.py b/skills/antislop-human/contrast-mcp.pyindex 54206a7..e791626 100644--- a/skills/antislop-human/contrast-mcp.py+++ b/skills/antislop-human/contrast-mcp.py@@ -8,7 +8,7 @@ import sysPROTOCOL_VERSION = "2024-11-05"SERVER_NAME = "antislop-contrast"-SERVER_VERSION = "3.2.21"+SERVER_VERSION = "3.2.22"TOOLS = [{diff --git a/skills/antislop/VERSION b/skills/antislop/VERSIONindex 66870d9..0698331 100644--- a/skills/antislop/VERSION+++ b/skills/antislop/VERSION@@ -1 +1 @@-3.2.21+3.2.22