Government Document Writing and Formatting Assistant: An All-in-One Tool for Drafting, AI Tone Reduction, and GB/T 9704 Typesetting

Introduction

Official materials require not only solid content but also layouts that can withstand inspection against standards. A common workflow involves drafting in general chat interfaces, manually adjusting heading hierarchies, font sizes, and margins, or pasting TXT files into Word to modify formatting paragraph by paragraph. When dealing with multiple document types and detailed specifications, this step often takes more time than writing the main text. The following introduces the “Official Document Writing and Formatting Assistant” (体制内公文写作与排版助手) on SkillHub, which integrates drafting, rewriting, and Word generation based on national standards into a single Skill workflow.

What is this

The “Official Document Writing and Formatting Assistant” is an Agent Skill designed for official document writing and formatting, identified as @laoxi/tizhineigongwenxiezuopaiban. It is maintained by the publisher Laoxi on SkillHub. The current version is 1.0.2, categorized under office-efficiency, and tagged with an enterprise source. The page indicates requires_api_key=false, meaning it does not depend on additional API Key configuration.

It solves two main problems: First, the drafting, rewriting, polishing, “de-AI-ification” (reducing AI flavor), and format verification for over 20 common types of official documents. Second, it directly generates Word (docx) files compliant with GB/T 9704-2012, and supports reformatting user-provided text or non-standard Word documents.

Official Access:

  • API / Installation Hint: https://api.skillhub.cn/laoxi/tizhineigongwenxiezuopaiban
  • SkillHub Page: https://www.skillhub.cn/skills/laoxi/tizhineigongwenxiezuopaiban

Core Features

The following are derived from the SkillHub description and page content; capabilities not explicitly listed are not included.

Document Types and Writing Actions

Covers 20+ document types, including but not limited to: Notices, Circulars, Reports, Requests for Instructions, Official Replies, Letters, Meeting Minutes, Decisions, General Notices, Announcements, Opinions, Motions, Plans, Schemes, Summaries, Briefings, Speeches, Work Reports, Research Reports, Petitions, Open Letters, Theoretical Commentaries, etc.

Within the same Skill, it can accomplish:

  1. Drafting initial versions based on requirements;
  2. Rewriting and polishing existing materials;
  3. Reducing AI flavor (official descriptions include scenarios like “reduce AI flavor,” “human touch,” “natural expression,” and “People’s Daily style”);
  4. Verifying official document formatting.

Formatting and File Output

  • Generates formal Word documents according to GB/T 9704-2012;
  • Applicable to scenarios where “a formal file is needed after content is written” or where uploaded TXT or non-standard Word files require reformatting;
  • Requirements related to red headers (letterheads), issuance formats, and standard layouts are explicitly categorized under this Skill’s scope in the official keyword list.

When to Enable This Skill

Official Instruction: The Agent should use this Skill when keywords or similar scenarios appear in the conversation, such as: official document writing, government documents, organ documents, writing within the system, reporting materials, work summaries, leadership speeches, work plans, research materials, document format, document layout, standard format, Word files, red-header documents, formal files, issuance format, reduce AI flavor, check format, generate docx, formatting, write to Word, help me format, convert to Word, etc.

Installation and Activation

The installation hint provided on the SkillHub page is: Ask the AI to install @laoxi/tizhineigongwenxiezuopaiban based on https://skillhub.cn/install/skillhub.md. If the SkillHub CLI is already available locally, you can follow Section 3 of that document to install it into the current Agent’s skills directory using commands; it is mandatory to use --dir to point to a directory that will be recognized, otherwise installing to the default ./skills/ may be invalid.

1. Check or Install SkillHub CLI

First, confirm if the CLI is installed:

command -v skillhub && skillhub --version

If not installed, the official recommendation is a full installation (CLI + Default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install This Skill to the Corresponding Directory

The installation command looks like this (replace <skills directory> with the actual path of your environment):

skillhub install @laoxi/tizhineigongwenxiezuopaiban --dir <skills directory>

Common paths listed in the SkillHub installation documentation include:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Client directories vary; refer to the actual skills path read by your current Agent. If the Agent does not load the new Skill after installation, restart or refresh the skill list according to the instructions of the client being used.

3. Enable in Conversation

No separate API Key configuration is required (requires_api_key=false). In environments like Cursor where the Skill is loaded, simply initiate tasks using the typical phrases described below; the Agent will handle writing and formatting according to the guidelines in SKILL.md within the Skill.

Typical Usage

The official documentation does not provide fixed “one-click example scripts”; usage is primarily based on natural language tasks. The following phrasing aligns with the page keywords to facilitate reproducing the same capability boundaries.

Draft from Scratch and Generate Word

  1. Specify the document type and purpose, e.g., “Write a notice regarding XX, key points are…, and finally generate a docx according to official document standards.”
  2. Supplement details such as the administrative level, main recipient units, and whether letterhead elements are needed to reduce rework.
  3. If “de-AI-ification” is needed, specify: “After polishing, reduce AI flavor and use a tone commonly used in official contexts.”

Existing Draft: Polish + Format Verification

Below is the draft of my request for instructions: [Paste content]
Please polish it according to official document conventions, check if it complies with GB/T 9704-2012 format requirements, and list any issues directly.

Existing TXT or Non-standard Word: Reformat

The attachment is the body of a report material (TXT / Word). Please format it according to the red-header document issuance format and generate a standard Word file.

Generate Formal File Only

When the body text is finalized in the conversation, you can say: “The content is finalized, help me format it and write it into a Word document.”

Through the steps above, the Agent should complete the writing-side modifications under the Skill rules and output a docx compliant with national standard layout specifications when necessary (specific file names and saving methods depend on the Skill’s instructions and Agent execution).

Applicable Scenarios and Notes

Who is it suitable for

  • Positions that frequently write official materials such as notices, reports, requests, minutes, plans, summaries, and speeches;
  • Scenarios requiring quick conversion of conversations or drafts into GB/T 9704-2012 compliant Word documents;
  • Users who wish to uniformly perform “de-AI-ification” and format verification rather than manually writing formatting lists every time.

Notes on usage

  1. Content Responsibility: The Skill assists in drafting and formatting; policy expressions, factual data, classification, and publishing permissions must still be manually reviewed.
  2. Anchor Layout to National Standards: Outputs are benchmarked against GB/T 9704-2012; if the unit has internal detailed rules, additional requirements should be specified in the prompt.
  3. Installation Path: skillhub install must include --dir and match the actual skills directory of Cursor / Claude Code / Codex, etc.
  4. Version: The page version at the time of writing is 1.0.2; refer to the SkillHub page for updates.

The rating shown on the SkillHub page is 100,000 with approximately 30,839 downloads (statistics vary with platform updates), which can be used as a reference for selection but does not constitute proof of applicability for your specific unit.

Conclusion

The “Official Document Writing and Formatting Assistant” consolidates multi-type writing, polishing/de-AI-ification, format verification, and national standard Word output into a single Skill, making it suitable for long-term use in environments supporting SkillHub like Cursor. To install or check for updates, simply open the official page:

https://www.skillhub.cn/skills/laoxi/tizhineigongwenxiezuopaiban

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye