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.
Install
dsh plugin add dsh-plugin-writing-guardREADME 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
- Repo: xmutfyh/dsh-plugin-writing-guard
- Category: Tools & Capabilities
- Stars: 0
- Version: 2.0.1 (npm dsh-plugin-writing-guard; registry repository field → github.com/xmutfyh/dsh-plugin-writing-guard, verified 2026-09-12)
- Last push: 2026-09-04
- First seen: 2026-08-15
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".