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
Merge #30: the Oh My Pi plugin door, commands corrected to this repository
miqdadbadjuber49db4092f5d8
diff --cc .omp-plugin/marketplace.jsonindex 0000000,939f869..cc59c61mode 000000,100644..100644--- a/.omp-plugin/marketplace.json+++ b/.omp-plugin/marketplace.json@@@ -1,0 -1,15 +1,15 @@@+ {+ "name": "anti-slop",+ "description": "The antislop skill/plugin. Anti Slop: Rules for AI Coding Agents.",+ "owner": {+ "name": "miqdadbadjuber"+ },+ "plugins": [+ {+ "name": "antislop",+ "source": "./",- "version": "3.2.16",++ "version": "3.2.17",+ "description": "Anti Slop: Rules for AI Coding Agents. Stops generic AI slop in generated UI, copy, and code. Loads as six skills."+ }+ ]+ }diff --cc .omp-plugin/plugin.jsonindex 0000000,2749de4..e011ccbmode 000000,100644..100644--- a/.omp-plugin/plugin.json+++ b/.omp-plugin/plugin.json@@@ -1,0 -1,14 +1,14 @@@+ {+ "name": "antislop",+ "displayName": "antislop",- "version": "3.2.16",++ "version": "3.2.17",+ "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"+ },+ "homepage": "https://github.com/miqdadbadjuber/anti-slop",+ "repository": "https://github.com/miqdadbadjuber/anti-slop",+ "license": "MIT",+ "keywords": ["ai-slop", "design-rules", "copy-rules", "agent-skills", "ui", "accessibility"],+ "skills": ["./skills/"]+ }diff --cc GUIDE.mdindex 7a68060,b863ab8..212faca--- a/GUIDE.md+++ b/GUIDE.md@@@ -36,20 -36,18 +36,20 @@@ There are five routes in, and the diffe| Route | What it does | Works on ||-------|--------------|----------|-| **The installer** | Copies the skill folders into your project or your home folder | Eleven agents, no setup beyond a terminal |+| **The installer** | Copies the skill folders into your project or your home folder | Twelve agents, no setup beyond a terminal || **The skills directory** | Copies the same folders using the skills.sh tool | The agents that directory supports |- | **A plugin door** | Loads antislop straight from this repository, nothing copied | Claude Code, Antigravity, Codex, Cursor, Kimi Code, Cline |+ | **A plugin door** | Loads antislop straight from this repository, nothing copied | Claude Code, Antigravity, Codex, Cursor, Kimi Code, Cline, Oh My Pi |+| **The Pi package** | Loads antislop through Pi's own package manager, nothing copied | Pi || **The single file** | One Markdown file you hand to any AI | Anything that reads text, including a phone |Pick one. They load the same rules, so adding a second only gives you a second thing to keep updated.### Which route should I pick?-- **The installer** if you want antislop in one project or everywhere, and you use any of the eleven agents. It is the only route that covers OpenCode, Cline, Amp, Gemini CLI, Hermes, and GitHub Copilot, and the only one that detects your agents for you.+- **The installer** if you want antislop in one project or everywhere, and you use any of the twelve agents. It is the only route that covers OpenCode, Amp, Gemini CLI, Hermes, GitHub Copilot, and Pi, and the only one that detects your agents for you.- **The skills directory** if you already use that directory's tool and want the folders without the installer's questions. It writes no pointer, so antislop reloads by description alone.- - **A plugin door** if you use Claude Code, Antigravity, Codex, Cursor, Kimi Code, or Cline and would rather not keep a copy in your project. You get updates from the plugin's own update command instead of re-running an installer.+ - **A plugin door** if you use Claude Code, Antigravity, Codex, Cursor, Kimi Code, Cline, or Oh My Pi and would rather not keep a copy in your project. You get updates from the plugin's own update command instead of re-running an installer.+- **The Pi package** if you use Pi and would rather have it installed and updated by Pi itself, from the same repository.- **The single file** if you have no terminal, or you want antislop in a chat window or on a phone.### Before you start@@@ -191,24 -189,24 +191,40 @@@ The plugin registers no tools and no ho**Read this before you pick it.** Cline's own documentation limits plugins to the SDK, the CLI, and Kanban, and states that the feature does not apply to the VS Code and JetBrains extensions. So this door is for a Cline CLI install. If you run Cline inside an editor, use the installer instead: it writes the same skills into `.cline/skills/`, which both the CLI and the extensions read.+ #### Oh My Pi++ Add the marketplace once, then install the plugin:++ ```bash-omp plugin marketplace add oggiesutrisna/omp-anti-slop-integration++omp plugin marketplace add miqdadbadjuber/anti-slop+ omp plugin install antislop@anti-slop+ ```++ Or from inside an active Oh My Pi session:++ ```text-/marketplace add oggiesutrisna/omp-anti-slop-integration++/marketplace add miqdadbadjuber/anti-slop+ /marketplace install antislop@anti-slop+ ```+---+### The Pi package++Pi is the one route here that is not a plugin and not a folder copy. Pi reads a `pi` key in this repository's root `package.json`, which points at the `skills/` folder, so Pi itself fetches and installs them:++```bash+pi install git:github.com/miqdadbadjuber/anti-slop+```++That writes the package declaration to `~/.pi/agent/settings.json`, so it covers every project. Add `-l` to write it to this project's `.pi/settings.json` instead, where it covers this repository only.++**Pi will ask you to trust the project.** Everything Pi loads out of a project is gated behind that decision, including the skills, and it has no command for granting it the way Hermes does. Pi asks on the first run; `/trust` saves your answer for later sessions, and `--approve` answers it once for an automated run. Context files are the exception, so `AGENTS.md` loads either way.++Pi also reads the shared `.agents/skills/` folder at both scopes, so the installer (route 1) reaches it too. If you would rather not have Pi hold a package declaration of its own, that is the route to use.++---+### The single fileUse this when you have no terminal, or when your AI is a chat window you cannot run commands in. Three steps.@@@ -369,16 -367,22 +385,25 @@@ cline plugin install https://github.comWithout it, Cline keeps what is installed and tells you so.+ #### Oh My Pi++ Update the marketplace catalog and upgrade the plugin:++ ```bash+ omp plugin marketplace update anti-slop+ omp plugin upgrade antislop@anti-slop+ ```+-Or inside an active session:+### The Pi package-```text-/marketplace update anti-slop-/marketplace upgrade antislop@anti-slop+Let Pi reconcile what it has installed, which covers antislop and anything else you added:++```bash+pi update --extensions```+Running the install command again works as well. Nothing is copied into your project by this route, so there is no folder to replace and no pointer to refresh. If you installed with `-l`, the declaration is in this project's `.pi/settings.json` and loads after project trust is granted.+### The single fileDownload the file again and replace your copy. There is nothing else to update, since this route installs no folders.@@@ -442,14 -446,18 +467,26 @@@ It asks for confirmation. `/plugins disCline 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.+ #### Oh My Pi++ ```bash+ omp plugin uninstall antislop@anti-slop+ ```++ To drop the marketplace as well:++ ```bash+ omp plugin marketplace remove anti-slop+ ```++### The Pi package++```bash+pi remove git:github.com/miqdadbadjuber/anti-slop+```++That deletes the entry from Pi's `packages` list, in `~/.pi/agent/settings.json` or in this project's `.pi/settings.json` if you installed with `-l`. `pi list` shows what Pi still has configured. Nothing was copied into your project by this route, so that is the whole removal.+### The single fileDelete the `antislop.md` file you downloaded. If you attached it to a chat project instead of keeping it as a file, remove it from that project's reference material.@@@ -525,7 -530,7 +562,7 @@@ If your `DESIGN.md` happens to ask for## Where is this going?- antislop is packaged four ways at once: standard skill folders, native plugins for Claude Code, Antigravity, Codex, Cursor, Kimi Code, and Cline, a Pi package read from the root `package.json`, and the single-file core that works anywhere. Agent support grows over time. For the current release and what comes next, see the [roadmap](ROADMAP.md). For the full picture of every skill, see the [README](README.md).-antislop is packaged three ways at once: standard skill folders, native plugins for Claude Code, Antigravity, Codex, Cursor, Kimi Code, Cline, and Oh My Pi, and the single-file core that works anywhere. Agent support grows over time. For the current release and what comes next, see the [roadmap](ROADMAP.md). For the full picture of every skill, see the [README](README.md).++antislop is packaged four ways at once: standard skill folders, native plugins for Claude Code, Antigravity, Codex, Cursor, Kimi Code, Cline, and Oh My Pi, a Pi package read from the root `package.json`, and the single-file core that works anywhere. Agent support grows over time. For the current release and what comes next, see the [roadmap](ROADMAP.md). For the full picture of every skill, see the [README](README.md).## Feedbackdiff --cc README.mdindex 2653f30,8268563..b85518e--- a/README.md+++ b/README.md@@@ -148,16 -148,29 +148,34 @@@ cline plugin install https://github.comThe plugin ships no tools and no hooks. Its whole payload is the `skills/` folder it bundles, which Cline discovers on install. This has to be said plainly: Cline's own documentation limits plugins to the SDK, the CLI, and Kanban, and says the feature does not apply to the VS Code and JetBrains extensions yet. So this door covers a Cline CLI install and not an editor install, and the installer in path 1 is the route for an editor.-### 9. The plugin (Oh My Pi)+### 9. The package (Pi)-This repository is an Oh My Pi plugin and marketplace. Add the marketplace once, then install the plugin:+The same repo is a Pi package. Pi reads a `pi` key in this repository's root `package.json`, which points at the `skills/` folder, so the install is one command:```bash-omp plugin marketplace add oggiesutrisna/omp-anti-slop-integration-omp plugin install antislop@anti-slop+pi install git:github.com/miqdadbadjuber/anti-slop```-Or from an active Oh My Pi session:+That writes the package declaration to `~/.pi/agent/settings.json`, which covers every project. Add `-l` to write it to this project's `.pi/settings.json` instead, where it applies to this repository only and loads after you grant project trust.-```text-/marketplace add oggiesutrisna/omp-anti-slop-integration-/marketplace install antislop@anti-slop-```++### 10. The plugin (Oh My Pi)+-If you are using the upstream repository directly:++The same repo is an Oh My Pi plugin and marketplace. Add the marketplace once, then install the plugin:++ ```bash+ omp plugin marketplace add miqdadbadjuber/anti-slop+ omp plugin install antislop@anti-slop+ ```+++Or from inside an active Oh My Pi session:++++```text++/marketplace add miqdadbadjuber/anti-slop++/marketplace install antislop@anti-slop++```++++The install is per user by default, which covers every project. Add `--scope project` to keep it inside the active project instead.++### Where the skills liveEvery skill is a folder of the open Agent Skills standard (`<name>/SKILL.md`), so it drops into any agent that reads the standard. The installer (path 1) installs into whichever of these you use, creating the folder if it is missing:@@@ -215,7 -227,6 +233,8 @@@ It prints the release it replaced besid| The plugin (Cursor) | `agent plugin marketplace update https://github.com/miqdadbadjuber/anti-slop` || The plugin (Kimi Code) | `/plugins install https://github.com/miqdadbadjuber/anti-slop` || The plugin (Cline) | `cline plugin install https://github.com/miqdadbadjuber/anti-slop.git --force` |+| The package (Pi) | `pi update --extensions` |++| The plugin (Oh My Pi) | `omp plugin marketplace update anti-slop` || Manual | download `antislop.md` again |Skills load when a session starts, so start a new one afterwards. To see which version you are on, open the `VERSION` file in the installed `antislop` folder, or ask your agent. [GUIDE.md](GUIDE.md#update) covers each route step by step.@@@ -274,9 -285,8 +293,9 @@@ No, a filter. It does not prescribe colAll of them, but the install paths differ:-- **The installer and the skills directory** support Claude Code, Codex, Antigravity, OpenCode, Cursor, Cline, Amp, Gemini CLI, Hermes, GitHub Copilot, and Kimi Code (the installer detects each agent's skill folder). These are the recommended paths.-- **The plugins** are per-agent doors: the Claude Code marketplace plugin (path 3), the Antigravity plugin (path 4), the Codex plugin (path 5), the Cursor plugin (path 6), the Kimi Code plugin (path 7), the Cline plugin (path 8), and the Oh My Pi plugin (path 9), all installed from the same repo.+- **The installer and the skills directory** support Claude Code, Codex, Antigravity, OpenCode, Cursor, Cline, Amp, Gemini CLI, Hermes, GitHub Copilot, Kimi Code, and Pi (the installer detects each agent's skill folder). These are the recommended paths.- - **The plugins** are per-agent doors: the Claude Code marketplace plugin (path 3), the Antigravity plugin (path 4), the Codex plugin (path 5), the Cursor plugin (path 6), the Kimi Code plugin (path 7), and the Cline plugin (path 8), all installed from the same repo.++- **The plugins** are per-agent doors: the Claude Code marketplace plugin (path 3), the Antigravity plugin (path 4), the Codex plugin (path 5), the Cursor plugin (path 6), the Kimi Code plugin (path 7), the Cline plugin (path 8), and the Oh My Pi plugin (path 10), all installed from the same repo.+- **The Pi package** (path 9) is the one route that is not a plugin or a folder copy: Pi reads the `pi` key in this repository's root `package.json`.- **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 --cc ROADMAP.mdindex 1b26558,7137353..1de57ed--- a/ROADMAP.md+++ b/ROADMAP.md@@@ -8,9 -8,9 +8,9 @@@ The latest release is **v3.2.17**. anti- **The core: 38 rules** across three tiers (Hard Gate, Purpose-Gate, Quality Locks), a Liveliness Toolkit, a mandatory Delivery Gate, and two usage modes (During / After). The count has held since v2.2 and the tiers have not moved, but individual rules have been sharpened many times since, and the release history below says where. The single-file `antislop.md` is still a complete filter you can paste into any chat window; its First-Run Install Wizard is the manual install path.- **The six skills:** `antislop` (the core), plus `antislop-ui`, `antislop-copywriting`, `antislop-human`, `antislop-layoutmobile`, and `antislop-code`. Each skill only loads when the task needs it.- - **Distribution:** nine install paths from one repo, and the contrast checker is also exposed as an MCP tool inside the plugin. The paths are the interactive installer (`npx antislop-ai`), the skills.sh directory, native plugin doors for Claude Code, Antigravity, Codex, Cursor, Kimi Code, and Cline, and the Pi package read from the root `package.json`. Install commands live in the README, and the GUIDE walks through every route from zero.-- **Distribution:** nine install paths from one repo, and the contrast checker is also exposed as an MCP tool inside the Claude Code plugin. The paths are the interactive installer (`npx antislop-ai`), the skills.sh directory, and native plugin doors for Claude Code, Antigravity, Codex, Cursor, Kimi Code, Cline, and Oh My Pi. Install commands live in the README, and the GUIDE walks through every route from zero.++- **Distribution:** ten install paths from one repo, and the contrast checker is also exposed as an MCP tool inside the Claude Code plugin. The paths are the interactive installer (`npx antislop-ai`), the skills.sh directory, native plugin doors for Claude Code, Antigravity, Codex, Cursor, Kimi Code, Cline, and Oh My Pi, and the Pi package read from the root `package.json`. Install commands live in the README, and the GUIDE walks through every route from zero.- **The doors:** each native plugin loads antislop straight from this repository, so there are no copies to keep in sync.-- **The shared folder:** the bet behind the long tail is that `.agents/skills/` is read widely enough that a new agent costs one row instead of a bespoke door. Antigravity reads it by default, Hermes treats it as a project tier beside its own `.hermes/skills/`, which ranks higher, and Copilot, OpenCode, Codex, and Kimi Code read it as one of several roots. Claude Code is the holdout, reading `.claude/skills/` and nothing else. The home-level folder is shared by four of them: Copilot, OpenCode, Codex, which marks its own `$CODEX_HOME/skills` deprecated in its favour, and Kimi Code, whose own user folder moves with `KIMI_CODE_HOME` and so cannot be written without reading that variable. Antigravity is the one that reads neither, taking `~/.gemini/config/skills/` instead, and OpenCode keeps `~/.config/opencode/skills/` beside the shared one. The installer writes each agent's own documented path, so no door depends on another vendor's convention holding.+- **The shared folder:** the bet behind the long tail is that `.agents/skills/` is read widely enough that a new agent costs one row instead of a bespoke door. Antigravity reads it by default, Hermes treats it as a project tier beside its own `.hermes/skills/`, which ranks higher, and Copilot, OpenCode, Codex, Kimi Code, and Pi read it as one of several roots. Claude Code is the holdout, reading `.claude/skills/` and nothing else. The home-level folder is shared by five of them: Copilot, OpenCode, Codex, which marks its own `$CODEX_HOME/skills` deprecated in its favour, Kimi Code, whose own user folder moves with `KIMI_CODE_HOME` and so cannot be written without reading that variable, and Pi. Antigravity is the one that reads neither, taking `~/.gemini/config/skills/` instead, and OpenCode keeps `~/.config/opencode/skills/` beside the shared one. The installer writes each agent's own documented path, so no door depends on another vendor's convention holding.## Release history@@@ -67,8 -67,9 +67,8 @@@ Every door is verified against the vend| Version | Item | What it means ||---------|------|---------------|- | v3.2.18 | Oh My Pi | Oh My Pi is a fork of Pi and falls back to the `pi` key v3.2.17 added to the root `package.json`, so the first question is what the plugin manifest adds that the key does not, and the answer decides whether `.omp-plugin/` ships at all. Its catalog entry carries a version either way, because Oh My Pi's update checker permanently skips entries that lack one. The open question about the contrast MCP server it declares, which the Codex, Cursor, and Kimi doors left out, is settled in the same round. |-| v3.2.17 | Pi | The installer row, the `AGENTS.md` pointer, and the root `package.json` that makes this repo a Pi package. Oh My Pi is a fork of Pi and reads the same `pi` key, so this door is also what makes the repo discoverable there. |-| v3.2.18 | Oh My Pi | The marketplace catalog, if the Pi door above has not already covered the plugin path. Every catalog entry carries a version, because Oh My Pi's update checker permanently skips entries that lack one. |-| v3.2.19 | Maintenance | No new agent, and the slot carries what v3.2.16 did not: both halves of the Cline door still have no live check, and the saved usage-mode preference lands here if its author brings the Windows settings path and the fresh-session proof. Two further items are candidates the same way every maintenance slot picks its own. The plugin-door probes are the first surface here that reads a vendor's private store rather than a documented one, so they are re-checked against a real install before the round ships, and a door whose layout moved is corrected or dropped rather than left to go quiet. Cline's and Kimi Code's stores stay out until their layouts can be read from documentation or from an install, which is what kept them out of v3.2.16. |++| v3.2.18 | Oh My Pi | Oh My Pi is a fork of Pi and falls back to the `pi` key v3.2.17 added to the root `package.json`, so the first question is what the plugin manifest adds that the key does not, and the answer decides whether `.omp-plugin/` ships at all. A community PR opened the folder on main ahead of this slot, so the slot is now about keeping it rather than adding it, and the same question decides that. Its catalog entry carries a version either way, because Oh My Pi's update checker permanently skips entries that lack one. Oh My Pi is not installed on this machine, so no probe exists for any of it: the commands in the README and the guide come from the contributor, and the door is checked against a real install before this version ships rather than assumed from the manifest. The open question about the contrast MCP server it declares, which the Codex, Cursor, and Kimi doors left out, is settled in the same round. |+| v3.2.19 | Maintenance | No new agent, and the slot carries what v3.2.16 did not: both halves of the Cline door still have no live check, and the saved usage-mode preference lands here if its author brings the Windows settings path and the fresh-session proof. Two further items are candidates the same way every maintenance slot picks its own. The plugin-door probes are the first surface here that reads a vendor's private store rather than a documented one, so they are re-checked against a real install before the round ships, and a door whose layout moved is corrected or dropped rather than left to go quiet. Cline's and Kimi Code's stores stay out until their layouts can be read from documentation or from an install, which is what kept them out of v3.2.16. Pi's package belongs in the same pass, now that v3.2.17 confirmed the `packages` array in `~/.pi/agent/settings.json` against a real install: a user who installed the package is told nothing today, and the installer could name `pi update --extensions` the way it already names a plugin door's command. |Beyond the numbered plan, with no promised version: