dislop 0.8.3 → 0.9.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 +2 -2
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.cursor-plugin/plugin.json +1 -1
- package/PRODUCT.md +40 -36
- package/README.md +8 -8
- package/README.zh-CN.md +9 -9
- package/bin/dislop.mjs +1 -1
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/packs/business-brief/pack.json +15 -6
- package/plugin.json +1 -1
- package/server.json +1 -1
- package/skills/dislop/SKILL.md +1 -1
- package/src/core.mjs +19 -7
|
@@ -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.9.0"
|
|
10
10
|
},
|
|
11
11
|
"plugins": [
|
|
12
12
|
{
|
|
13
13
|
"name": "dislop",
|
|
14
14
|
"source": "./",
|
|
15
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.
|
|
16
|
+
"version": "0.9.0",
|
|
17
17
|
"author": {
|
|
18
18
|
"name": "dislop-ai",
|
|
19
19
|
"url": "https://dislop.com"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
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",
|
package/PRODUCT.md
CHANGED
|
@@ -1,10 +1,42 @@
|
|
|
1
|
-
# dislop
|
|
1
|
+
# dislop Product Brief
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
All website copy, `README` files, marketplace manifests, visual assets, and outbound materials derive from this document. Voice and visual rules live in [docs/brand-and-voice-guide.md](./docs/brand-and-voice-guide.md) ([简体中文](./docs/brand-and-voice-guide.zh-CN.md)).
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## English (Primary / Global Baseline)
|
|
8
|
+
|
|
9
|
+
### Slogan
|
|
10
|
+
Cutting AI slop is real productivity.
|
|
11
|
+
|
|
12
|
+
### Positioning
|
|
13
|
+
**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.
|
|
14
|
+
|
|
15
|
+
### Global-First Priority & Single-Domain Strategy
|
|
16
|
+
- **English (Global) first across code, docs, and assets**: Rule precision on native English prose/UI/decks, CLI/MCP/Skill schemas, canonical documentation (`*.md`), and primary visual assets (`og-card.png`, `-en-v2` demos, `@dislop_ai`) always come first. Chinese (`*.zh-CN.md`, `zh-*` rules, `-zh-v2` demos) is maintained in lockstep as a native localized counterpart, never the upstream source for machine translation.
|
|
17
|
+
- **Strategic horizon**: Short-term rollout pairs global package/MCP/skill registries and flagship English benchmarks with fast community seed validation; medium-to-long-term growth focuses on winning the default pre-flight slot across global Agent ecosystems and international team workflows, while serving localized office document cleanup as a complementary track on the same engine.
|
|
18
|
+
- **One brand, one repository, one domain (`dislop.com`)**: Never split into separate regional subdomains or separate codebases. The site serves native English at the root `dislop.com/` (`x-default`) and native Chinese under `dislop.com/zh/`, with automatic browser language routing, a one-click manual toggle, and `301` redirects on legacy `/en/*` paths.
|
|
19
|
+
- **Strict language separation**: English and Chinese materials use their own native examples, banners, social cards, and single-language accounts (`@dislop_ai` publishes exclusively in English), never word-for-word translations and never mixed inside one page or post.
|
|
20
|
+
|
|
21
|
+
### Users
|
|
22
|
+
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.
|
|
23
|
+
|
|
24
|
+
### Product Form
|
|
25
|
+
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.
|
|
26
|
+
2. **CLI & Local Plugins (open-source, local)**: Zero-dependency local checker that flags AI leftovers and stock templates across docs, web UI, Word, and PowerPoint in terminals, editors, Git hooks, and CI. Developers can also plug in their own model API key for deeper review.
|
|
27
|
+
3. **Official MCP & Web Workbench (cloud service)**: Sign in to connect office or coding agents to the remote MCP with no local setup, or use the web workbench directly. The cloud service runs multi-model review by genre, returns structured issues and edit guidance for your local agent to apply in context, and handles Word and PowerPoint files while keeping their layout.
|
|
28
|
+
|
|
29
|
+
### Selling Points
|
|
30
|
+
1. **Curated community work**: Combines vetted open-source rules, corpus findings, and an indexed 90-tool directory across docs, web UI, Word, and PowerPoint, without hunting down scattered prompts.
|
|
31
|
+
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.
|
|
32
|
+
3. **Local, offline, private**: The CLI and local plugins run on your machine with zero uploads, keeping private drafts and source code local.
|
|
33
|
+
|
|
34
|
+
### One-Sentence Pitch
|
|
35
|
+
A dedicated linter for AI slop. It brings together vetted community rules and practices to help your agent find and fix AI slop in docs, web UI, and slides. Connects to major agents and editors in one command and can run completely offline.
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 中文(独立原生适配)
|
|
8
40
|
|
|
9
41
|
### Slogan
|
|
10
42
|
去 AI 味才是真正的生产力!
|
|
@@ -12,9 +44,11 @@
|
|
|
12
44
|
### 定位
|
|
13
45
|
**AI 味检查工具。** 帮你(的 Agent)在文档、网页和 PPT 发出前,挑出并改掉里面的 AI 味。
|
|
14
46
|
|
|
15
|
-
###
|
|
16
|
-
-
|
|
17
|
-
-
|
|
47
|
+
### 全球英文优先与单域名兼容原则
|
|
48
|
+
- **技术、文档与主物料以英文(全球)为第一基准**:地道英文语料检出精度与零误报边界、CLI/MCP/Skill 协议字段、主干英文文档(`*.md`)及默认视觉物料(`og-card.png`、`-en-v2` 动图、`@dislop_ai`)始终优先建设与验收;中文文档(`*.zh-CN.md`)、`zh-*` 专属规则与中文演示物料面向中文场景原生独立编写,不做英译中或中译英套翻。
|
|
49
|
+
- **短中长期节奏统一**:短期同步推进全球注册表/目录上架、中文技术社区快速种子验证与英文旗舰实测发布;中长期坚定以全球英语 Agent 生态标准和国际团队协作工作流为主战场,同时在同一套底座上承接中文免配置网页工作台与办公文档去味需求。
|
|
50
|
+
- **单品牌、单仓库、单域名(`dislop.com`)**:不拆独立子域名或第二套代码库。站点路由以根路径 `dislop.com/` 默认提供纯英文静态页(`x-default`),以子路径 `dislop.com/zh/` 提供原生中文静态页,支持按浏览器语言自动引导、一键手动切换与旧路径 `/en/*` `301` 跳转。
|
|
51
|
+
- **单页单帖严格不混排**:中英文各自使用独立案例、视觉卡片与单语社交账号(官方号 `@dislop_ai` 固定纯英文发布),同一页面或单条帖子内绝不中英混排。
|
|
18
52
|
|
|
19
53
|
### 用户
|
|
20
54
|
第一批是 Coding Agent 用户,第二批是办公 Agent 用户,最后是所有用 AI 交付成果的人;他们的 Agent 也是直接使用者,能自己找到并调用。
|
|
@@ -31,33 +65,3 @@
|
|
|
31
65
|
|
|
32
66
|
### 一句话介绍
|
|
33
67
|
专用的 AI 味检查工具。整合社区验证过的去味规则与经验,帮你和你的 Agent 发现并改掉文档、网页和 PPT 里的 AI 味。一行命令接入主流 Agent 与编辑器,可纯本地离线运行。
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## English
|
|
38
|
-
|
|
39
|
-
### Slogan
|
|
40
|
-
Cutting AI slop is real productivity.
|
|
41
|
-
|
|
42
|
-
### Positioning
|
|
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.
|
|
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
|
-
|
|
49
|
-
### Users
|
|
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.
|
|
51
|
-
|
|
52
|
-
### Product Form
|
|
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.
|
|
54
|
-
2. **CLI & Local Plugins (open-source, local)**: Zero-dependency local checker that flags AI leftovers and stock templates across docs, web UI, Word, and PowerPoint in terminals, editors, Git hooks, and CI. Developers can also plug in their own model API key for deeper review.
|
|
55
|
-
3. **Official MCP & Web Workbench (cloud service)**: Sign in to connect office or coding agents to the remote MCP with no local setup, or use the web workbench directly. The cloud service runs multi-model review by genre, returns structured issues and edit guidance for your local agent to apply in context, and handles Word and PowerPoint files while keeping their layout.
|
|
56
|
-
|
|
57
|
-
### Selling Points
|
|
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.
|
|
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.
|
|
60
|
-
3. **Local, offline, private**: The CLI and local plugins run on your machine with zero uploads, keeping private drafts and source code local.
|
|
61
|
-
|
|
62
|
-
### One-Sentence Pitch
|
|
63
|
-
A dedicated linter for AI slop. It brings together vetted community rules and practices to help your agent find and fix AI slop in docs, web UI, and slides. Connects to major agents and editors in one command and can run completely offline.
|
package/README.md
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
9
|
<a href="./README.zh-CN.md">简体中文</a> ·
|
|
10
|
-
<a href="https://dislop.com">Try it at dislop.com</a> ·
|
|
11
|
-
<a href="https://dislop.com/
|
|
12
|
-
<a href="https://dislop.com/
|
|
10
|
+
<a href="https://dislop.com/">Try it at dislop.com</a> ·
|
|
11
|
+
<a href="https://dislop.com/guides/">Guides</a> ·
|
|
12
|
+
<a href="https://dislop.com/rules/">Rule Catalog</a> ·
|
|
13
13
|
<a href="./awesome/README.md">Awesome Anti-Slop</a> ·
|
|
14
14
|
<a href="https://www.npmjs.com/package/dislop">npm</a> ·
|
|
15
15
|
<a href="https://pypi.org/project/dislop/">PyPI</a> ·
|
|
@@ -47,7 +47,7 @@ If you rewrite it into a second-order AI slogan (`This isn't just an upgrade —
|
|
|
47
47
|
|
|
48
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
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.
|
|
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.
|
|
51
51
|
|
|
52
52
|
## Quick start
|
|
53
53
|
|
|
@@ -152,9 +152,9 @@ Both the Node.js CLI (`bin/dislop.mjs`) and the Python CLI (`src/dislop/`) run w
|
|
|
152
152
|
|
|
153
153
|
Beyond the CLI, this repository compiles into a full reference library at `dislop.com`:
|
|
154
154
|
|
|
155
|
-
- **[Rule Catalog (53 rules)](https://dislop.com/
|
|
156
|
-
- **[Practical Guides](https://dislop.com/
|
|
157
|
-
- **[Awesome Anti-Slop (90 tools)](./awesome/README.md)** ([Chinese edition](./awesome/README.zh-CN.md) · [Interactive web filter](https://dislop.com/
|
|
155
|
+
- **[Rule Catalog (53 rules)](https://dislop.com/rules/)**: Every built-in rule with its Deletion Test question, Before / Fallback / Clean examples, and one-line citation links for PR reviews.
|
|
156
|
+
- **[Practical Guides](https://dislop.com/guides/)**: [What is AI slop](https://dislop.com/guides/what-is-ai-slop/) · [Remove AI slop from writing](https://dislop.com/guides/remove-ai-slop-writing/) · [Fix AI slop in web UI](https://dislop.com/guides/fix-ai-slop-web-ui/) · [Clean up PPTX & DOCX](https://dislop.com/guides/deslop-pptx-docx/) · [Agent, CLI & CI setup](https://dislop.com/guides/agent-cli-mcp-tutorial/) · [Linter vs. detector vs. skill](https://dislop.com/guides/linter-vs-detector-vs-skill/).
|
|
157
|
+
- **[Awesome Anti-Slop (90 tools)](./awesome/README.md)** ([Chinese edition](./awesome/README.zh-CN.md) · [Interactive web filter](https://dislop.com/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)).
|
|
158
158
|
- **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.
|
|
159
159
|
|
|
160
160
|
## Use it across agents, editors, and CI
|
|
@@ -234,7 +234,7 @@ dislop check .
|
|
|
234
234
|
### Open-Source Local (`Skill` + `CLI`) vs. Official Cloud (`dislop.com/mcp`)
|
|
235
235
|
|
|
236
236
|
- **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).
|
|
237
|
-
- **Official Cloud MCP & Web Workbench (`https://dislop.com/mcp`, `https://dislop.com
|
|
237
|
+
- **Official Cloud MCP & Web Workbench (`https://dislop.com/mcp`, `https://dislop.com/#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`).
|
|
238
238
|
|
|
239
239
|
## Anti-slop benchmark (`dislop-bench v2`)
|
|
240
240
|
|
package/README.zh-CN.md
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
9
|
<a href="./README.md">English</a> ·
|
|
10
|
-
<a href="https://dislop.com">去 dislop.com 试试</a> ·
|
|
11
|
-
<a href="https://dislop.com/guides/">实用指南</a> ·
|
|
12
|
-
<a href="https://dislop.com/rules/">规则图鉴</a> ·
|
|
10
|
+
<a href="https://dislop.com/zh/">去 dislop.com 试试</a> ·
|
|
11
|
+
<a href="https://dislop.com/zh/guides/">实用指南</a> ·
|
|
12
|
+
<a href="https://dislop.com/zh/rules/">规则图鉴</a> ·
|
|
13
13
|
<a href="./awesome/README.zh-CN.md">工具清单</a> ·
|
|
14
14
|
<a href="https://www.npmjs.com/package/dislop">npm</a> ·
|
|
15
15
|
<a href="https://pypi.org/project/dislop/">PyPI</a> ·
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
Markdown、纯文本、HTML/CSS/JSX/SVG、图片(`.png`/`.jpg`/`.webp`/`.gif`)、Word(`.docx`)、PPT(`.pptx`)和 PDF 幻灯片都能查。开源本地 CLI 与编辑器插件默认离线运行、零上传,内置 **7 套场景包(`53` 条规则)**;未命中规则时仅说明未发现已知模式,不代表深度内容质量无误。
|
|
46
46
|
|
|
47
|
-
需要云端模型深层审校时,可在 [dislop.com](https://dislop.com) 网页工作台或官方托管云端 MCP(`https://dislop.com/mcp`)登录后使用:`dislop_review` 会返回具体问题和改法建议,交给本地 Agent 结合上下文改稿。
|
|
47
|
+
需要云端模型深层审校时,可在 [dislop.com](https://dislop.com/zh/) 网页工作台或官方托管云端 MCP(`https://dislop.com/mcp`)登录后使用:`dislop_review` 会返回具体问题和改法建议,交给本地 Agent 结合上下文改稿。
|
|
48
48
|
|
|
49
49
|
## 上手
|
|
50
50
|
|
|
@@ -149,9 +149,9 @@ Node.js 版(`bin/dislop.mjs`)和 Python 版(`src/dislop/`)都零外部
|
|
|
149
149
|
|
|
150
150
|
除了命令行本身,这个仓库直接编出了一套可读、可引用的中文去 AI 味参考站:
|
|
151
151
|
|
|
152
|
-
- **[全部 53 条规则图鉴](https://dislop.com/rules/)**:每条附删除测试判断方法、原句 / 换了种 AI 味 / 改好三段对照,以及可一键复制进 PR 或群聊的引用链接。
|
|
153
|
-
- **[6 篇实用指南](https://dislop.com/guides/)**:[什么是 AI 味](https://dislop.com/guides/what-is-ai-slop/) · [中文写作怎么去 AI 味](https://dislop.com/guides/remove-ai-slop-writing/) · [前端页面去 AI 味](https://dislop.com/guides/fix-ai-slop-web-ui/) · [PPT 与 Word 去模板味](https://dislop.com/guides/deslop-pptx-docx/) · [Agent 与 CI 接入教程](https://dislop.com/guides/agent-cli-mcp-tutorial/) · [去 AI 味工具对比](https://dislop.com/guides/linter-vs-detector-vs-skill/)。
|
|
154
|
-
- **[Awesome Anti-Slop 工具清单(90 条)](./awesome/README.zh-CN.md)**([English](./awesome/README.md) · [在线筛选](https://dislop.com/awesome/)):核验过的中英文工具、写作规范、前端设计规则与论文(提供 [index.json](https://dislop.com/awesome/index.json) 与 [index.md](https://dislop.com/awesome/index.md))。
|
|
152
|
+
- **[全部 53 条规则图鉴](https://dislop.com/zh/rules/)**:每条附删除测试判断方法、原句 / 换了种 AI 味 / 改好三段对照,以及可一键复制进 PR 或群聊的引用链接。
|
|
153
|
+
- **[6 篇实用指南](https://dislop.com/zh/guides/)**:[什么是 AI 味](https://dislop.com/zh/guides/what-is-ai-slop/) · [中文写作怎么去 AI 味](https://dislop.com/zh/guides/remove-ai-slop-writing/) · [前端页面去 AI 味](https://dislop.com/zh/guides/fix-ai-slop-web-ui/) · [PPT 与 Word 去模板味](https://dislop.com/zh/guides/deslop-pptx-docx/) · [Agent 与 CI 接入教程](https://dislop.com/zh/guides/agent-cli-mcp-tutorial/) · [去 AI 味工具对比](https://dislop.com/zh/guides/linter-vs-detector-vs-skill/)。
|
|
154
|
+
- **[Awesome Anti-Slop 工具清单(90 条)](./awesome/README.zh-CN.md)**([English](./awesome/README.md) · [在线筛选](https://dislop.com/zh/awesome/)):核验过的中英文工具、写作规范、前端设计规则与论文(提供 [index.json](https://dislop.com/awesome/index.json) 与 [index.md](https://dislop.com/awesome/index.md))。
|
|
155
155
|
- **投稿翻车样本**:遇到特别典型的 AI 套话、紫粉页面或挤满字墙的 PPT,欢迎[点此提交脱敏样本](https://github.com/dislop-ai/dislop/issues/new?template=slop_sample.yml)。
|
|
156
156
|
|
|
157
157
|
## 让你的 AI、编辑器和流水线直接用
|
|
@@ -188,7 +188,7 @@ Node.js 版(`bin/dislop.mjs`)和 Python 版(`src/dislop/`)都零外部
|
|
|
188
188
|
}
|
|
189
189
|
```
|
|
190
190
|
|
|
191
|
-
官方远程 MCP 端点(`https://dislop.com/mcp`,自动发现描述在 `https://dislop.com/.well-known/mcp/server-card.json`)中的 `dislop_check`、`dislop_verify`(改后事实校验)和 `dislop_rules` 免登录 0 额度直跑;通过 OAuth 2.1 授权或在 [dislop.com](https://dislop.com/#cloud-token-box) 领免费密钥后,每月有 30 额度可用于 `dislop_review`(1 额度)、`dislop_deslop`(2 额度)、`dislop_office`(`.docx`/`.pptx` 分段审校与改写 2–3 额度)、`dislop_visual_review`(2 额度)和 `dislop_voice_extract`(2 额度)。
|
|
191
|
+
官方远程 MCP 端点(`https://dislop.com/mcp`,自动发现描述在 `https://dislop.com/.well-known/mcp/server-card.json`)中的 `dislop_check`、`dislop_verify`(改后事实校验)和 `dislop_rules` 免登录 0 额度直跑;通过 OAuth 2.1 授权或在 [dislop.com](https://dislop.com/zh/#cloud-token-box) 领免费密钥后,每月有 30 额度可用于 `dislop_review`(1 额度)、`dislop_deslop`(2 额度)、`dislop_office`(`.docx`/`.pptx` 分段审校与改写 2–3 额度)、`dislop_visual_review`(2 额度)和 `dislop_voice_extract`(2 额度)。
|
|
192
192
|
|
|
193
193
|
## 配置,以及什么时候不听它的
|
|
194
194
|
|
|
@@ -228,7 +228,7 @@ dislop check .
|
|
|
228
228
|
### 开源本地(`Skill` + `CLI`)vs. 官方托管云端(`dislop.com/mcp`)
|
|
229
229
|
|
|
230
230
|
- **开源本地(`dislop-ai/dislop`,Apache-2.0)**:纯文档 `SKILL.md` 与 `./references/*.md` 参考卡(不含可执行脚本)、Node/Python 零依赖命令行(`check`、`patterns`、`voice`、`explain`、`packs`、`catalog`、`resources`)、全部 7 套内置规则包(53 条规则)、65 条反模式库(`patterns/`)、随包内置的 `14.6 KB` gzip(原始 `49.0 KB`)轻量集成模型(`models/pocket-slop-v1.json`,`< 0.5 ms`,在 `stealth-vapor-v1` 上 F1 `100.0%`、干净误报 `0.0%`)、`Awesome Anti-Slop` 及 `dislop-bench v2` + `visual-design-v1`。`check` / `patterns` / `voice` 全程零联网,私密文档不出本机。仓库里还留着旧的 `--mcp` 和可选本地小模型工具,等真实语料评测完再定去留。
|
|
231
|
-
- **官方托管云端与远程 HTTP MCP(`https://dislop.com/mcp` · [开源与云端方案](https://dislop.com/#pricing))**:独立闭源云端后台,调用付费版 Google Gemini 接口,不拿你的稿子训练,也不落盘留存草稿(详见 [隐私说明](https://dislop.com/privacy.md))。`dislop_check`、`dislop_verify` 和 `dislop_rules` 免登录 0 额度可用;用邮箱领免费密钥或 OAuth 2.1 授权后,每月有 **30 额度**可用于 `dislop_review`(1 额度,多模型审校)、`dislop_deslop`(2 额度,改后核对数字与限定词)、`dislop_office`(2–3 额度,`.docx`/`.pptx` 改稿)、`dislop_visual_review`(2 额度,视觉截图审校)与 `dislop_voice_extract`(2 额度,`dislop.voice/1`);Pro(`$12/月` · 1,500 额度)、按量包(`$10 / 800 额度`)与 Team(`$29/席位/月`)已开放预约。
|
|
231
|
+
- **官方托管云端与远程 HTTP MCP(`https://dislop.com/mcp` · [开源与云端方案](https://dislop.com/zh/#pricing))**:独立闭源云端后台,调用付费版 Google Gemini 接口,不拿你的稿子训练,也不落盘留存草稿(详见 [隐私说明](https://dislop.com/privacy.md))。`dislop_check`、`dislop_verify` 和 `dislop_rules` 免登录 0 额度可用;用邮箱领免费密钥或 OAuth 2.1 授权后,每月有 **30 额度**可用于 `dislop_review`(1 额度,多模型审校)、`dislop_deslop`(2 额度,改后核对数字与限定词)、`dislop_office`(2–3 额度,`.docx`/`.pptx` 改稿)、`dislop_visual_review`(2 额度,视觉截图审校)与 `dislop_voice_extract`(2 额度,`dislop.voice/1`);Pro(`$12/月` · 1,500 额度)、按量包(`$10 / 800 额度`)与 Team(`$29/席位/月`)已开放预约。
|
|
232
232
|
|
|
233
233
|
## 去 AI 味效果基准测试(`dislop-bench v2`)
|
|
234
234
|
|
package/bin/dislop.mjs
CHANGED
|
@@ -4505,7 +4505,7 @@ Diagnostics & optional local models:
|
|
|
4505
4505
|
pack-test Validate Pack Schema v2 manifests and embedded fixtures
|
|
4506
4506
|
|
|
4507
4507
|
Exit codes: 0 clean | 1 findings >= --fail-on | 2 usage, config, or unreadable file error
|
|
4508
|
-
Example: dislop check draft.md --deep
|
|
4508
|
+
Example: dislop check draft.md --deep`);
|
|
4509
4509
|
}
|
|
4510
4510
|
|
|
4511
4511
|
async function main() {
|
package/gemini-extension.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
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
|
"mcpServers": {
|
|
6
6
|
"dislop": {
|
package/package.json
CHANGED
|
@@ -26,7 +26,8 @@
|
|
|
26
26
|
"zones": ["prose"],
|
|
27
27
|
"modalities": ["markdown", "text", "html", "docx", "pptx"],
|
|
28
28
|
"patterns": [
|
|
29
|
-
"(?:^|[.!?]\\s+)(?:It(?:'s| is) (?:worth noting|important to note|crucial to remember) that|In today's (?:fast-paced|rapidly evolving|ever-changing)|In the (?:ever-evolving|rapidly changing) landscape of|Let's dive (?:right )?in(?:to)?|At the end of the day,)\\b"
|
|
29
|
+
"(?:^|[.!?]\\s+)(?:It(?:'s| is) (?:worth noting|important to note|crucial to remember) that|In today's (?:fast-paced|rapidly evolving|ever-changing)|In the (?:ever-evolving|rapidly changing) landscape of|Let's dive (?:right )?in(?:to)?|At the end of the day,)\\b",
|
|
30
|
+
"(?:^|[.!?]\\s+)Whether you(?:'re|’re| are) (?:a|an|just a)?\\s*(?:solo (?:developer|founder|creator|builder|beginner|engineer)|indie (?:hacker|developer|maker|builder)|freelancer|beginner|newcomer|small (?:startup|team|business|agency))\\b[^.!?\n]{0,60}?\\bor (?:a|an|the)?\\s*(?:seasoned (?:pro|veteran|architect|engineer)|growing team|Fortune[- ]500(?: company| enterprise)?|(?:large |global )?enterprise(?: team| organization)?)\\b"
|
|
30
31
|
],
|
|
31
32
|
"message": {
|
|
32
33
|
"en": "Throat-clearing opener delays the concrete point.",
|
|
@@ -51,11 +52,14 @@
|
|
|
51
52
|
"fixtures": {
|
|
52
53
|
"hit": [
|
|
53
54
|
"It is worth noting that backups run every 6 hours.",
|
|
54
|
-
"In today's fast-paced payments market, settlement speed matters."
|
|
55
|
+
"In today's fast-paced payments market, settlement speed matters.",
|
|
56
|
+
"Whether you are a solo beginner or a Fortune 500 enterprise, deployments finish in seconds."
|
|
55
57
|
],
|
|
56
58
|
"clean": [
|
|
57
59
|
"Backups run every 6 hours and retain 14 snapshots.",
|
|
58
|
-
"Two leading underscores mark private fields in Python classes."
|
|
60
|
+
"Two leading underscores mark private fields in Python classes.",
|
|
61
|
+
"Check whether you are connected to the staging VPN or the production bastion before running migrations.",
|
|
62
|
+
"Whether you are a parent or a guardian, sign the consent form before Friday."
|
|
59
63
|
]
|
|
60
64
|
}
|
|
61
65
|
},
|
|
@@ -68,7 +72,8 @@
|
|
|
68
72
|
"zones": ["prose"],
|
|
69
73
|
"modalities": ["markdown", "text", "html", "docx", "pptx"],
|
|
70
74
|
"patterns": [
|
|
71
|
-
"\\b(?:delve(?:s|d)? into|rich tapestry of|stands as a testament to|a testament to our|game-changer|paradigm shift|unlock(?:ing)? the full potential)\\b"
|
|
75
|
+
"\\b(?:delve(?:s|d)? into|rich tapestry of|stands as a testament to|a testament to our|game-changer|paradigm shift|unlock(?:ing)? the full potential|(?:take|takes|taking|elevate|elevates|elevating|bring|brings|bringing) (?:your|our|their|it|this|things|(?:your|our|their) [A-Za-z0-9-]+) to the next level|teams of all sizes|world-class)\\b",
|
|
76
|
+
"\\b(?:powerful|blazing(?:ly)?[- ]fast|lightning[- ]fast|seamless|intuitive|robust|scalable|effortless|cutting[- ]edge|modern|lightweight|flexible),\\s+(?:powerful|blazing(?:ly)?[- ]fast|lightning[- ]fast|seamless|intuitive|robust|scalable|effortless|cutting[- ]edge|modern|lightweight|flexible),?\\s+and\\s+(?:powerful|blazing(?:ly)?[- ]fast|lightning[- ]fast|seamless|intuitive|robust|scalable|effortless|cutting[- ]edge|modern|lightweight|flexible)\\b"
|
|
72
77
|
],
|
|
73
78
|
"message": {
|
|
74
79
|
"en": "Stock promotional phrase where a specific verb or measurement would carry more weight.",
|
|
@@ -91,11 +96,15 @@
|
|
|
91
96
|
"fixtures": {
|
|
92
97
|
"hit": [
|
|
93
98
|
"This caching layer is a game-changer for read throughput.",
|
|
94
|
-
"Section 2 delves into retry budgets."
|
|
99
|
+
"Section 2 delves into retry budgets.",
|
|
100
|
+
"SuperFlow is a powerful, blazing-fast, and seamless platform built for teams of all sizes.",
|
|
101
|
+
"This workflow takes your productivity to the next level."
|
|
95
102
|
],
|
|
96
103
|
"clean": [
|
|
97
104
|
"The museum lent a 16th-century wool tapestry for the exhibition.",
|
|
98
|
-
"Run the Delve debugger to inspect goroutine stacks."
|
|
105
|
+
"Run the Delve debugger to inspect goroutine stacks.",
|
|
106
|
+
"ripgrep is fast, small, and portable across Linux, macOS, and Windows.",
|
|
107
|
+
"After the first coat dries, take the ladder to the next level."
|
|
99
108
|
]
|
|
100
109
|
}
|
|
101
110
|
},
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "dislop",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.9.0",
|
|
5
5
|
"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.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "dislop-ai",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.dislop-ai/dislop",
|
|
4
4
|
"title": "dislop",
|
|
5
5
|
"description": "Cutting AI slop is real productivity. Linter for AI Slop in docs, web UI & slides (Cloud MCP).",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.9.0",
|
|
7
7
|
"websiteUrl": "https://dislop.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/dislop-ai/dislop",
|
package/skills/dislop/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dislop
|
|
3
|
-
version: 0.
|
|
3
|
+
version: 0.9.0
|
|
4
4
|
description: "Use when drafting or revising text a person will read: README, docs, PR descriptions, release notes, RFCs, postmortems, CLI help/errors, emails, essays, web pages and UI copy (HTML/CSS/JSX), or Word and PowerPoint files. Removes AI-sounding phrasing, chatbot leftovers, placeholders, and template layouts without changing facts. Skip code logic, tests, refactors, commit messages, and configs with no reader-facing text."
|
|
5
5
|
---
|
|
6
6
|
|
package/src/core.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Shared identically by Node CLI, Node MCP server, and Browser Workbench (`site/`).
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export const ENGINE_VERSION = "0.
|
|
6
|
+
export const ENGINE_VERSION = "0.9.0";
|
|
7
7
|
|
|
8
8
|
export const SEVERITY_RANK = {
|
|
9
9
|
info: 1,
|
|
@@ -1000,10 +1000,11 @@ function probeStaccatoRun(proseText) {
|
|
|
1000
1000
|
const paraRegex = /[^\n]+(?:\n(?!\s*\n)[^\n]+)*/g;
|
|
1001
1001
|
let pm;
|
|
1002
1002
|
while ((pm = paraRegex.exec(proseText)) !== null) {
|
|
1003
|
-
const
|
|
1003
|
+
const rawPara = pm[0];
|
|
1004
|
+
const para = rawPara.replace(/!\[[^\]]*\](?:\([ \t]*|\[[^\]]*\])?/g, (m) => m.replace(/[^\r\n]/g, " "));
|
|
1004
1005
|
const trimmed = para.trim();
|
|
1005
1006
|
if (!trimmed) continue;
|
|
1006
|
-
// Skip headings, lists, tables
|
|
1007
|
+
// Skip headings, lists, and tables
|
|
1007
1008
|
if (/^(?:#{1,6}\s|[-*+]\s|\d+[.)]\s|\|)/.test(trimmed)) continue;
|
|
1008
1009
|
|
|
1009
1010
|
// Collect sentences with offsets inside paragraph using decimal/version-safe boundary checks
|
|
@@ -1200,13 +1201,23 @@ const ZH_SUBTLE_MARKERS = [
|
|
|
1200
1201
|
];
|
|
1201
1202
|
|
|
1202
1203
|
const EN_SUBTLE_MARKERS = [
|
|
1203
|
-
"leverages", "leverage", "leveraging", "seamlessly", "streamline", "streamlines",
|
|
1204
|
+
"leverages", "leverage", "leveraging", "seamless", "seamlessly", "streamline", "streamlines",
|
|
1204
1205
|
"foster", "fostering", "robust", "empowers", "empower", "stakeholders",
|
|
1205
1206
|
"navigate", "comprehensive", "harnesses", "harness", "elevate", "pivotal",
|
|
1206
1207
|
"transformative", "transformative outcomes", "pivotal alignment", "transparent alignment",
|
|
1207
1208
|
"resilience", "synergy", "holistic", "ecosystem", "actionable", "unparalleled",
|
|
1209
|
+
"effortless", "effortlessly", "blazing-fast", "blazing fast", "lightning-fast", "lightning fast",
|
|
1210
|
+
"supercharge", "supercharges", "cutting-edge", "next-gen", "next-generation",
|
|
1208
1211
|
];
|
|
1209
1212
|
|
|
1213
|
+
function normalizeEnMarkerStem(term) {
|
|
1214
|
+
const norm = String(term || "").toLowerCase().replace(/\s+/g, "-");
|
|
1215
|
+
if (norm === "next-generation") return "next-gen";
|
|
1216
|
+
if (norm.endsWith("lessly")) return norm.slice(0, -2);
|
|
1217
|
+
if (norm.endsWith("less")) return norm;
|
|
1218
|
+
return norm.replace(/(?:ing|es|s)$/, "");
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1210
1221
|
const ZH_DISCOURSE_MARKERS = [
|
|
1211
1222
|
"此外", "与此同时", "不仅如此", "总而言之", "综上所述", "换言之",
|
|
1212
1223
|
"进一步来看", "诚然", "综合来看", "归根结底",
|
|
@@ -1468,7 +1479,7 @@ function probeCooccurrenceSlopCluster(proseText, rawText) {
|
|
|
1468
1479
|
const re = buildAsciiPhraseRegex(term, "i");
|
|
1469
1480
|
const m = re.exec(lowPara);
|
|
1470
1481
|
if (m) {
|
|
1471
|
-
const stem = term
|
|
1482
|
+
const stem = normalizeEnMarkerStem(term);
|
|
1472
1483
|
if (!found.has(`en:${stem}`)) {
|
|
1473
1484
|
found.set(`en:${stem}`, { start: paraBase + m.index, end: paraBase + m.index + m[0].length });
|
|
1474
1485
|
}
|
|
@@ -1526,6 +1537,7 @@ function probeSemicolonTricolon(proseText, rawText) {
|
|
|
1526
1537
|
|
|
1527
1538
|
for (const para of blocks) {
|
|
1528
1539
|
const maskedPara = para.text
|
|
1540
|
+
.replace(/&(?:#\d+|#x[0-9a-fA-F]+|[A-Za-z][A-Za-z0-9]{1,24});/g, (m) => " ".repeat(m.length))
|
|
1529
1541
|
.replace(/\([^)\n]*[;;][^)\n]*\)/g, (m) => " ".repeat(m.length))
|
|
1530
1542
|
.replace(/([^)\n]*[;;][^)\n]*)/g, (m) => " ".repeat(m.length))
|
|
1531
1543
|
.replace(/“[^”\n]*[;;][^”\n]*”/g, (m) => " ".repeat(m.length))
|
|
@@ -2967,7 +2979,7 @@ export function auditText(text, { filename = "<memory>", modality = null, pack,
|
|
|
2967
2979
|
} else if (rule.probe === "negation-pivot") {
|
|
2968
2980
|
rawHits = probeNegationPivot(zoneText, rawForProbes);
|
|
2969
2981
|
} else if (rule.probe === "staccato-run") {
|
|
2970
|
-
rawHits = probeStaccatoRun(zoneText);
|
|
2982
|
+
rawHits = probeStaccatoRun(zoneText, rawForProbes);
|
|
2971
2983
|
} else if (rule.probe === "zh-four-char-triad") {
|
|
2972
2984
|
rawHits = probeZhFourCharTriad(zoneText);
|
|
2973
2985
|
} else if (rule.probe === "unsourced-attribution") {
|
|
@@ -3972,7 +3984,7 @@ export function ruleDocUrl(item, lang = "en") {
|
|
|
3972
3984
|
const source = item?.source || "";
|
|
3973
3985
|
const packId = item?.packId || "";
|
|
3974
3986
|
const isZh = lang === "zh" || ruleId.startsWith("zh-");
|
|
3975
|
-
const base = isZh ? "https://dislop.com/rules/" : "https://dislop.com/
|
|
3987
|
+
const base = isZh ? "https://dislop.com/zh/rules/" : "https://dislop.com/rules/";
|
|
3976
3988
|
if (!ruleId || source === "pattern-library" || packId === "pocket-model") {
|
|
3977
3989
|
return base;
|
|
3978
3990
|
}
|