Foreword¶
In government agencies, enterprises, and public institutions, formal official documents often need to be produced in Word following fixed layouts: centered title font size, specific character count per line and line spacing for the body text, and specific positions for signatures. Manually adjusting paragraphs and fonts item by item in Word is slow and prone to misalignment with standards. The following introduces the community Skill “One-Click Typesetting - Government Document Format” on SkillHub. By stating requirements in a conversation or providing a document to be formatted, the Agent generates a new, formatted file according to specifications, reducing repetitive labor.
What is This¶
“One-Click Typesetting - Government Document Format” is an Agent Skill targeting the office-efficiency category, with coordinates @user_ce858ad4/gov-document-typesetting. The current version is 1.3.0, sourced from the community, and maintained by the publisher user_ce858ad4 (listed as author Wyman Ho on the SkillHub page). It solves the problem of: creating or adjusting Word documents that comply with Chinese government official document formatting standards, rather than general Markdown or web page typesetting.
The Skill tags indicate requires_api_key=false, meaning no additional API Key configuration is generally required after installation.
Core Functions¶
The following capabilities are derived from the official SkillHub description, with typesetting rules hardcoded in the Skill instructions:
- Title: Size 2 SimHei (Black Body), centered.
- Body Text: Size 3 FangSong_GB2312; the type area is constrained to common official document habits of 28 characters per line and 22 lines per page; line spacing is fixed at 28 points.
- Signature: Right-aligned.
- Output Method: After typesetting is complete, a new file is generated with the filename
(排版)+ original filename, without overwriting the original draft.
Trigger Timing: When a user needs to generate formal official documents for government agencies, enterprises, or public institutions, or says “help me format” a Word document in a conversation, the Agent should activate this Skill.
Installation and Activation¶
The installation method provided by SkillHub involves instructing the AI to pull the specified coordinate Skill according to a unified installation document. In clients supporting the SkillHub protocol, such as Cursor or Claude Code, the procedure is consistent: send the intent below to the Agent and have it read the installation instructions before executing.
Send to the Agent (or execute by following the instructions yourself):
Please install @user_ce858ad4/gov-document-typesetting according to https://skillhub.cn/install/skillhub.md.
After installation, the Skill will appear in the local Skills directory as a generic SKILL.md file (the specific path depends on the client you are using and the instructions in skillhub.md). If different clients use different names for the Skills root directory, refer to the official installation documentation; this Skill does not differentiate installation commands for Cursor and Codex CLI.
Typical Usage¶
The official documentation does not provide a fixed one-click CLI command; the typical path is natural language driven:
- First, complete the installation as described in the previous section.
- Explain the task in the conversation, for example: “Please format this Word document according to government official document standards” or “Help me format
通知.docx”. - The Agent reads the Skill rules, applies formatting such as title, body, line spacing, and signature to the document, and saves it as
(排版)通知.docx(example filename, prefix rule is fixed).
If drafting an official document from scratch, you can also describe the document type and content in the conversation, and the Agent will generate a Word file conforming to the layout under the Skill’s constraints.
Scenarios and Notes¶
Who is it for
- Administrative, clerical, and general affairs positions that frequently produce Word official documents such as notices, requests for instructions, and reports.
- Users already using environments with Agent Skills like Cursor who wish to solidify “GB Official Document Layout” into a reusable capability rather than manually changing styles every time.
Limitations and Notes
- The output relies on the Word (.docx) ecosystem and specific fonts (such as FangSong_GB2312); if the font is missing on the local machine or server, the layout may deviate from expectations, requiring self-checks in the target environment.
- The Skill describes standard official document typesetting essentials and cannot replace internal templates regarding letterheads (red heads), document numbers, classification levels, etc., mandated by your unit; classified documents or finalization processes must still follow unit regulations.
- This is a community Skill (community source); upgrades and compatibility are subject to the descriptions of v1.3.0 and subsequent versions on SkillHub.
Conclusion¶
“One-Click Typesetting - Government Document Format” encodes common official document Word layouts—such as titles, body text, line spacing, and signatures—into an Agent Skill. Triggered via conversation, it produces a new file with the (排版) prefix, making it suitable for handing repetitive typesetting tasks over to AI. For installation and details, see SkillHub:
- Skill Page: https://www.skillhub.cn/skills/user_ce858ad4/gov-document-typesetting
- Official Address: https://api.skillhub.cn/user_ce858ad4/gov-document-typesetting