dislop 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +4 -3
- package/.cursor-plugin/plugin.json +3 -2
- package/PRODUCT.md +18 -4
- package/README.md +72 -38
- package/README.zh-CN.md +70 -40
- package/bin/dislop.mjs +2883 -309
- package/gemini-extension.json +2 -2
- package/package.json +19 -3
- package/packs/business-brief/pack.json +336 -6
- package/packs/core/pack.json +14 -7
- package/packs/deck-and-ui/pack.json +255 -6
- package/packs/literary-essay/pack.json +20 -0
- package/patterns/ai-tic-rubric.json +252 -0
- package/patterns/banks/composite-fusion.json +13 -1
- package/patterns/banks/lexical-signals.json +20 -2
- package/patterns/banks/syntactic-frames.json +10 -3
- package/patterns/banks/visual-deck.json +7 -0
- package/patterns/dimensions/discourse.json +26 -0
- package/patterns/dimensions/lexical.json +26 -0
- package/patterns/dimensions/rhythm.json +52 -0
- package/patterns/dimensions/visual-and-deck.json +209 -1
- package/plugin.json +4 -3
- package/server.json +2 -2
- package/skills/dislop/SKILL.md +35 -41
- package/skills/dislop/agents/openai.yaml +1 -1
- package/skills/dislop/references/essay.md +24 -0
- package/skills/dislop/references/essay.zh-CN.md +24 -0
- package/skills/dislop/references/office.md +23 -0
- package/skills/dislop/references/office.zh-CN.md +23 -0
- package/skills/dislop/references/web-ui.md +24 -0
- package/skills/dislop/references/web-ui.zh-CN.md +24 -0
- package/skills/dislop/references/work-docs.md +25 -0
- package/skills/dislop/references/work-docs.zh-CN.md +24 -0
- package/src/binary-node.mjs +1716 -1
- package/src/core.mjs +3215 -247
- package/src/local-model.mjs +31 -11
- package/src/pattern-engine.mjs +174 -24
- package/src/pocket-model.mjs +27 -5
- package/src/review-client.mjs +1064 -0
- package/patterns/README.md +0 -39
- package/skills/dislop/references/business-and-rfc.md +0 -26
- package/skills/dislop/references/editorial-and-essay.md +0 -20
- package/skills/dislop/references/regulated-and-precision.md +0 -27
- package/skills/dislop/references/web-ui-and-deck.md +0 -26
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
},
|
|
7
7
|
"metadata": {
|
|
8
8
|
"description": "Official dislop plugin marketplace: pure-doc Agent Skill and Official Cloud MCP.",
|
|
9
|
-
"version": "0.
|
|
9
|
+
"version": "0.8.0"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "dislop",
|
|
14
14
|
"source": "./",
|
|
15
|
-
"description": "Linter for AI Slop
|
|
16
|
-
"version": "0.
|
|
15
|
+
"description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
|
|
16
|
+
"version": "0.8.0",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "dislop-ai",
|
|
19
19
|
"url": "https://dislop.com"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Linter for AI Slop
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "dislop-ai",
|
|
7
7
|
"url": "https://dislop.com"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Linter for AI Slop
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "dislop-ai",
|
|
7
7
|
"url": "https://dislop.com"
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"anti-slop",
|
|
14
14
|
"de-slop",
|
|
15
15
|
"ai-slop",
|
|
16
|
+
"humanizer",
|
|
16
17
|
"writing",
|
|
17
18
|
"linter",
|
|
18
19
|
"proofreading",
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
"interface": {
|
|
27
28
|
"displayName": "dislop",
|
|
28
29
|
"shortDescription": "Linter for AI Slop",
|
|
29
|
-
"longDescription": "Linter for AI Slop
|
|
30
|
+
"longDescription": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
|
|
30
31
|
"developerName": "dislop-ai",
|
|
31
32
|
"category": "Productivity",
|
|
32
33
|
"capabilities": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Linter for AI Slop
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "Cutting AI slop is real productivity. Linter for AI Slop with vetted rules (7 packs, 53 rules, 65 patterns) across pure-doc Skill, offline CLI, and Official Cloud MCP.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "dislop-ai",
|
|
7
7
|
"url": "https://dislop.com"
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"anti-slop",
|
|
14
14
|
"de-slop",
|
|
15
15
|
"ai-slop",
|
|
16
|
+
"humanizer",
|
|
16
17
|
"writing",
|
|
17
18
|
"linter",
|
|
18
19
|
"proofreading",
|
package/PRODUCT.md
CHANGED
|
@@ -6,11 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
## 中文
|
|
8
8
|
|
|
9
|
+
### Slogan
|
|
10
|
+
去 AI 味才是真正的生产力!
|
|
11
|
+
|
|
9
12
|
### 定位
|
|
10
13
|
**AI 味检查工具。** 帮你(的 Agent)在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。
|
|
11
14
|
|
|
15
|
+
### 中英文与多语种原则
|
|
16
|
+
- 网站(`dislop.com`、`/guides/`、`/rules/` 与 `/awesome/`)根据访问者浏览器语言自动默认中文或英文,不写死单一语种,并保留一键手动切换。
|
|
17
|
+
- 中英文各自面向独立受众做原生表达、原生案例和原生视觉物料,不做逐字翻译;X 等同时覆盖中英文读者的渠道,可分别发布独立中文帖与独立英文帖,单条内容严格不混排。
|
|
18
|
+
|
|
12
19
|
### 用户
|
|
13
|
-
第一批是 Coding Agent 用户,第二批是办公 Agent 用户,最后是所有用 AI
|
|
20
|
+
第一批是 Coding Agent 用户,第二批是办公 Agent 用户,最后是所有用 AI 交付成果的人;他们的 Agent 也是直接使用者,能自己找到并调用。
|
|
14
21
|
|
|
15
22
|
### 产品形态
|
|
16
23
|
1. **Skill(开源,纯文档)**:按文体整理的写作与界面避坑参考卡,不带可执行脚本。Agent 动笔前按需读取,写完后可调用 CLI 自检。
|
|
@@ -18,7 +25,7 @@
|
|
|
18
25
|
3. **官方 MCP 与网页工作台(云端服务)**:不用配本地环境,登录就能在办公或编码 Agent 里接入远程 MCP,或者直接在网页工作台使用。云端按文体做多模型深度审校,返回具体问题和改法建议,交给你的 Agent 结合本地上下文去改,也支持保留原排版的 Word/PPT 处理。
|
|
19
26
|
|
|
20
27
|
### 卖点
|
|
21
|
-
1.
|
|
28
|
+
1. **社区规则和工具一处拿全**:整合经过核验的开源去味规则、语料经验与 90 条精选工具,覆盖文稿、网页和 Word/PPT,不用自己到处搜集拼凑。
|
|
22
29
|
2. **多端与多场景兼容**:内置研发、商务、前端与演示等场景包,提供 Skill、Plugin、CLI 与官方 MCP,快速接入主流 Agent 和编辑器。
|
|
23
30
|
3. **本地离线保护隐私**:CLI 与本地插件支持纯本地运行、零上传,私密文稿与代码不出本机。
|
|
24
31
|
|
|
@@ -29,11 +36,18 @@
|
|
|
29
36
|
|
|
30
37
|
## English
|
|
31
38
|
|
|
39
|
+
### Slogan
|
|
40
|
+
Cutting AI slop is real productivity.
|
|
41
|
+
|
|
32
42
|
### Positioning
|
|
33
43
|
**Linter for AI Slop.** Helps you (and your agent) catch and fix AI-sounding text and template layouts in docs, web pages, and slides before sending.
|
|
34
44
|
|
|
45
|
+
### Bilingual & Market Independence
|
|
46
|
+
- `dislop.com`, `/guides/`, `/rules/`, and `/awesome/` auto-detect the visitor's browser language (`zh` or `en`) instead of hardcoding one default, with a one-click manual toggle.
|
|
47
|
+
- Chinese and English materials are authored independently for their own audiences—separate examples, banners, social cards, and posts rather than word-for-word translations. Bilingual channels like X can run separate native Chinese and native English posts without mixing languages inside a single post.
|
|
48
|
+
|
|
35
49
|
### Users
|
|
36
|
-
First coding agent users, then office agent users, and finally everyone who delivers work with AI.
|
|
50
|
+
First coding agent users, then office agent users, and finally everyone who delivers work with AI. Their agents are direct users too, and can find and run dislop on their own.
|
|
37
51
|
|
|
38
52
|
### Product Form
|
|
39
53
|
1. **Skill (open-source, Markdown only)**: Genre-specific writing and UI reference cards with no bundled scripts. Your agent reads the matching card before drafting and can run the CLI afterward to check its work.
|
|
@@ -42,7 +56,7 @@ First coding agent users, then office agent users, and finally everyone who deli
|
|
|
42
56
|
|
|
43
57
|
### Selling Points
|
|
44
58
|
1. **Curated community work**: Combines vetted open-source rules, corpus findings, and an indexed tool directory across docs, web UI, Word, and PowerPoint, without hunting down scattered prompts.
|
|
45
|
-
2. **Broad host and scenario fit**: Ships domain packs for engineering, business, UI, and decks across Skill, Plugin, CLI, and Cloud MCP, connecting to major agents and editors in
|
|
59
|
+
2. **Broad host and scenario fit**: Ships domain packs for engineering, business, UI, and decks across Skill, Plugin, CLI, and Cloud MCP, connecting to major agents and editors in one command.
|
|
46
60
|
3. **Local, offline, private**: The CLI and local plugins run on your machine with zero uploads, keeping private drafts and source code local.
|
|
47
61
|
|
|
48
62
|
### One-Sentence Pitch
|
package/README.md
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
1
|
<p align="center">
|
|
2
2
|
<picture>
|
|
3
3
|
<source media="(prefers-color-scheme: dark)" srcset="./assets/banner-dark.svg">
|
|
4
|
-
<img src="./assets/banner-light.svg" alt="dislop —
|
|
4
|
+
<img src="./assets/banner-light.svg" alt="dislop — Cutting AI slop is real productivity." width="100%">
|
|
5
5
|
</picture>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
9
|
<a href="./README.zh-CN.md">简体中文</a> ·
|
|
10
|
-
<a href="https://dislop.com
|
|
10
|
+
<a href="https://dislop.com">Try it at dislop.com</a> ·
|
|
11
|
+
<a href="https://dislop.com/en/guides/">Guides</a> ·
|
|
12
|
+
<a href="https://dislop.com/en/rules/">Rule Catalog</a> ·
|
|
13
|
+
<a href="./awesome/README.md">Awesome Anti-Slop</a> ·
|
|
11
14
|
<a href="https://www.npmjs.com/package/dislop">npm</a> ·
|
|
12
15
|
<a href="https://pypi.org/project/dislop/">PyPI</a> ·
|
|
13
|
-
<a href="./awesome/README.md">Awesome Anti-Slop</a> ·
|
|
14
|
-
<a href="./ROADMAP.md">Roadmap</a> ·
|
|
15
16
|
<a href="https://x.com/dislop_ai">X (@dislop_ai)</a> ·
|
|
16
17
|
<a href="./LICENSE">Apache-2.0</a>
|
|
17
18
|
</p>
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
**Cutting AI slop is real productivity.** `dislop` is a linter for AI slop. It catches AI-sounding text and template layouts in docs, web pages, and slides before you send them. Its rules come from vetted community projects and corpus findings, and the repo keeps a list of 90 related tools.
|
|
21
|
+
|
|
22
|
+
It comes in three parts:
|
|
23
|
+
|
|
24
|
+
- **Markdown-only Skill**: genre reference cards with zero scripts.
|
|
25
|
+
- **Open-source CLI & editor plugins**: offline checks across Markdown, HTML/CSS/JSX/SVG, PNG/JPEG/WebP/GIF, Word, PowerPoint, and PDF slides.
|
|
26
|
+
- **Official Cloud MCP & Web Workbench** (`https://dislop.com/mcp`): multi-model review by genre without local setup.
|
|
20
27
|
|
|
21
28
|
Here is a short launch note straight from a model:
|
|
22
29
|
|
|
@@ -35,50 +42,60 @@ Certainly! Here is the launch note. It's worth noting that exports are a game-ch
|
|
|
35
42
|
If you rewrite it into a second-order AI slogan (`This isn't just an upgrade — it's a new standard.`), running `dislop check` catches that too. Clean it up into plain prose and `dislop check` exits `0`.
|
|
36
43
|
|
|
37
44
|
<p align="center">
|
|
38
|
-
<img src="./assets/demos/proof-cycle-en-
|
|
45
|
+
<img src="./assets/demos/proof-cycle-en-v2.gif" alt="dislop checking a launch note across 3 states: flagging chatbot artifact and filler, catching a second-order slogan, and passing with exit 0" width="840">
|
|
39
46
|
</p>
|
|
40
47
|
|
|
41
|
-
|
|
48
|
+
It inspects Markdown, plain text, HTML/CSS/JSX/SVG, PNG/JPEG/WebP/GIF images, Word (`.docx`), PowerPoint (`.pptx`), and PDF slides (`.pdf`). The open-source CLI and local plugins run offline with zero uploads, bundling all **7 built-in packs (`53` rules)** and extended structural checks. Zero hits only means no known pattern matched—it does not prove deep content quality.
|
|
49
|
+
|
|
50
|
+
For hosted review, sign in at [dislop.com](https://dislop.com) or connect Official Cloud MCP (`https://dislop.com/mcp`): `dislop_review` returns structured issues and edit guidance for your local agent to revise in project context.
|
|
42
51
|
|
|
43
52
|
## Quick start
|
|
44
53
|
|
|
45
|
-
### Node.js 20+ (
|
|
54
|
+
### Node.js 20+ (npm, zero dependencies, all 7 packs bundled offline)
|
|
46
55
|
|
|
47
56
|
```bash
|
|
48
|
-
# Check the current folder (exits 1 on core AI artifact errors; prints cliché warnings)
|
|
57
|
+
# 1. Check the current folder (exits 1 on core AI artifact errors; prints cliché warnings)
|
|
49
58
|
npx --yes dislop check .
|
|
50
59
|
|
|
51
|
-
#
|
|
52
|
-
npx --yes dislop check draft.md --pack auto --profile --ml --patterns
|
|
53
|
-
|
|
54
|
-
# Extract a deterministic personal voice profile offline or inspect a rule's examples
|
|
55
|
-
npx --yes dislop voice my-notes.md
|
|
60
|
+
# 2. Inspect a rule's check question and Before / Fallback / Clean examples
|
|
56
61
|
npx --yes dislop explain negation-pivot-frame
|
|
57
62
|
|
|
58
|
-
# Check only lines changed against main and emit GitHub PR annotations
|
|
63
|
+
# 3. Check only lines changed against main and emit GitHub PR annotations
|
|
59
64
|
npx --yes dislop check --changed origin/main --format github
|
|
60
65
|
```
|
|
61
66
|
|
|
62
|
-
|
|
67
|
+
<details>
|
|
68
|
+
<summary>More CLI commands (deep checks, review, verify, personal style, Python)</summary>
|
|
63
69
|
|
|
64
70
|
```bash
|
|
65
|
-
#
|
|
71
|
+
# Deep inspection (auto-routed pack + scenario register + rhythm stats + Pocket ML + pattern banks, compact JSON)
|
|
72
|
+
npx --yes dislop check draft.md --pack auto --register argumentative --deep --profile --compact --json
|
|
73
|
+
|
|
74
|
+
# Multi-signal BYOK review, scenario-aware anti-degradation check, three-layer doctor, and offline voice card
|
|
75
|
+
npx --yes dislop review draft.md --register casual
|
|
76
|
+
npx --yes dislop verify --git HEAD draft.md --register casual
|
|
77
|
+
npx --yes dislop doctor
|
|
78
|
+
npx --yes dislop voice my-notes.md
|
|
79
|
+
|
|
80
|
+
# Python 3.10+ (PyPI, zero dependencies)
|
|
66
81
|
uvx dislop check quarterly-review.pptx
|
|
67
82
|
pip install dislop && dislop check .
|
|
68
83
|
```
|
|
69
84
|
|
|
85
|
+
</details>
|
|
86
|
+
|
|
70
87
|
<p align="center">
|
|
71
|
-
<img src="./assets/demos/cli-check-en-
|
|
88
|
+
<img src="./assets/demos/cli-check-en-v2.gif" alt="dislop CLI offline check failing with exit code 1 on draft and passing with exit code 0 after cleanup" width="840">
|
|
72
89
|
</p>
|
|
73
90
|
|
|
74
91
|
## AI artifacts vs. style warnings
|
|
75
92
|
|
|
76
93
|
Auto-rewriters often trade one AI cliché for another or flatten your voice into a generic template. Flat banned-word lists also cause false alarms on ordinary nouns (`Delve` debugger, `wool tapestry`).
|
|
77
94
|
|
|
78
|
-
`dislop` splits its
|
|
95
|
+
`dislop` splits its 53 rules across 7 bundled packs into two layers:
|
|
79
96
|
|
|
80
97
|
1. **AI delivery artifacts (`packs/core/`, `severity: error`, always on)**: Clear leftovers from AI generation—stray chatbot greetings (`Certainly! Here is...`, `[oaicite:1]`), unfilled `[insert ...]` / `{{var}}` / `[TBD]` placeholders, raw Markdown asterisks pasted unrendered into `.docx`/`.pptx`, and dead `<a href="#">` placeholder buttons.
|
|
81
|
-
2. **Built-in scenario & vertical packs (`warning` / `info`, advisory by default, 0 network downloads)**: `business-brief`, `engineering-spec` (PR diff parrots, shallow root causes, unowned action items), `regulated-comms` (unsubstantiated superlatives, unanchored `"10x faster"` multipliers), `literary-essay`, `deck-and-ui`, and `executive-deck` (process-only slide titles, 4+ consecutive identical slide skeletons). Each rule includes a check question, before /
|
|
98
|
+
2. **Built-in scenario & vertical packs (`warning` / `info`, advisory by default, 0 network downloads)**: `business-brief`, `engineering-spec` (PR diff parrots, shallow root causes, unowned action items), `regulated-comms` (unsubstantiated superlatives, unanchored `"10x faster"` multipliers), `literary-essay`, `deck-and-ui`, and `executive-deck` (process-only slide titles, 4+ consecutive identical slide skeletons). Each rule includes a check question, before / still sounds like AI / after examples, and automated hit/clean tests.
|
|
82
99
|
|
|
83
100
|
## What it reads
|
|
84
101
|
|
|
@@ -87,26 +104,38 @@ Both the Node.js CLI (`bin/dislop.mjs`) and the Python CLI (`src/dislop/`) run w
|
|
|
87
104
|
| What you bring | Extensions | What `dislop` catches | Known boundary |
|
|
88
105
|
|---|---|---|---|
|
|
89
106
|
| Drafts & docs | `.md`, `.mdx`, `.txt` | AI artifacts + throat-clearing openers, `"Not X, but Y"` pivots, staccato slogan runs, bureaucratic padding, four-character triads, moralizing endings, unsourced claims, bold-lead bullet walls, em-dash overuse, half-width CJK punctuation | Code blocks, inline code, URLs, blockquotes, and `dislop-quote` blocks are masked for style rules |
|
|
90
|
-
| Web pages &
|
|
107
|
+
| Web pages, SVG & UI | `.html`, `.css`, `.jsx`, `.tsx`, `.svg` | Dead `<a href="#">` placeholder links, unexplained `<button disabled>`, purple-pink AI gradients (incl. SVG gradients), `blur-3xl` glow orbs, pulsing dots, emoji chrome, icon-tile grids, fake window dots, `01/02/03` kickers, pill soup, 3-level nested boxes, missing `viewBox`, overlapping `<text>`, orphaned `<defs>` | Static per-file inspection; runtime DOM state still needs browser tests |
|
|
108
|
+
| Raster images | `.png`, `.jpg`, `.jpeg`, `.webp`, `.gif` | Unstripped A1111/ComfyUI workflow prompt parameters (`warning`), C2PA/IPTC AI provenance tags (`info`, keeping required legal disclosures), and PNG/GIF dark-neon purple or plastic oversaturated palette heuristics | Pixel heuristics require uncompressed 8-bit PNG (`>= 64x64`) or GIF frame 0 (`>= 64x64`); JPEG/WebP inspect metadata only |
|
|
91
109
|
| Word | `.docx` | Joined `<w:t>` runs, raw Markdown asterisks pasted from chat, and prose slop rules (`para N`) | Reports paragraph number rather than rendered page number |
|
|
92
|
-
| PowerPoint | `.pptx` |
|
|
110
|
+
| PowerPoint & PDF | `.pptx`, `.pdf` | Slide order (`p:sldIdLst`), raw Markdown, landscape slide word-walls (`> 120` words / `> 280` Han chars), bullet caps (`> 6`), `<a:normAutofit>` shrink (`< 80%`), generic/process titles, layout monotony, multi-page raster-only PDFs, collapsed type scales (`< 1.2x` or `< 9.5pt`), purple RGB shadings | Portrait PDFs exempt from slide rules; encrypted PDFs report `[SKIP]` honestly; not a generic PDF/X print preflight |
|
|
93
111
|
|
|
94
112
|
<table>
|
|
95
113
|
<tr>
|
|
96
114
|
<td width="50%" align="center">
|
|
97
|
-
<img src="./assets/demos/workbench-live-en-
|
|
115
|
+
<img src="./assets/demos/workbench-live-en-v2.gif" alt="dislop.com offline browser workbench checking original draft, 2nd-order slop, and clean copy" width="100%"><br>
|
|
98
116
|
<sub>Offline browser workbench in action</sub>
|
|
99
117
|
</td>
|
|
100
118
|
<td width="50%" align="center">
|
|
101
|
-
<img src="./assets/demos/ui-slop-en-
|
|
119
|
+
<img src="./assets/demos/ui-slop-en-v2.gif" alt="Auditing AI gradient, pill wall, and dead href='#' control before switching to a plain 1px sheet" width="100%"><br>
|
|
102
120
|
<sub>UI template slop audit before and after</sub>
|
|
103
121
|
</td>
|
|
104
122
|
</tr>
|
|
123
|
+
<tr>
|
|
124
|
+
<td colspan="2" align="center">
|
|
125
|
+
<img src="./assets/demos/deck-office-en-v2.gif" alt="dislop auditing quarterly-review.pptx for raw markdown leaks, word walls, 68% autofit shrink, and process titles" width="840"><br>
|
|
126
|
+
<sub>PowerPoint (.pptx) audit: raw markdown, word walls, autofit shrink, and process titles</sub>
|
|
127
|
+
</td>
|
|
128
|
+
</tr>
|
|
105
129
|
</table>
|
|
106
130
|
|
|
107
|
-
## Awesome Anti-Slop
|
|
131
|
+
## Guides, Rule Catalog & Awesome Anti-Slop
|
|
108
132
|
|
|
109
|
-
|
|
133
|
+
Beyond the CLI, this repository compiles into a full reference library at `dislop.com`:
|
|
134
|
+
|
|
135
|
+
- **[Rule Catalog (53 rules)](https://dislop.com/en/rules/)**: Every built-in rule with its Deletion Test question, Before / Fallback / Clean examples, and one-line citation links for PR reviews.
|
|
136
|
+
- **[Practical Guides](https://dislop.com/en/guides/)**: [What is AI slop](https://dislop.com/en/guides/what-is-ai-slop/) · [Remove AI slop from writing](https://dislop.com/en/guides/remove-ai-slop-writing/) · [Fix AI slop in web UI](https://dislop.com/en/guides/fix-ai-slop-web-ui/) · [Clean up PPTX & DOCX](https://dislop.com/en/guides/deslop-pptx-docx/) · [Agent, CLI & CI setup](https://dislop.com/en/guides/agent-cli-mcp-tutorial/) · [Linter vs. detector vs. skill](https://dislop.com/en/guides/linter-vs-detector-vs-skill/).
|
|
137
|
+
- **[Awesome Anti-Slop (90 tools)](./awesome/README.md)** ([Chinese edition](./awesome/README.zh-CN.md) · [Interactive web filter](https://dislop.com/en/awesome/)): Verified linters, writing skills, UI rules, PR policies, and papers ([index.json](https://dislop.com/awesome/index.json) · [index.md](https://dislop.com/awesome/index.md)).
|
|
138
|
+
- **Submit a sample**: Found a classic AI-slop phrase, template card, or messy slide? [Submit a redacted sample](https://github.com/dislop-ai/dislop/issues/new?template=slop_sample.yml) so it can inform future fixtures.
|
|
110
139
|
|
|
111
140
|
## Use it across agents, editors, and CI
|
|
112
141
|
|
|
@@ -121,6 +150,11 @@ Looking for other tools, style guides, design rules, PR policies, and papers in
|
|
|
121
150
|
| **VS Code / Cursor 1-Click MCP** | [Install in VS Code (Cloud MCP)](https://vscode.dev/redirect/mcp/install?name=dislop&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fdislop.com%2Fmcp%22%7D) · [Install in Cursor (Cloud MCP)](cursor://anysphere.cursor-deeplink/mcp/install?name=dislop&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vZGlzbG9wLmNvbS9tY3AifQ==) | Opens the editor's native confirmation dialog without manual JSON edits |
|
|
122
151
|
| **GitHub Action / `pre-commit`** | Reference `uses: dislop-ai/dislop@main` ([action.yml](./action.yml) and [.pre-commit-hooks.yaml](./.pre-commit-hooks.yaml)) | Gates modified lines in PRs with inline annotations or SARIF 2.1.0 |
|
|
123
152
|
|
|
153
|
+
<p align="center">
|
|
154
|
+
<img src="./assets/demos/agent-workflow-en-v2.gif" alt="Coding Agent and CI loop: reading pure-Markdown SKILL.md, gating PR diff with exit code 1, and passing dislop verify" width="840"><br>
|
|
155
|
+
<sub>Agent + CI closed loop: Skill before drafting, diff gate before commit, verify after edits</sub>
|
|
156
|
+
</p>
|
|
157
|
+
|
|
124
158
|
### Connect Official Cloud MCP (`Claude Code`, `Codex`, `Cursor`, `WorkBuddy`, `Claude Cowork`)
|
|
125
159
|
|
|
126
160
|
```json
|
|
@@ -137,11 +171,11 @@ Looking for other tools, style guides, design rules, PR policies, and papers in
|
|
|
137
171
|
}
|
|
138
172
|
```
|
|
139
173
|
|
|
140
|
-
Official Cloud MCP (`https://dislop.com/mcp`) exposes `
|
|
174
|
+
Official Cloud MCP (`https://dislop.com/mcp`, auto-discovery card at `https://dislop.com/.well-known/mcp/server-card.json`) exposes `dislop_check`, `dislop_verify`, and `dislop_rules` at 0 credits without login. Signing in via OAuth 2.1 or claiming a free Bearer key at [dislop.com](https://dislop.com/#cloud-token-box) unlocks 30 monthly credits for `dislop_review` (1 credit), `dislop_deslop` (2 credits), `dislop_office` (2–3 credits for `.docx`/`.pptx`), `dislop_visual_review` (2 credits), and `dislop_voice_extract` (2 credits).
|
|
141
175
|
|
|
142
176
|
## Configure it, or overrule it
|
|
143
177
|
|
|
144
|
-
|
|
178
|
+
Settings load in order from `~/.config/dislop/config.json` (plus optional personal style card `voice.json`), project `.dislop.json`, and Git-ignored `.dislop.local.json`. Run `dislop init` to create `.dislop.json`:
|
|
145
179
|
|
|
146
180
|
```json
|
|
147
181
|
{
|
|
@@ -179,8 +213,8 @@ dislop check .
|
|
|
179
213
|
|
|
180
214
|
### Open-Source Local (`Skill` + `CLI`) vs. Official Cloud (`dislop.com/mcp`)
|
|
181
215
|
|
|
182
|
-
- **Open Source (`dislop-ai/dislop`, Apache-2.0)**: Pure-Markdown `SKILL.md` + local `./references/*.md` (no bundled scripts), zero-dependency Node/Python CLI (`
|
|
183
|
-
- **Official Cloud MCP & Web Workbench (`https://dislop.com/mcp`, `https://dislop.com/?lang=en#pricing`)**: Closed-source hosted backend
|
|
216
|
+
- **Open Source (`dislop-ai/dislop`, Apache-2.0)**: Pure-Markdown `SKILL.md` + local `./references/*.md` (no bundled scripts), zero-dependency Node/Python CLI (`check`, `patterns`, `voice`, `explain`, `packs`, `catalog`, `resources`), all 7 built-in packs (`53` rules) + 65-pattern catalog (`patterns/`), bundled `14.6 KB` gzip (`49.0 KB` raw) Pocket ML ensemble (`models/pocket-slop-v1.json`, `< 0.5 ms`, `100.0%` F1 / `0.0%` Clean FPR on `stealth-vapor-v1`), `Awesome Anti-Slop`, and `dislop-bench v2` + `visual-design-v1`. `check` / `patterns` / `voice` make `0` network calls so private drafts never leave your machine (existing `--mcp` and optional local-model modules stay in-repo during real-world evaluation).
|
|
217
|
+
- **Official Cloud MCP & Web Workbench (`https://dislop.com/mcp`, `https://dislop.com/?lang=en#pricing`)**: Closed-source hosted backend calling paid-tier Google Gemini endpoints that do not train on your text (no draft storage or text logging; see [privacy.md](https://dislop.com/privacy.md)). Deterministic `dislop_check`, `dislop_verify`, and `dislop_rules` run at 0 credits without login; OAuth 2.1 or a free key unlocks **30 monthly credits** for `dislop_review` (1 credit), `dislop_deslop` (2 credits), `dislop_office` (2–3 credits), `dislop_visual_review` (2 credits), and `dislop_voice_extract` (2 credits, `dislop.voice/1`), with early-access waitlists for Pro (`$12/mo`, 1,500 credits), PAYGO (`$10 / 800 credits`), and Team (`$29/seat/mo`).
|
|
184
218
|
|
|
185
219
|
## Anti-slop benchmark (`dislop-bench v2`)
|
|
186
220
|
|
|
@@ -190,12 +224,12 @@ Run the full offline benchmark (`112` cross-modality detection samples across No
|
|
|
190
224
|
node scripts/run_benchmark.mjs --assert
|
|
191
225
|
```
|
|
192
226
|
|
|
193
|
-
Latest
|
|
227
|
+
Latest baseline on our own benchmark ([benchmarks/REPORT.md](./benchmarks/REPORT.md) and [benchmarks/PATTERN-BENCHMARK.md](./benchmarks/PATTERN-BENCHMARK.md)):
|
|
194
228
|
|
|
195
229
|
- **Core Detection (`Suite A`, 112 samples = 48 v1 + 16 `holdout-v1` + 48 `text-hard-v2`)**: Precision `100.0%` · Recall `100.0%` · Clean FPR `0.0%` · Adversarial Near-Miss FPR `0.0%` · 2nd-Order Trap Recall `100.0%` · Node/Python Rule & Statistical Profile Parity `100.0%`.
|
|
196
230
|
- **Multi-Angle Pattern Benchmark (`154` samples = 48 + 16 + 62 `pattern-challenge-v2` + 28 `holdout-v2`)**: Precision `100.0%` · Recall `100.0%` · F1 `100.0%` · Clean FPR `0.0%` · Node/Python Parity `100.0%`.
|
|
197
231
|
- **Bundled Pocket ML (`stealth-vapor-v1`, 24 paired samples; 36 blind eval with holdouts)**: `14.6 KB` gzip (`49.0 KB` raw), `< 0.5 ms`, `100.0%` F1, `0.0%` Clean FPR.
|
|
198
|
-
- **End-to-End Revision (`Suite B`, 18 tasks = 12 `revision-v1` + 6 `revision-hard-v2`, weights `D1=45 / D2=20 / D3=25 / D4=10`)**: `raw_ai` **60.8 / 100** → `naive_humanizer` **70.8 / 100** (doubles 3rd-order slop and drops or invents numbers) → `
|
|
232
|
+
- **End-to-End Revision (`Suite B`, 18 tasks = 12 `revision-v1` + 6 `revision-hard-v2`, weights `D1=45 / D2=20 / D3=25 / D4=10`)**: `raw_ai` **60.8 / 100** → `naive_humanizer` **70.8 / 100** (doubles 3rd-order slop and drops or invents numbers) → reference edits written to `dislop`'s rules **100.0 / 100** (`18/18` all-clear).
|
|
199
233
|
- **Live 5-model comparison ([benchmarks/MODEL-COMPARISON.md](./benchmarks/MODEL-COMPARISON.md))**: Across `Gemini 3.1/3.5 Flash-Lite`, `Gemini 3.5/3.8 Flash`, and `Qwen 3.8 Flash`, bare prompts averaged `76.0–84.2 / 100` (`2/10–4/10` all-clear on the 10-task `revision-v1` live subset), while the `dislop` re-checked cloud pipeline lifted every model by **+15.8 to +22.3 points** (`97.0–100.0 / 100`, `8/10–10/10` all-clear; `Gemini 3.1 Flash-Lite` reached `98.5 / 100` in `1.2s` at `~$0.09 / 1k calls`).
|
|
200
234
|
|
|
201
235
|
See [benchmarks/README.md](./benchmarks/README.md) to score your own model, Skill, or cloud endpoint (`--eval`) or export randomized blind human A/B review sheets (`--export-blind-sheet`).
|
|
@@ -219,20 +253,20 @@ dislop/
|
|
|
219
253
|
├── gemini-extension.json # Gemini CLI Extension Gallery manifest
|
|
220
254
|
├── server.json # Official MCP Registry manifest (Official Cloud HTTP MCP)
|
|
221
255
|
├── action.yml # Reusable GitHub Marketplace incremental check Action
|
|
222
|
-
├── awesome/ # Awesome Anti-Slop (README.md & README.zh-CN.md,
|
|
256
|
+
├── awesome/ # Awesome Anti-Slop (README.md & README.zh-CN.md, 90 entries)
|
|
223
257
|
├── benchmarks/ # Offline anti-slop benchmark datasets (CC0-1.0) & reproducible reports
|
|
224
258
|
├── bin/ # Node.js CLI (dislop.mjs) and compatibility launcher (dislop-mcp.mjs)
|
|
225
259
|
├── src/
|
|
226
260
|
│ ├── core.mjs # Zero-dep ES module shared by Node CLI, MCP, and browser workbench
|
|
227
|
-
│ ├── pattern-engine.mjs # Multi-angle
|
|
261
|
+
│ ├── pattern-engine.mjs # Multi-angle 12-probe extended pattern-bank scanner
|
|
228
262
|
│ ├── pocket-model.mjs# Bundled 14.6 KB gzip zero-dep Pocket ML ensemble & domain pack router
|
|
229
263
|
│ ├── local-model.mjs# Hardware-aware optional local small-model advisor (Node.js)
|
|
230
|
-
│ ├── binary-node.mjs# Zero-dep ZIP reader for Node.js
|
|
264
|
+
│ ├── binary-node.mjs# Zero-dep ZIP, PNG/JPEG/WebP/GIF, and PDF reader for Node.js
|
|
231
265
|
│ └── dislop/ # Zero-dep Python 3.10+ engine, pattern scanner, local-model advisor, CLI, and MCP
|
|
232
|
-
├── packs/ # Declarative dislop.pack/2 manifests (7 built-in packs,
|
|
233
|
-
├── patterns/ # Structured
|
|
266
|
+
├── packs/ # Declarative dislop.pack/2 manifests (7 built-in packs, 53 rules, 214 fixtures)
|
|
267
|
+
├── patterns/ # Structured 65-pattern anti-slop catalog across 6 dimensions & 7 angles
|
|
234
268
|
├── skills/dislop/ # Cross-host Agent Skill (SKILL.md + local ./references/ + openai.yaml)
|
|
235
|
-
├── tests/ # 26 Python unittest
|
|
269
|
+
├── tests/ # 26 Python unittest tests, Node/Python conformance, and site tests
|
|
236
270
|
├── scripts/ # Manifest lockstep sync (sync_manifests.mjs), site compiler & benchmarks
|
|
237
271
|
├── site/ # Compiled dislop.com workbench, /awesome/, and /llms.txt pages
|
|
238
272
|
├── assets/ # Logo mark, light/dark banners, and 1200x630 social preview card
|