AI Agent Hub
Back to skills
Official Document Word Assistant icon

Official Document Word Assistant

Office Efficiency Updated 2026.08.30

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

Please install @user_0c5c3d2f/gongwen-word-mini according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem It Solves

When working with DOCX official documents, the hard part is not producing text. It is checking whether agency names, document numbers, recipients, version blocks, fonts, tables, headers, footers, and redaction artifacts remain consistent. Manual page review can miss details, while conversion can break the original layout. gongwen-word-mini turns drafting, revision, formatting, and validation into a state machine: run doctor, build a request JSON, run inspect to check document_class, official_intent, strictness, and direction, then use build for drafts or prepare for formal delivery.

Core Capabilities and Workflow

  • Conservative facts: missing fields must be written as [pending: field]; strict mode blocks formal delivery when placeholders exist.
  • Original-file protection: DOCX edits must save to a copy, and the tool rejects identical input/output paths.
  • Machine checks plus visual review: prepare runs generation, validation, page-by-page PNG preview, and a visual review template; until a human completes review, delivery_ready remains false.
  • Editing and redaction: documents with images or tables use an OOXML fidelity path, while ordinary documents use python-docx; redaction mappings must be supplied by the user and are not echoed in reports.
  • Boundary disclosure: seals, strict version blocks, joint issuance, multiple agency signatures, or institution-specific letterhead require the organization’s approved template and visual review.

It is better understood as a gated document engineering workflow than a plain text polishing tool. It suits formal materials that must move from “readable” to “deliverable”; it is not a tool for inventing agency metadata, adding red-letter elements arbitrarily, or relying on rendering alone to claim strict formatting compliance.

Use Cases

  • Draft an upward report by distinguishing formal issuance intent from material reports and avoiding red-letter headers, document numbers, or version blocks.
  • Revise a table-rich DOCX while preserving layout, saving a copy, and avoiding overwrite of the source file.
  • Before formal delivery, check each PNG for overlap, clipping, garbled text, broken tables, and heading line breaks.
  • Redact existing files by checking body text, tables, headers, footers, comments, revisions, and document properties.

Best For

  • Office document writers: verify document class, official intent, and missing facts before drafting or revising formal gongwen.
  • Administrative material editors: route reports, research notes, and situation briefs to office_material or material_report.
  • Delivery reviewers: check placeholders, report status, and page-level visual review records before formal delivery.
  • Compliance reviewers: inspect redaction mappings, OOXML text parts, and embedded objects to avoid residual source identifiers.