xmutfyh/dsh-plugin-writing-guard

Academic writing guard (EN/ZH bilingual rules): local-regex linter for revision-process residue, defensive writing and AI-writing tells (em-dash abuse, not-X-but-Y, LLM word spikes, rule of three); writing_audit + writing_rules with incremental auto-audit that only reports new/resolved issues on paper file writes.

Combines prompt-guided scientific prose discipline with deterministic integrity checks across five guards: STYLE (argument economy — catches revision residue, defensive writing, mechanical rhetoric and LLM high-frequency words), EVIDENCE (scientific drift — numbers, units, citations and conclusions that changed), JOURNAL (journal mismatch — scope/style/convention), DELIVERY (context leakage — prompt, notes and workflow metadata leaking into the document) and DOCUMENT (document corruption — Word formatting, equations and tables, with pre/post integrity verification rather than "I think it's fine"). Tools include writing_word_audit, writing_word_format_tables, writing_word_scan, writing_word_edit, writing_word_scope_check and writing_audit, and the README supports natural-language triggers in both languages.

Tools & Capabilities ★ 0 updated 2026-09-04
View on GitHub ↗

Install

dsh plugin add dsh-plugin-writing-guard

README Quick Start: install with dsh plugin add dsh-plugin-writing-guard, then restart with dsh web. The package is published on npm under the same name.

Compatibility

DSH plugin for AI-assisted scientific writing and document integrity. Rules are bilingual (EN/ZH); deterministic checks target DOCX/Office documents alongside the model-facing prompt discipline.

Details

Recent updates

README documents the before/after workflow: instead of an agent silently changing a paragraph, Writing Guard reports scope validated, package valid, equations preserved, protected structures unchanged and a document fingerprint check — so unintended drift is detected rather than assumed away.

FAQ

How do I install Writing Guard?
Run dsh plugin add dsh-plugin-writing-guard, then restart with dsh web.
What does Writing Guard check?
Five layers: STYLE (argument economy), EVIDENCE (numeric/unit/citation/conclusion drift), JOURNAL (journal mismatch), DELIVERY (context leakage) and DOCUMENT (Word formatting, equations and tables).
Does it verify document edits deterministically?
Yes — it runs deterministic pre/post integrity verification (scope, package validity, equations preserved, protected structures unchanged, document fingerprint) rather than relying on "I think it's fine".

More plugins in Tools & Capabilities

Browse more in Tools & Capabilities

Guides for Tools & Capabilities plugins