Preface¶
When writing official government documents, the common bottleneck is not “whether one can write it,” but rather whether the correct document type is selected, whether all elements are complete, whether the terminology conforms to official conventions, and whether the Word layout adheres to national standards. While general LLMs can draft paragraphs, they often lack step-by-step proofreading; margins, font sizes, and line spacing can easily deviate from the GB/T 9704-2012 standard, leading to rework primarily at the formatting level.
Below is an introduction to the “Official Document Writing Expert Team” (公文写作专家团) on SkillHub. It connects document type identification, drafting, structuring, polishing, proofreading, and Word generation into a single pipeline, with built-in DOCX generation and format validation scripts. It is suitable for scenarios requiring review-ready DOCX files or multi-step auditing.
What is this¶
The “Official Document Writing Expert Team” is an Agent Skill (SKILL.md format) designed for Chinese Party and government official documents. It is identified as @user_d241203e/official-document-workflow. The current version is 1.0.0, the source is community, the publisher is user_d241203e, and the SkillHub category is content-creation. The page is marked as requires_api_key=false, meaning installing this Skill does not strictly require an API Key configuration (whether the specific Agent still needs a model key depends on the client you are using).
Official Access:
- API Page: https://api.skillhub.cn/user_d241203e/official-document-workflow
- SkillHub Display Page: https://www.skillhub.cn/skills/user_d241203e/official-document-workflow
Its positioning, as described in the introduction, is: When users need to draft, modify, audit, format, or generate official documents such as notifications, reports, requests, replies, letters, meeting minutes, work summaries, work plans, or leadership speeches, and when the process involves GB/T 9704-2012, official terminology, DOCX output, or multi-step review, the Agent executes the workflow defined within the Skill.
Core Features¶
Seven-Step Expert Pipeline¶
The Skill breaks the process down into seven roles, in the following order:
- Researcher — Identifies the document type
- Drafter — Drafts the initial text
- Structurist — Reorganizes materials and structure
- Polisher — Refines the copy
- Proofreader — Audits format and document type compliance
- Producer — Generates the Word document
Supported document types include: Notifications, Reports, Requests, Replies, Letters, Meeting Minutes, Work Summaries, Work Plans, and Leadership Speeches.
Three Work Modes¶
| Mode | Purpose |
|---|---|
| Create | Given a topic and requirements, completes the entire process from document type identification and element completion to final drafting. |
| Reorganize | Rearranges meeting records, scattered materials, or rough drafts into a standardized official document based on logic, preserving numbers, dates, names, policy references, etc. |
| Review | Checks an existing manuscript for format compliance and document type accuracy, outputting a list of “where it falls short and how to fix it.” |
GB/T 9704-2012 Formatting Rules¶
The Skill treats the National Standard as the sole source of authority; in case of conflict between built-in scripts and reference materials, the National Standard prevails. Key points listed in the official description include:
- Margins: Top 37 mm, Bottom 35 mm, Left 28 mm, Right 26 mm
- Body Text: FangSong, Size 3; Title: Size 2
- Line Spacing: Fixed 28 pt; First line indent 2 characters
- Hierarchical Headings: Handled according to national standard levels (e.g., SimHei / KaiTi)
DOCX Related Scripts¶
It includes three types of built-in capabilities (provided as scripts within the Skill):
- Generate Word documents compliant with national standards directly from content.
- Apply national standard layouts to existing DOCX files in one click.
- Perform a format health check on finished products and generate an audit report.
The goal is to produce a formatted, standardized review draft ready for the approval workflow.
Installation and Activation¶
Method 1: Let the Agent install via SkillHub documentation¶
Provide the following prompt to your current Agent (Cursor, Codex CLI, Claude Code, or any client supporting Skills; refer to SkillHub instructions):
Please install `@user_d241203e/official-document-workflow` according to https://skillhub.cn/install/skillhub.md.
Method 2: Use the skillhub CLI¶
First, check if the CLI is installed:
command -v skillhub && skillhub --version
If not installed, follow the SkillHub installation documentation for a full installation or just the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
When installing the Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ and may not be recognized by the client. Common paths are as follows (excerpted from SkillHub installation documentation):
| Client | skills directory |
|---|---|
| Cursor | ~/.cursor/skills/ |
| Claude Code | ~/.claude/skills/ |
| Codex | ~/.codex/skills/ or .agents/skills/ under the project |
Example (replace <skills directory> with the corresponding path from the table above):
skillhub install @user_d241203e/official-document-workflow --dir <skills directory>
After installation, restart or refresh the Agent as required by your client to ensure the Skill is loaded.
Typical Usage¶
The following examples are common expressions to trigger the Skill in a conversation. Specific steps should follow the guidelines in the SKILL.md.
Create a Notification
- Specify the document type or let the Agent identify it (e.g., “Draft a notification regarding XX work”).
- Supplement elements: Main recipient agency, subject, time, policy basis, contact person, etc.
- Request to complete the pipeline and output a GB/T 9704-2012 compliant DOCX draft.
Example prompt:
Use the Official Document Writing Expert Team, Create mode: Topic "Notification on carrying out XX special inspection", main recipients are all subordinate units, inspection time is November. Please identify the document type, complete elements, polish and proofread, then generate a docx compliant with GB/T 9704-2012.
Reorganize Meeting Records
Reorganize mode: Below are meeting records and verbal requirements from the leader. Please structure and rearrange them into meeting minutes. Do not change numbers or names. Finally, perform a format audit.
Compliance Review Only
Review mode: The attachment is the finalized body text. Please perform a format and document type health check against GB/T 9704-2012, listing non-compliant items and modification suggestions. If a docx is available, run a format audit on the finished product.
When a Word document is needed, explicitly request “Generate DOCX” or “Apply national standard format” in the prompt to trigger the Producer role and built-in scripts.
Applicable Scenarios and Notes¶
Who it is for (According to the SkillHub page description):
- General affairs staff and office personnel in government agencies, state-owned enterprises, and public institutions handling daily documentation.
- Secretaries who need to draft notifications, reports, or speeches for leaders.
- Writers whose documents are frequently returned due to document type or format issues and who want list-based modification suggestions.
- Material handlers with many resources on hand who need to quickly organize them into standardized manuscripts.
Notes on usage:
- Policy expressions, factual data, and approval authorities still require human oversight; the Skill solves process-oriented drafting and standard formatting but cannot replace the formal issuance procedure.
- The Reorganize mode emphasizes not losing numbers, dates, names, and references, but uploaded materials should be as complete as possible to avoid critical information being only in verbal descriptions.
- DOCX scripts depend on the Skill package environment and local execution capabilities; if the Agent sandbox cannot write files or run scripts, operations must be performed in an environment with the appropriate permissions.
- The rating shown on the SkillHub page is 100000, with approximately 8584 downloads (data changes with SkillHub updates; refer to the page for current stats).
Conclusion¶
The “Official Document Writing Expert Team” connects document type research, drafting, structuring, polishing, proofreading, and Word production into a fixed pipeline. It provides three modes—Create, Reorganize, and Review—centered around GB/T 9704-2012, along with DOCX generation, format application, and health check capabilities. If you frequently spend time on format rework with official documents, you can try installing @user_d241203e/official-document-workflow from SkillHub.
- Official API: https://api.skillhub.cn/user_d241203e/official-document-workflow
- SkillHub: https://www.skillhub.cn/skills/user_d241203e/official-document-workflow