anti-slop README

项目的 README,来自 github.com/miqdadbadjuber/anti-slop。合并为一个 markdown 文件:README.md。

antislop

Rules for AI Coding Agents

npx antislop-ai

Website · Guide · Roadmap · Install · Skills · FAQ

npm version Node.js skills.sh MIT license Discord

Trendshift Daily Trending miqdadbadjuber%2Fanti-slop | Trendshift Trendshift Monthly Trending


antislop is a rulebook an AI coding agent reads every session. It stops generic UI, text, and AI-shaped code, and it is a filter, not a style guide: no colors, fonts, or layouts prescribed, direction stays yours. Inside are 40 rules in three tiers, a Liveliness Toolkit, a mandatory PASS/FAIL report, and seven skills that load only when a task needs them. It cannot invent direction, so DESIGN.md supplies that, and antislop never beautifies on its own.

Before and after

Each pair below is one brief, run twice, so the difference is visible side by side.

UI

With /antislop-ui. antislop alone is not the after. It removes the slop and stops there; direction comes from DESIGN.md. For UI work you intend to ship, that file is mandatory: without it the result is labelled a draft without direction. The pair below is the result.

Before: without antislop After: antislop + DESIGN.md
The before: a generic landing page with a sparkle logo, a NEXT-GEN AI 2.0 beta pill above the headline, and a fake terminal reporting 0.0001ms latency The after: the same page with antislop and DESIGN.md, a full-bleed illustrated hero with one honest headline and project-specific navigation
This is what most AI output looks like: slop everywhere once you take a closer look. Much better. antislop kills the slop, and DESIGN.md gives it a real visual direction.

The two partial states are worth seeing, because each one shows why the other half matters:

Partial: antislop alone Partial: DESIGN.md alone
Partial result: antislop with no design direction, a plain dark layout with the invented numbers removed Partial result: DESIGN.md with no filter, a photographic hero with stat cards still reading 10,000% ROI Synergy Multiplier
The slop is gone, but so is the direction. That is why antislop needs a DESIGN.md. The direction is there, but honestly it is still far from good: the slop still shows.

Click here for the other before and after examples

Copywriting

With /antislop-copywriting. One prompt, run twice.

Side by side: before, an AI written Discord launch post with NEW DROP in capitals, emoji bullets, and hype in every line; after, the same post in plain sentences, with a note to cut any line that has nothing real to say

Accessibility

With /antislop-human. One sign-in form, run twice.

Side by side: before, a sign-in form with pale grey labels, a radio button, and blue body links; after, the same form with darker labels, a checkbox, underlined links, and a solid black button

Mobile layout

With /antislop-layoutmobile. One dashboard on a phone, run twice.

Side by side: before, a desktop finance dashboard squeezed onto a phone with a clipped headline and a wide table; after, the same screen with a donut chart, stacked allocation bars, and one readable column

Code

With /antislop-code. One file, run twice.

Side by side: before, Python with box-drawing section banners, emoji, and a comment restating every constant; after, the same code with the banners and emoji gone and one comment left where it says something

Install

antislop ships as standard agent skills: one folder per skill, holding a SKILL.md. Installation differs per agent, so pick the section for the one you use. Each route is walked through from zero, with update and removal, in GUIDE.md.

One command, then answer the prompts. It asks which skills you want, where to install them (this project or everywhere), and which agents you use, then copies the folders and writes the pointer that reloads antislop every session.

npx antislop-ai

The skills directory

antislop is listed on skills.sh, the open directory for agent skills. This copies the same folders as the installer and nothing else, so antislop reloads by description alone.

npx skills add miqdadbadjuber/anti-slop

Claude Code - Plugin

/plugin marketplace add https://github.com/miqdadbadjuber/anti-slop
/plugin install antislop@anti-slop

Antigravity - Plugin

agy plugin install https://github.com/miqdadbadjuber/anti-slop

Codex - Plugin

codex plugin marketplace add miqdadbadjuber/anti-slop
codex plugin add antislop@anti-slop

Cursor - Plugin

agent plugin marketplace add https://github.com/miqdadbadjuber/anti-slop

Then open Customize, find antislop, and select Install.

Kimi Code - Plugin

/plugins install https://github.com/miqdadbadjuber/anti-slop

DeepSeek Harness - Plugin

Open Plugins, choose Add plugin, paste this package name, and select Install:

antislop-ai

That is the desktop route. From a terminal instead, name the profile you use:

dsh plugin --profile desktop add antislop-ai

Cline - Plugin

cline plugin install https://github.com/miqdadbadjuber/anti-slop.git

This door covers the Cline CLI. For the VS Code or JetBrains extension, use the installer.

Muse Code - Plugin

Muse Code keeps its plugin system behind an opt-in flag, so set it first. On macOS and Linux:

export MUSE_EXPERIMENTAL_PLUGINS=1
muse plugins marketplace add anti-slop miqdadbadjuber/anti-slop
muse plugins install antislop@anti-slop

On Windows, set $env:MUSE_EXPERIMENTAL_PLUGINS = "1" in PowerShell first, then run the two muse lines unchanged.

Skills load without another step. Run muse plugins approve antislop to enable the contrast MCP server.

Qoder - Plugin

Qoder imports a plugin from a local folder, so clone this repository first:

git clone https://github.com/miqdadbadjuber/anti-slop.git

Then open Settings > Plugins in Qoder, click + Create Plugin, and choose the import-from-local-folder option. Qoder reads .qoder-plugin/plugin.json, which points at the same skills/ folder as every other door.

Qoder's own documentation also names the skills directory route, with its agent flag: npx skills add miqdadbadjuber/anti-slop -a qoder. Pick one route, not both.

Oh My Pi - Plugin

omp plugin marketplace add miqdadbadjuber/anti-slop
omp plugin install antislop@anti-slop

Pi - Package

pi install git:github.com/miqdadbadjuber/anti-slop

Qwen Code - Skills

antislop ships no Qwen extension manifest, so Qwen Code uses the installer or the skills directory. The installer writes .qwen/skills/ in a project and the shared ~/.agents/skills/ for a global install, and its session pointer goes into QWEN.md, which Qwen loads beside AGENTS.md.

Qwen reads the allowedTools frontmatter field and ignores an allowed-tools field written for another agent, so the shipped field stays inert there. The markdown skills need no adaptation, and the local Python helpers in antislop-human and antislop-pixel run as ordinary scripts.

The single file

antislop.md on its own is a complete filter you can paste into any chat window, with no packaging and no folders.

curl -o antislop.md https://raw.githubusercontent.com/miqdadbadjuber/anti-slop/main/antislop.md

Skills

Skill Covers Pick it for
antislop The core filter: rules, tiers, the Delivery Gate, liveliness Everything. Always loaded
antislop-ui Layout, color, components, decoration, motion, structure, performance UI and visual work
antislop-copywriting Headlines, CTAs, tone, fake stats, anti-AI writing, markdown hygiene Copy and text
antislop-human Contrast, keyboard, focus, states, interaction affordances Accessibility
antislop-layoutmobile Reflow across screen widths, breakpoints, grids, overflow, tap targets Responsive work
antislop-code AI-slop comments: which to remove, which to keep Comment cleanup
antislop-pixel Reference measurement: screenshot, link, or recording into HTML and CSS, or a measured design.md Pixel clones and design specs

Install one, several, or the core alone.

Usage modes

antislop runs one of two ways, and by default the agent asks which at the start of every session.

To skip the question, save a preference once:

npx antislop-ai --mode during

Use after for the other mode. Everything else, from --mode ask to where the setting lives, is in GUIDE.md.

Update

antislop does not update itself. If you installed through the installer, one command replaces what is already there, in this project and under your home directory, and prints the release it replaced:

npx antislop-ai --update

A plugin keeps its own copy under the agent that installed it, so it updates through its own manager, and the Pi package updates through Pi. Every route is listed in GUIDE.md. Skills load when a session starts, so start a new one afterwards.

FAQ

Is antislop a style guide? No, a filter. It rejects technique without purpose and requires liveliness. Direction is yours.

Which agents does it work with? Claude Code, Codex, Antigravity, OpenCode, Cursor, Cline, Amp, Gemini CLI, Hermes, GitHub Copilot, Kimi Code, DeepSeek Harness, Muse Code, Kilo Code, Qoder, Pi, Qwen Code, and Oh My Pi. The installer covers seventeen of them and detects which ones you have, and the plugin doors install from this same repository. GUIDE.md lists the folder each agent reads.

What is a skill? A folder that goes deeper into one concern, holding a SKILL.md with its rules. Skills reference the core rules by number and never duplicate them, so adding one does not change the core.

Roadmap

v4.0.1 is a security patch for antislop-pixel:

Every earlier release, and what comes next, is in ROADMAP.md.

Star History

Star History Chart

Contributors

Thanks to everyone who helps make antislop better. The full list is on the contributors graph.

Found a new slop pattern, a rule that missed something, or a bug in the installer? Open an issue. What a pull request has to carry is in CONTRIBUTING.md, and behavior in issues and pull requests is covered by CODE_OF_CONDUCT.md.


“antislop is a filter, not magic.
It clears the slop from your UI, text, and code.
A beautiful UI is DESIGN.md's job, and yours.”


Disclaimer

Get antislop from miqdadbadjuber/anti-slop, antislop.ai.id, or the antislop-ai npm package. The npm name antislop belongs to a different package, so npx antislop does not install this project.

There is no antislop coin, token, or fundraising. Any crypto coin, token, NFT, or fundraising that uses the antislop name was not created by this project and is a scam. antislop accepts donations only through the Sponsor button on this repository and Saweria; anyone collecting money in its name anywhere else is not authorized.

License

MIT: LICENSE

anti-slop (miqdadbadjuber/anti-slop)

正在搜索数据库…

这是什么?antislop 是给你的 AI 编程智能体的一份规则手册,让它不再产出千篇一律的「AI 味」内容——俗套的界面、文案和代码。它是一个过滤器,而不是风格指南:只禁止那些俗套的做法,但不规定用什么颜色、字体或布局。
那我装进来的到底是什么——一个库、一个插件,还是一个提示词文件?智能体技能(Agent skills):每个技能一个文件夹,里面有一个 SKILL.md,遵循开放的 Agent Skills 标准。核心过滤器始终加载;五个附加技能(界面、文案、无障碍、响应式布局、代码注释)只在任务需要时才加载。
怎么把它装到我的智能体里?运行 npx antislop-ai 并按提示回答——要哪些附加技能、装到项目还是全局、你在用哪些智能体——然后它会把文件夹复制进去。其他方式:skills.sh 目录、对应智能体的插件,或一个直接粘贴的 Markdown 文件。要更新时,重新运行安装程序并选择 Overwrite(覆盖)即可。
哪些编程智能体真正能用它?Claude Code、Codex、Antigravity、OpenCode、Cursor、Cline、Gemini CLI、Hermes、GitHub Copilot 和 Kimi Code,各自通过自己的 skills 文件夹来检测。任何支持 Agent Skills 标准的智能体都能用,而且核心文件就算直接粘贴到普通聊天窗口里也能生效。
用了它之后,我的设计真的会好看吗?单靠它不行——它只是过滤俗套,不会美化。设计的方向和美感来自你自己的 DESIGN.md;如果结果呆板无趣,说明缺的是设计方向,而不是过滤器失灵了。
这个过滤器到底检查什么?38 条强制规则,分三个层级:始终生效的硬性门槛(Hard Gates)、只有给出理由才允许使用某种手法的目的性门槛(Purpose-Gates),以及保证一致性的质量锁(Quality Locks)。在交付任何东西之前,交付门槛(Delivery Gate)会强制输出一份 PASS/FAIL(通过/不通过)报告;还有一套带 ENERGY、RHYTHM、MOTION 旋钮的活力工具箱(Liveliness Toolkit),让结果有生气、够具体,而不只是干净。
它到底能去掉哪类「AI 味」?界面方面:闪光logo、beta 角标、假终端、凭空编造的数字。文案方面:虚假的数据统计和典型的 AI 写作套路。代码方面:千篇一律的 AI 生成注释,而代码本身不会被动。
它怎么融入我的工作流程?两种方式,在会话开始时选择。「During(过程中)」在构建的同时进行引导,最后以交付门槛收尾——适合全新的界面。「After(事后)」则审计已完成的工作,给出带编号的问题清单,只修复你批准的部分。
安装之前有什么坑需要提前知道?有几点:Hermes 在你于项目里运行 hermes skills trust 之前,不会加载装到项目里的技能;Cline 的插件目前只覆盖它的 CLI,还不支持 VS Code 和 JetBrains 扩展;另外没有任何自动更新,新版本发布后需要重新运行你的安装命令。
大小
7.4 MB
星标
9.5K
时长
3个月
提交 · 90 天