PerryLink/dsh-gongwen-word-check ↗★ 0
dsh-gongwen-word-check
核对公文版头与主体等格式要素 适合公文起草与审核人员,用于快速核对公文格式要素的规范性。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-gongwen-word-check說明文件
閱讀完整 README ↗Configuration
| Key | Type | Default | Description |
|---|---|---|---|
rulesFile | string | rules/gongwen-word-check.yaml | Rule-pack path, relative to the package root |
disabledRules | string[] | [] | Rule ids to stop running; each appears in skipped |
onlyRules | string[] | [] | Run only these rule ids; empty runs every rule |
skipNotes | string | "" | Note appended to every skipped reason |
timeoutMs | number | 120000 | Cooperative tool timeout budget |
Rule-level parameters worth knowing:
GW-001pattern— the document-number shape. Widen it for joint issuances or minutes that carry no number, or disable the rule.GW-003values— your document kinds, e.g.[决议, 决定, 命令, 公报, 公告, 通告, 意见, 通知, 通报, 报告, 请示, 批复, 议案, 函, 纪要].GW-005maxLength/minLength— your title-length bounds. The default ceiling of 60 is a local convention, not a standard figure.GW-007terms— the placeholders to look for; 「某」 is deliberately absent.