AI Agent Hub
Back to skills
Word Party and Government Document Checker & Formatter icon

Word Party and Government Document Checker & Formatter

Office Efficiency Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_8c628583/docformat.

About this skill

Problem

Party and government documents often fail review because of punctuation, numbering, typography, terminology, or syntax details. Manual proofreading is slow and error-prone, while ordinary formatting tools cannot judge ungrammatical sentences, logical contradictions, or inconsistent terms. This skill turns proofing into a repeatable workflow for .docx files before submission.

How It Works

It follows a four-stage process defined in SKILL.md:

  • Check: a script applies rule-based checks for mixed punctuation, full-width digits, spacing, numbering continuity, and common typos; an LLM then performs semantic checks guided by check_rules.md, covering ungrammatical sentences, logical contradictions, terminology consistency, and writing conventions.
  • Report: rule-based and semantic findings are merged into a Markdown report for review.
  • Annotate: issues are written back as Word comments, preserving the original text for inline review.
  • Format: the formatter applies GB/T 9704-2012 requirements for page setup, fonts, heading levels, page numbers, and document grid.

The typical output includes a check report, an annotated Word file, and a formatted Word file for different review stages.

Boundaries

The skill is aimed at Chinese official document formatting and writing conventions, especially when the deliverable is .docx. Formatting is generated from the original document separately from annotations to avoid XML conflicts, so the formatted file should not blindly replace the annotated file. If the document has complex structure, annotations require editorial judgment, or only a subset of checks is needed, run only the relevant stages.

Use Cases

  • Check official drafts for punctuation, numbering, and typos
  • Add Word comments for syntax, terms, and citation issues
  • Format A4 drafts with GB/T 9704 fonts and page numbers
  • Run only checking, annotation, or formatting stages

Best For

  • Document officers who need line-by-line review and final official formatting
  • Policy writers checking syntax, terminology, and punctuation
  • Business staff submitting formal Word files and needing annotated and formatted versions
  • Compliance consultants delivering documents under GB/T 9704-2012