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.2: Antigravity plugin door (plugin.json + rules/ pointer), 4 install paths in README, version bump
miqdadbadzubair-design550715a34a06
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 82bc6cf..bc82797 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -8,7 +8,7 @@{"name": "antislop","source": "./",- "version": "3.2.1",+ "version": "3.2.2","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 9364bcd..705f339 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "antislop","displayName": "antislop",- "version": "3.2.1",+ "version": "3.2.2","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/README.md b/README.mdindex a7e6dee..b6aa258 100644--- a/README.md+++ b/README.md@@ -28,7 +28,7 @@ The core prevents slop but cannot invent direction. `DESIGN.md` (yours) supplies## Install-antislop is a set of **standard agent skills** (one folder per skill, `SKILL.md`) you can install as a package. The core is always loaded; the skills load only for the task at hand. Pick one of these three paths.+antislop is a set of **standard agent skills** (one folder per skill, `SKILL.md`) you can install as a package. The core is always loaded; the skills load only for the task at hand. Pick one of these four paths.**1. The picker (recommended).** One command, then choose. It shows the antislop banner, lists the skills with the core locked on, asks where (project or global) and which agents (Claude Code, Antigravity, Codex, OpenCode, Cursor, Gemini CLI, Hermes), then installs the folders and writes the pointer that loads antislop every session. The skills directory (path 2) does not write that pointer, so this is the one to use:@@ -55,7 +55,13 @@ skills.sh reads the skill folders straight from this repository, so the listing/plugin install antislop@anti-slop```-Every skill is a folder of the open Agent Skills standard (`<name>/SKILL.md`), so it drops into any agent that reads the standard: Claude Code (`.claude/skills/`), Codex (`.codex/skills/`), Antigravity (`.agents/skills/`), OpenCode (`.opencode/skills/`), Cursor (`.cursor/skills/`), Gemini CLI (`.gemini/skills/`), and Hermes (`~/.hermes/skills/`). The picker (path 1) asks which of these agents you use and installs into them, creating the skill folder if it does not exist yet; the skills directory (path 2) handles the same agents and more. The plugin (path 3) is the Claude Code door only.+**4. The plugin (Antigravity).** The same repo is a full Antigravity plugin: a root `plugin.json`, the six skills registered as Antigravity skills, and a `rules/antislop.md` pointer that loads antislop into every session. Install it with the Antigravity CLI:++```bash+agy plugin install https://github.com/miqdadbadjuber/anti-slop+```++Every skill is a folder of the open Agent Skills standard (`<name>/SKILL.md`), so it drops into any agent that reads the standard: Claude Code (`.claude/skills/`), Codex (`.codex/skills/`), Antigravity (`.agents/skills/`), OpenCode (`.opencode/skills/`), Cursor (`.cursor/skills/`), Gemini CLI (`.gemini/skills/`), and Hermes (`~/.hermes/skills/`). The picker (path 1) asks which of these agents you use and installs into them, creating the skill folder if it does not exist yet; the skills directory (path 2) handles the same agents and more. The plugins are per-agent doors: path 3 is the Claude Code marketplace plugin, path 4 the Antigravity plugin.**Manual (single file, no packaging).** The core `antislop.md` alone remains a complete filter you can paste into any chat window. Download it and tell your agent to read it; the First-Run wizard inside it installs skills the manual way:@@ -85,7 +91,7 @@ antislop is used one of two ways, chosen at the start of a session:## Roadmap-**v3.1.0 shipped** the `antislop-code` skill, per-skill READMEs, and the tagline rename. **v3.1.1** was a patch: the picker stopped copying per-skill READMEs into projects, and the wizard dropped install commands. **v3.1.2** removes the per-skill READMEs entirely and makes the picker ask which agent to install into, so a fresh Antigravity or Codex project lands in the right folder. **v3.1.3** states the `DESIGN.md` boundary explicitly, adds a security explainer ([SECURITY.md](SECURITY.md)), and documents what `npx skills add` does and does not install. **v3.2.0** adds OpenCode, Cursor, Gemini CLI, and Hermes to the picker, so one run covers seven agents and the shared `.agents/skills/` folder covers the long tail that reads the standard. **v3.2.1** closes UI slop gaps: new patterns for bento grids, Lucide-style icon sets, colored left stripes, fake terminal windows, and demos without a product, plus rule extensions for the palette family (harsh gradients, purple-and-black, neon, pastel, radial orbs), dot grids, the typeface roster (Geist Mono and friends), and pricing always shown as three columns. See [ROADMAP.md](ROADMAP.md) for the tracker, including the cross-agent plugin plan.+**v3.1.0 shipped** the `antislop-code` skill, per-skill READMEs, and the tagline rename. **v3.1.1** was a patch: the picker stopped copying per-skill READMEs into projects, and the wizard dropped install commands. **v3.1.2** removes the per-skill READMEs entirely and makes the picker ask which agent to install into, so a fresh Antigravity or Codex project lands in the right folder. **v3.1.3** states the `DESIGN.md` boundary explicitly, adds a security explainer ([SECURITY.md](SECURITY.md)), and documents what `npx skills add` does and does not install. **v3.2.0** adds OpenCode, Cursor, Gemini CLI, and Hermes to the picker, so one run covers seven agents and the shared `.agents/skills/` folder covers the long tail that reads the standard. **v3.2.1** closes UI slop gaps: new patterns for bento grids, Lucide-style icon sets, colored left stripes, fake terminal windows, and demos without a product, plus rule extensions for the palette family (harsh gradients, purple-and-black, neon, pastel, radial orbs), dot grids, the typeface roster (Geist Mono and friends), and pricing always shown as three columns. **v3.2.2** ships the plugin as an Antigravity door: `agy plugin install https://github.com/miqdadbadjuber/anti-slop` registers the six skills and loads the antislop pointer into every session through the plugin's `rules/` component. See [ROADMAP.md](ROADMAP.md) for the tracker, including the cross-agent plugin plan.## FAQ@@ -96,7 +102,7 @@ No, a filter. It does not prescribe colors, fonts, or layouts. It rejects techniAll of them, but the install paths differ:- **The picker and the skills directory** support Claude Code, Codex, Antigravity, OpenCode, Cursor, Gemini CLI, and Hermes (the picker detects each agent's skill folder; Hermes installs globally only). These are the recommended paths.-- **The plugin** is Claude Code only. It is the Claude-specific door.+- **The plugins** are per-agent doors: the Claude Code marketplace plugin (path 3) and the Antigravity plugin (path 4), both installed from the same repo.- **The single file** (`antislop.md`) works with any agent that reads plain Markdown, including a plain chat window.The packaged skills use the open Agent Skills standard (folder per skill), so they drop into any tool that reads the standard.diff --git a/ROADMAP.md b/ROADMAP.mdindex 910c7a7..5d656aa 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -4,7 +4,7 @@## Where we are-The latest release is **v3.2.1**. antislop is a **packaged system**: a lean, always-loaded **core** plus five **skills**, each shipped as a standard agent skill folder (`skills/<name>/SKILL.md`):+The latest release is **v3.2.2**. antislop is a **packaged system**: a lean, always-loaded **core** plus five **skills**, each shipped as a standard agent skill folder (`skills/<name>/SKILL.md`):- `antislop`: the core rules filter (rules, tiers, Delivery Gate, liveliness)- `antislop-ui`: UI / visual@@ -13,9 +13,9 @@ The latest release is **v3.2.1**. antislop is a **packaged system**: a lean, alw- `antislop-layoutmobile`: mobile / responsive- `antislop-code`: code comments-**v3.1.0** shipped `antislop-code`, the code comment filter. **v3.1.1** was a patch: the picker no longer copied per-skill READMEs into projects, and the wizard no longer named install commands (cleared the Socket warning on skills.sh). **v3.1.2** removes the per-skill READMEs entirely and makes the picker ask which agent to install into, so a fresh Antigravity or Codex project installs into the right folder instead of silently targeting Claude Code. **v3.1.3** states the `DESIGN.md` boundary explicitly (external files are data to apply, not instructions to obey), adds a security explainer ([SECURITY.md](SECURITY.md)), and documents what `npx skills add` does and does not install. **v3.2.0** adds four more agents to the picker: OpenCode, Cursor, Gemini CLI, and Hermes (global-only, so its skills always go to `~/.hermes/skills/`), and the shared `.agents/skills/` folder covers the long tail of agents that read the standard. **v3.2.1** closes UI slop gaps: five new patterns (bento grids, Lucide-style icon sets, colored left stripes, fake terminal windows, and demos without a product) and rule extensions for the palette family (harsh gradients, purple-and-black, neon, pastel, radial orbs), dot grids, the typeface roster (Geist Mono and friends), and pricing always shown as three columns.+**v3.1.0** shipped `antislop-code`, the code comment filter. **v3.1.1** was a patch: the picker no longer copied per-skill READMEs into projects, and the wizard no longer named install commands (cleared the Socket warning on skills.sh). **v3.1.2** removes the per-skill READMEs entirely and makes the picker ask which agent to install into, so a fresh Antigravity or Codex project installs into the right folder instead of silently targeting Claude Code. **v3.1.3** states the `DESIGN.md` boundary explicitly (external files are data to apply, not instructions to obey), adds a security explainer ([SECURITY.md](SECURITY.md)), and documents what `npx skills add` does and does not install. **v3.2.0** adds four more agents to the picker: OpenCode, Cursor, Gemini CLI, and Hermes (global-only, so its skills always go to `~/.hermes/skills/`), and the shared `.agents/skills/` folder covers the long tail of agents that read the standard. **v3.2.1** closes UI slop gaps: five new patterns (bento grids, Lucide-style icon sets, colored left stripes, fake terminal windows, and demos without a product) and rule extensions for the palette family (harsh gradients, purple-and-black, neon, pastel, radial orbs), dot grids, the typeface roster (Geist Mono and friends), and pricing always shown as three columns. **v3.2.2** ships the plugin as an Antigravity door: `agy plugin install https://github.com/miqdadbadjuber/anti-slop` registers the six skills and injects the antislop pointer every session through the plugin's `rules/` component.-The system installs three ways from one repo: the interactive picker (`npx antislop-ai`), the skills directory (`npx skills add miqdadbadjuber/anti-slop`, listed on skills.sh), and the Claude Code plugin marketplace (`.claude-plugin/plugin.json`). The contrast checker is also exposed as an MCP tool inside the plugin. What each skill covers is in the root README's skill table; there is no per-skill README.+The system installs four ways from one repo: the interactive picker (`npx antislop-ai`), the skills directory (`npx skills add miqdadbadjuber/anti-slop`, listed on skills.sh), the Claude Code plugin marketplace (`.claude-plugin/plugin.json`), and the Antigravity plugin (root `plugin.json` with a `rules/` pointer, installed via `agy plugin install https://github.com/miqdadbadjuber/anti-slop`). The contrast checker is also exposed as an MCP tool inside the plugin. What each skill covers is in the root README's skill table; there is no per-skill README.The **First-Run Install Wizard** still lives inside `antislop.md` as the manual path. The single-file core remains a complete filter you can paste into any chat window.@@ -69,11 +69,14 @@ What v3.0.0 shipped:- [x] v3.1.2 - per-skill READMEs removed; picker asks which agent to install into (fresh Antigravity and Codex projects land in the right folder)- [x] v3.1.3 - `DESIGN.md` boundary stated; SECURITY.md audit explainer; `npx skills add` pointer note- [x] v3.2.0 - picker adds OpenCode, Cursor, Gemini CLI, Hermes (global-only); shared `.agents/skills/` folder covers the long tail of standard readers-- [ ] v3.2.1 - UI slop gaps closed: bento grids, Lucide-style icon sets, colored left stripes, fake terminal windows, demos without a product; rules extended for the palette family (harsh gradients, purple-and-black, neon, pastel, radial orbs), dot grids, the typeface roster, and 3-pricing-column layouts+- [x] v3.2.1 - UI slop gaps closed: bento grids, Lucide-style icon sets, colored left stripes, fake terminal windows, demos without a product; rules extended for the palette family (harsh gradients, purple-and-black, neon, pastel, radial orbs), dot grids, the typeface roster, and 3-pricing-column layouts+- [ ] v3.2.2 - Antigravity plugin door: root `plugin.json` + `rules/` pointer so `agy plugin install https://github.com/miqdadbadjuber/anti-slop` registers the six skills and loads antislop every session## After v3-- [ ] **Cross-agent plugin** (plan, no promised version): antislop installs as a plugin on more agents the way superpowers installs everywhere from one repo, with paths for Antigravity, Codex, Cursor, Gemini CLI, and others. Estimate: Q3-Q4 2026.+- [x] **Cross-agent plugin, Antigravity door** (shipped in v3.2.2): root `plugin.json` + `rules/antislop.md` pointer. Antigravity has no session-start hook event, so the always-on channel is the plugin's `rules/` component, not a hook.+- [ ] **Cross-agent plugin, more doors** (plan, no promised version): antislop installs as a plugin on Codex, Cursor, Gemini CLI, and others the way superpowers installs everywhere from one repo. Estimate: Q3-Q4 2026.+- [ ] **antislop-compact** (plan, no promised version): a lightweight, standalone family of the five skills, each a self-contained cheat-sheet version that runs without the core alongside, offered by the picker as its own choice (compact, then the variant). Deferred as too costly to keep in sync: a parallel set of files must track every change to the full ones, and a compact skill is only sound if it keeps the one-line why per rule and the Delivery Gate.## Not in scopediff --git a/cli/package-lock.json b/cli/package-lock.jsonindex 0ba965e..3f682cf 100644--- a/cli/package-lock.json+++ b/cli/package-lock.json@@ -1,12 +1,12 @@{"name": "antislop-ai",- "version": "3.2.1",+ "version": "3.2.2","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "antislop-ai",- "version": "3.2.1",+ "version": "3.2.2","license": "MIT","dependencies": {"@clack/prompts": "^1.7.0",diff --git a/cli/package.json b/cli/package.jsonindex 3fad068..a0e21a9 100644--- a/cli/package.json+++ b/cli/package.json@@ -1,6 +1,6 @@{"name": "antislop-ai",- "version": "3.2.1",+ "version": "3.2.2","description": "Interactive installer for the antislop skills. Anti Slop: Rules for AI Coding Agents.","type": "module","bin": {diff --git a/plugin.json b/plugin.jsonnew file mode 100644index 0000000..f2fc4e8--- /dev/null+++ b/plugin.json@@ -0,0 +1,3 @@+{+ "name": "antislop"+}diff --git a/rules/antislop.md b/rules/antislop.mdnew file mode 100644index 0000000..59b1683--- /dev/null+++ b/rules/antislop.md@@ -0,0 +1,12 @@+<EXTREMELY_IMPORTANT>+You use antislop (Anti Slop: Rules for AI Coding Agents). It is a filter, not a style guide: it stops generic AI slop in generated UI, copy, and code, without prescribing aesthetics.++For UI, copy, people, mobile layout, or code comments work, load the matching antislop skill before starting. Each skill is a folder in this plugin's skills/ directory (read its SKILL.md):+- Core filter, always on: skills/antislop/SKILL.md+- UI / visual: skills/antislop-ui/SKILL.md+- Copy & text: skills/antislop-copywriting/SKILL.md+- People: skills/antislop-human/SKILL.md+- Mobile / responsive: skills/antislop-layoutmobile/SKILL.md+- Code comments: skills/antislop-code/SKILL.md+Before starting, ask the user when antislop applies: during the work, or after it is done.+</EXTREMELY_IMPORTANT>