DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Plugin Writing Guard — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-plugin-writing-guard

Plugin Writing Guard

面向 AI 辅助研究的科学写作与文档完整性守护工具——通过提示引导的论证精简,以及确定性的科学、交付、期刊和 Word 完整性检查。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-plugin-writing-guard@2.0.1
README兼容性版本

兼容性与来源证明

Plugin Writing Guard 以 dsh-plugin-writing-guard 发布,当前版本为 2.0.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/9/20

版本

2.0.1stable
2026/9/4
2.0.0stable
2026/9/4
1.9.1stable
2026/9/2
查看其余 27 个版本收起版本
1.9.0stable
2026/9/2
1.8.2stable
2026/9/1
1.8.0stable
2026/9/1
1.7.0stable
2026/8/24
1.6.2stable
2026/8/20
1.6.1stable
2026/8/17
1.6.0stable
2026/8/17
1.5.0stable
2026/8/17
1.4.2stable
2026/8/17
1.4.1stable
2026/8/17
1.4.0stable
2026/8/17
1.3.0stable
2026/8/16
1.2.3stable
2026/8/16
1.2.2stable
2026/8/16
1.2.1stable
2026/8/16
1.2.0stable
2026/8/16
1.1.0stable
2026/8/16
1.0.0stable
2026/8/16
0.9.3

相关插件

正在加载相关插件…

最新版
2.0.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
453.3 kB
文件数
24
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 33
周下载
843
安全扫描
✓ v2.0.1 扫描通过
最近提交
2026/9/4
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
stable
2026/8/16
0.9.2stable
2026/8/16
0.9.1stable
2026/8/16
0.9.0stable
2026/8/16
0.8.0stable
2026/8/16
0.7.0stable
2026/8/16
0.6.1stable
2026/8/16
0.6.0stable
2026/8/16
0.5.2stable
2026/8/15

README

Writing Guard

Scientific Writing & Document Integrity Guard for AI-assisted research

Less explanation. More argument. Preserve the science.

Writing Guard combines prompt-guided scientific prose discipline with deterministic integrity checks for AI-assisted research. It protects your manuscript across five layers:

GuardProtects againstRisk
STYLEArgument economy防御性写作、过度解释、语义重复、模板腔
EVIDENCEScientific drift数值、单位、引用、结论被改
JOURNALJournal mismatchscope/style/convention 不匹配
DELIVERYContext leakageprompt、notes、workflow metadata 泄漏
DOCUMENT 🆕Document corruptionWord 格式、公式、表格、OOXML 被破坏

Prompt-guided writing · Deterministic integrity core · 394 Tests

npm install dsh-plugin-writing-guard

Writing Guard does not write your paper for you. It makes AI-assisted writing safer to ship.


New in 2.0 — Argument Economy & Control-Plane Separation

Writing Guard 2.0 moves semantic style decisions before generation and keeps deterministic code focused on integrity.

  • Critique is not content — reviewer/user/guard wording is control context, not manuscript evidence.
  • Prefer CUT over REWRITE — if a sentence only prevents criticism, reassures reviewers, advertises importance, or repeats an obvious implication, delete it.
  • Do not close every semantic loop — stop after evidence + necessary interpretation; keep non-obvious statistical interpretation and reproducibility detail.
  • Style-only revisions default to same length or shorter — no explanatory inflation without new supported content.
  • Auto-audit no longer reinjects snippets or rewrite suggestions — only structured rule/action metadata is sent back to the agent.
  • New English/Chinese cues for defensive-purpose framing, semantic-closure markers, and content-free evaluation.

Example:

Avoid:  To prevent data leakage, normalization was carefully performed using only the training data.
Prefer: Normalization parameters were estimated from the training data.

The second sentence states the method fact without importing the defensive reason for mentioning it.


🛡️ Word Document Guard (introduced in 1.8)

Change what was requested. Verify what wasn't.

AI-assisted document editing introduces a subtle risk: the requested text may improve while unrelated parts of the manuscript silently change.

When you ask an AI agent to "rewrite paragraph 3 only," it may inadvertently modify:

  • equation structures
  • table borders
  • numbering
  • styles
  • section geometry
  • relationships
  • embedded media
  • OOXML package parts

Writing Guard 1.8 introduces a document-integrity layer for Word manuscripts:

FeatureWhat it does
Safe scoped editingOnly the specified range can change
Package validationVerifies DOCX/OOXML package integrity after editing
Structural fingerprintingCompares document structure before and after
Equation integrityChecks equation structure, numbering continuity, math-font drift
Scholarly table awarenessDistinguishes data tables from layout/figure containers
Pre/post integrity verificationDeterministic verification, not "I think it's fine"

Before / After

Without Writing Guard:

"Please improve the wording in paragraph 3."
→ AI agent modifies DOCX.
→ Result: paragraph looks better.
→ Unknown: what else changed?

With Writing Guard:

"Please improve the wording in paragraph 3."
→ Writing Guard:
   ✓ scope validated
   ✓ package valid
   ✓ equations preserved
   ✓ protected structures unchanged
   ✓ document fingerprint checked
→ Result: paragraph changed — and unintended document drift is detected.

Quick Start

# Install
dsh plugin add dsh-plugin-writing-guard

# Restart
dsh web

Natural Language Usage

Once installed, you can use natural language:

Say thisWriting Guard does this
"帮我检查论文写作质量"writing_word_audit
"把表格改成三线表"writing_word_format_tables
"扫描DOCX结构"writing_word_scan
"修改第三章的XXX"writing_word_edit
"编辑后验证范围"writing_word_scope_check
"检查有没有AI味"writing_audit

Five Guards — Detailed

STYLE — Argument Economy & Prose Discipline

Guides the host model before writing, then uses deterministic cues to audit mechanical, defensive, and over-explained prose:

  • Revision residue: revised, as requested, 本轮, 审稿人要求
  • Defensive writing: concession stacking, limitation pre-emption
  • Mechanical rhetoric: 不是X而是Y, rather than abuse, triple parallelism
  • LLM high-frequency words: delve / tapestry / testament (density-based)
  • Chinese patterns and average sentence length anomalies

EVIDENCE — Scholarship + Epistemic Lock

Protects scientific facts during AI editing:

  • Numbers, percentages, p-values, confidence intervals, units
  • Citations, Figure/Table numbers, DOI
  • Causal strength: associated with cannot become caused
  • Null findings: no significant difference cannot disappear
  • Scope boundaries and evidence status

JOURNAL — Target Journal Fit

Calibrates manuscript against target journal conventions:

  • Syntax structure (sentence length, paragraph length)
  • Voice and person (passive voice, first-person usage)
  • Citations (bibliographic, figure/table references)
  • Scientific claims (claim density, causal/evidential strength)
  • Rhetorical moves (coverage, canonical order)

DELIVERY — Context Leakage Detection

Stops workflow context from leaking into final artifacts:

  • Rejected alternatives
  • Revision process residue
  • Provenance leakage
  • Defensive hedge leakage

DOCUMENT — Word Document Integrity 🆕

Safely edit Word manuscripts without breaking structure:

writing_word_scan → writing_word_edit → writing_word_scope_check

13 tools for complete document integrity:

ToolPurpose
writing_word_scanStructural scan
writing_word_editSafe scoped editing
writing_word_auditWriting audit for .docx
writing_word_scope_checkScope integrity verification
writing_word_format_tablesThree-line table formatting
writing_word_audit_equationsOMML equation audit
writing_word_package_validateOOXML package validation
writing_word_fingerprintBaseline formatting fingerprint
writing_auditText writing audit
writing_rulesWriting guidelines
writing_style_profileAuthor style profile
writing_journal_profileJournal profile
writing_delivery_auditDelivery integrity audit

Installation

# From npm (recommended)
dsh plugin add dsh-plugin-writing-guard

# From GitHub
dsh plugin add github:xmutfyh/dsh-plugin-writing-guard

# From local source
dsh plugin add ./path/to/dsh-plugin-writing-guard

Prerequisites:

  • Node.js ≥ 18
  • Python 3.10+ with python-docx (pip install python-docx)

Architecture

Writing Guard
├── STYLE (writing_audit)
│   ├── Revision residue detection
│   ├── AI style patterns
│   └── Density-based thresholds
├── EVIDENCE (Scholarship/Epistemic Lock)
│   ├── Number/unit preservation
│   ├── Citation integrity
│   └── Claim strength conservation
├── JOURNAL (Journal Profile)
│   ├── Corpus-aware analysis
│   ├── Section-level comparison
│   └── Rhetorical move matching
├── DELIVERY (CAL Detection)
│   ├── Rejected alternative leakage
│   ├── Process residue
│   └── Baseline reality check
└── DOCUMENT (Word Guard) 🆕
    ├── Structural scanning
    ├── Safe editing
    ├── Package validation
    ├── Fingerprinting
    └── Equation audit

Design principle: Baseline manuscript > journal/template > plugin defaults.

The LLM/agent decides what should change. Deterministic Word code decides how to make that change without silently altering unrelated formatting.


Tests

npm test

394 deterministic tests covering:

  • STYLE, Scholarship Lock, Epistemic Lock
  • Claim alignment, local citation integrity
  • Journal Profile, Journal Fit
  • DELIVERY (CAL detection)
  • Word Guard (v1.8.2): OOXML validation, fingerprinting, equation audit

Security & Privacy

  • Deterministic integrity checks run locally; semantic writing decisions are handled by the host model under the Writing Guard policy.
  • The plugin only reads files being edited.
  • The plugin itself does not upload or collect manuscript content.
  • See SECURITY.md

Why Writing Guard?

Writing GuardHumanizerAI Detector
Pre-writing rules✅❌❌
During-writing checks✅Usually ❌❌
Auto-monitor manuscript✅❌❌
Full rewrite❌✅❌
Explainable issues✅PartialPartial
Deterministic integrity checks✅Usually noDepends

Humanizer rewrites after writing. Writing Guard prevents during writing.


Brand

                  WRITING GUARD
                       │
       Scientific Writing & Document Integrity
                       │
 ┌─────────┬──────────┬─────────┬──────────┬──────────┐
 STYLE   EVIDENCE   JOURNAL   DELIVERY   DOCUMENT
                                            │
                               Change what was requested.
                               Verify what wasn't.

Classic slogan: Less AI. More Evidence. Better Journal Fit. Clean Delivery.

Document slogan: Change what was requested. Verify what wasn't.


CHANGELOG

See CHANGELOG.md.

License

MIT

相关插件

继续浏览 productivity-workflow 分类下经过校验的插件。

Acp App@deepseek-ai/dsh-acp-appdsh ACP 配置文件包:基于 dsh-base 的仅限自动化的 JSON-RPC stdio 和进程生命周期管理Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / git-graph / pet / remote-web-ui / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。Mnemondsh-mnemon面向 DeepSeek Harness 的可组合三层记忆控制平面:持久化运行时上下文、可搜索的项目文档、可插拔的长期记忆、受保护的策略、WebUI 和无头工具。