dislop 0.8.0 → 0.8.2
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/README.md +9 -1
- package/README.zh-CN.md +9 -1
- package/gemini-extension.json +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/server.json +1 -1
- package/skills/deslop-docs/SKILL.md +19 -0
- package/skills/deslop-slides-docx/SKILL.md +19 -0
- package/skills/deslop-verify/SKILL.md +21 -0
- package/skills/deslop-web-ui/SKILL.md +19 -0
- package/skills/dislop/SKILL.md +2 -2
- package/src/core.mjs +1 -1
|
@@ -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.8.
|
|
9
|
+
"version": "0.8.2"
|
|
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.8.
|
|
16
|
+
"version": "0.8.2",
|
|
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.8.
|
|
3
|
+
"version": "0.8.2",
|
|
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.8.
|
|
3
|
+
"version": "0.8.2",
|
|
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.8.
|
|
3
|
+
"version": "0.8.2",
|
|
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/README.md
CHANGED
|
@@ -51,6 +51,14 @@ For hosted review, sign in at [dislop.com](https://dislop.com) or connect Offici
|
|
|
51
51
|
|
|
52
52
|
## Quick start
|
|
53
53
|
|
|
54
|
+
### One-line handoff to your Agent (evaluate, install, and run first check)
|
|
55
|
+
|
|
56
|
+
Paste this sentence into your coding or office agent (Claude Code, Codex, Cursor, OpenClaw, etc.) so it reads `https://dislop.com/llms.txt`, selects the right surface for your environment, configures it, and checks existing files:
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
Read https://dislop.com/llms.txt, evaluate which dislop setup fits my environment and project (Skill, offline CLI, or Cloud MCP), install and configure it, and run a first check on our files.
|
|
60
|
+
```
|
|
61
|
+
|
|
54
62
|
### Node.js 20+ (npm, zero dependencies, all 7 packs bundled offline)
|
|
55
63
|
|
|
56
64
|
```bash
|
|
@@ -142,7 +150,7 @@ Beyond the CLI, this repository compiles into a full reference library at `dislo
|
|
|
142
150
|
| Surface | One-liner or 1-click install | What you get |
|
|
143
151
|
|---|---|---|
|
|
144
152
|
| **Any AI chat** | Paste: `Read https://dislop.com/llms.txt and apply its anti-slop rules and checks before delivering my next draft.` | Zero install; reads the `~2.4 KB` index, task guides (`/tasks/*.md`), or atomic rule cards (`/rules/<id>.md`) |
|
|
145
|
-
| **Agent Skill (75+ hosts)** | `npx skills add dislop-ai/dislop` | Installs pure-Markdown [skills/dislop/SKILL.md](./skills/dislop/SKILL.md)
|
|
153
|
+
| **Agent Skill (75+ hosts)** | `npx skills add dislop-ai/dislop` | Installs pure-Markdown [skills/dislop/SKILL.md](./skills/dislop/SKILL.md) (`+` 4 task-focused skills: [deslop-docs](./skills/deslop-docs/SKILL.md), [deslop-slides-docx](./skills/deslop-slides-docx/SKILL.md), [deslop-web-ui](./skills/deslop-web-ui/SKILL.md), [deslop-verify](./skills/deslop-verify/SKILL.md); `0` scripts, `0` network calls) |
|
|
146
154
|
| **Claude Code Plugin** | `/plugin marketplace add dislop-ai/dislop` then `/plugin install dislop@dislop-ai` | Bundles pure-doc Skill + Official Cloud MCP connection (`~130` always-on tokens) |
|
|
147
155
|
| **OpenAI Codex Plugin** | `codex plugin marketplace add dislop-ai/dislop` then `codex plugin add dislop@dislop-ai` | Ships native UI card metadata ([openai.yaml](./skills/dislop/agents/openai.yaml)) and `$dislop` trigger |
|
|
148
156
|
| **Gemini CLI Extension** | `gemini extensions install https://github.com/dislop-ai/dislop` | Connects Official Cloud MCP `https://dislop.com/mcp` via [gemini-extension.json](./gemini-extension.json) |
|
package/README.zh-CN.md
CHANGED
|
@@ -48,6 +48,14 @@ Markdown、纯文本、HTML/CSS/JSX/SVG、图片(`.png`/`.jpg`/`.webp`/`.gif`
|
|
|
48
48
|
|
|
49
49
|
## 上手
|
|
50
50
|
|
|
51
|
+
### 一句话交给你的 Agent(评估、安装并试跑)
|
|
52
|
+
|
|
53
|
+
把下面这句话直接发给你的 Agent(Claude Code、Codex、Cursor、OpenClaw 等),它会读取 `https://dislop.com/llms.txt` 并根据当前环境完成接入和首轮检查:
|
|
54
|
+
|
|
55
|
+
```text
|
|
56
|
+
请阅读 https://dislop.com/llms.txt,结合我当前的环境与项目内容评估最合适的 dislop 接入方式(Skill、本地 CLI 或远程 MCP),完成安装配置并拿现有文件试跑一次。
|
|
57
|
+
```
|
|
58
|
+
|
|
51
59
|
### Node.js 20+(npm,零外部依赖,内置全部 7 套规则包)
|
|
52
60
|
|
|
53
61
|
```bash
|
|
@@ -139,7 +147,7 @@ Node.js 版(`bin/dislop.mjs`)和 Python 版(`src/dislop/`)都零外部
|
|
|
139
147
|
| 接入环境 | 一行命令或一键唤起 | 说明 |
|
|
140
148
|
|---|---|---|
|
|
141
149
|
| **任意联网 AI 对话** | 发一句:`先读 https://dislop.com/llms.txt,按里面的规矩和检查方法把接下来这份稿子过一遍。` | 免安装,直接读约 `2.4 KB` 索引、任务卡(`/tasks/*.md`)或单条规则页(`/rules/<id>.md`) |
|
|
142
|
-
| **跨宿主 Agent Skill** | `npx skills add dislop-ai/dislop` | 安装纯 Markdown
|
|
150
|
+
| **跨宿主 Agent Skill** | `npx skills add dislop-ai/dislop` | 安装纯 Markdown 主技能 [skills/dislop/SKILL.md](./skills/dislop/SKILL.md) 及 4 项场景子技能([deslop-docs](./skills/deslop-docs/SKILL.md)、[deslop-slides-docx](./skills/deslop-slides-docx/SKILL.md)、[deslop-web-ui](./skills/deslop-web-ui/SKILL.md)、[deslop-verify](./skills/deslop-verify/SKILL.md),无脚本、零联网) |
|
|
143
151
|
| **Claude Code 插件** | `/plugin marketplace add dislop-ai/dislop` 后执行 `/plugin install dislop@dislop-ai` | 一键装好纯文档 Skill 与官方远程 MCP 连接(常驻上下文仅约 `130` tokens) |
|
|
144
152
|
| **OpenAI Codex 插件** | `codex plugin marketplace add dislop-ai/dislop` 后执行 `codex plugin add dislop@dislop-ai` | 附带 [openai.yaml](./skills/dislop/agents/openai.yaml) 原生应用卡片与 `$dislop` 快捷指令 |
|
|
145
153
|
| **Gemini CLI 扩展** | `gemini extensions install https://github.com/dislop-ai/dislop` | 基于根目录 [gemini-extension.json](./gemini-extension.json) 直连官方远程 MCP `https://dislop.com/mcp` |
|
package/gemini-extension.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dislop",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
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
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.8.
|
|
4
|
+
"version": "0.8.2",
|
|
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.8.
|
|
6
|
+
"version": "0.8.2",
|
|
7
7
|
"websiteUrl": "https://dislop.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/dislop-ai/dislop",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deslop-docs
|
|
3
|
+
description: Audit Markdown docs, READMEs, RFCs, and release notes for AI chat wrappers, clichés, and vague filler using dislop offline rules.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# deslop-docs
|
|
7
|
+
|
|
8
|
+
Use when drafting, cleaning, or checking Markdown documentation, technical RFCs, postmortems, READMEs, release notes, or short briefs.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Run an offline deterministic check before rewriting:
|
|
13
|
+
```bash
|
|
14
|
+
npx --yes dislop check <path> --pack auto --deep --compact --json
|
|
15
|
+
```
|
|
16
|
+
2. Remove `error` artifacts first (stray chatbot greetings, citations like `[oaicite:N]`, unfilled placeholders).
|
|
17
|
+
3. Rewrite flagged `warning` clichés and 2nd-order negation slogans (`"Not X, but Y"`) into plain specifics. Keep every original number, unit, date, and qualifier intact.
|
|
18
|
+
4. Do not invent causes, metrics, or examples absent from the draft.
|
|
19
|
+
5. Re-run `npx --yes dislop check <path> --fail-on warning` until hard errors and clichés clear.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deslop-slides-docx
|
|
3
|
+
description: Check Word (.docx) and PowerPoint (.pptx) files offline for unrendered markdown, chat leftovers, dense slide walls, and empty process titles.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# deslop-slides-docx
|
|
7
|
+
|
|
8
|
+
Use when preparing, inspecting, or cleaning `.docx`, `.pptx`, or PDF slide decks before sharing.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Scan the Office document offline without uploading files:
|
|
13
|
+
```bash
|
|
14
|
+
npx --yes dislop check <deck.pptx-or-doc.docx> --compact --json
|
|
15
|
+
```
|
|
16
|
+
2. Fix OOXML `error` findings first: unrendered `**bold**` or `` `code` `` markup inside text runs, stray AI chat openers, and unfilled bracket placeholders.
|
|
17
|
+
3. Trim slide copy density when `deck-and-ui` or `executive-deck` flags text walls, `normText` shrink-to-fit overflow, empty process titles, or identical consecutive slide layouts.
|
|
18
|
+
4. Keep every metric, date, currency figure, and boundary qualifier exact while shortening sentences.
|
|
19
|
+
5. Re-run `npx --yes dislop check <file>` before exporting or sending.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deslop-verify
|
|
3
|
+
description: Verify LLM-revised drafts after using Humanizer or stop-slop to catch lost metrics, dropped qualifiers, and 2nd-order slogan drift.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# deslop-verify
|
|
7
|
+
|
|
8
|
+
Use right after running a style rewrite prompt or external humanizer skill on any important draft.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Check the revised file for leaked AI artifacts, `Not X, but Y` 2nd-order slogans, or leftover filler:
|
|
13
|
+
```bash
|
|
14
|
+
npx --yes dislop check <revised-file> --pack auto --deep --compact --json
|
|
15
|
+
```
|
|
16
|
+
2. Verify against git HEAD or the original source file so no numbers, dates, units, URLs, or risk qualifiers (`up to`, `projected`, `only if`) were dropped or altered:
|
|
17
|
+
```bash
|
|
18
|
+
npx --yes dislop verify --git HEAD <revised-file> --strict
|
|
19
|
+
```
|
|
20
|
+
3. If the check catches new AI slogans (`negation-pivot-frame`), swallowed bounds (`up to 12 minutes` -> `5 minutes`), or stiff register drift, restore the exact source numbers and rewrite only the offending phrase.
|
|
21
|
+
4. Re-run both commands until exit code is `0`.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: deslop-web-ui
|
|
3
|
+
description: Inspect AI-generated HTML, CSS, JSX, and SVG pages offline for dead placeholder links, fake disabled buttons, pill soup, and default gradients.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# deslop-web-ui
|
|
7
|
+
|
|
8
|
+
Use when reviewing or cleaning generated frontend components, landing pages, dashboards, or SVGs.
|
|
9
|
+
|
|
10
|
+
## Workflow
|
|
11
|
+
|
|
12
|
+
1. Run the offline structural and UI check:
|
|
13
|
+
```bash
|
|
14
|
+
npx --yes dislop check <ui-dir-or-file> --pack deck-and-ui --compact --json
|
|
15
|
+
```
|
|
16
|
+
2. Eliminate `error` UI bugs first: `<a href="#">` dead links, unimplemented placeholder buttons, `TODO` labels, and `AI-Powered` prompt-echo badges.
|
|
17
|
+
3. Simplify flagged AI layout tics (`warning`): purple-pink neon gradients, pill-badge walls, 3-level nested card frames, and templated eyebrow numbers (`01 / ...`).
|
|
18
|
+
4. Replace banned placeholder copy with concrete product details already in scope; do not fabricate stats or customer logos.
|
|
19
|
+
5. Re-run `npx --yes dislop check <ui-dir-or-file> --fail-on warning` before committing.
|
package/skills/dislop/SKILL.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: dislop
|
|
3
|
-
version: 0.8.
|
|
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.
|
|
3
|
+
version: 0.8.2
|
|
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
|
|
|
7
7
|
# dislop
|