Word Formatting Skill: Uniform Layout for Chinese Word Documents Using Reference Templates

Introduction

Proposals, solution documents, and recommendation letters are often results of collaborative work or concatenation of historical documents. This leads to mismatched heading levels, inconsistent headers and footers, and messy table styles. Manually formatting these in Word paragraph by paragraph is time-consuming and prone to errors. The following introduces a Skill designed for Agents to batch migrate layouts based on a “Reference Template.” It organizes document structure while preserving the original content and generates processing and QA reports.

What is this

Word Formatting Skill (Coordinate @user_3f072f00/word-format-skill, current version v2.0.7) is published on SkillHub. It is categorized under office-efficiency, sourced from the community, and maintained by the publisher user_3f072f00.

One-sentence positioning: Based on a reference Word template you provide, this Skill reformats Chinese business documents (.doc / .docx). It cleans up messy formatting, migrates heading and body styles, headers/footers, page setup, and basic table styles, while outputting a processing report and a structural QA report. The SkillHub page marks requires_api_key=false, meaning installation and usage do not depend on additional API Keys.

Core Features

The following capabilities are based on the official SkillHub description. I will not speculate on implementation details not expanded upon on the page:

  1. Input and Output Formats: Supports .doc and .docx; preserves original content during the reformatting process.
  2. Layout Migration: Migrates heading and body styles, as well as headers, footers, and page setup from the reference template.
  3. Tables: Migrates basic table styles (the page does not specify boundaries for complex merged cells or nested tables; please verify the output manually when using).
  4. Cleanup: Cleans up messy formatting in the document to align the layout with the template’s direction.
  5. Reports: Generates a processing report and a structural QA report to facilitate checking if hierarchy and structure meet expectations.

SkillHub Statistics (based on fetched data): Rating 100000, Downloads 14729.

Installation and Activation

The official page requires installation according to the SkillHub installation documentation. First, check if the skillhub CLI is available on your machine:

command -v skillhub && skillhub --version

If not installed, you can perform a full installation (CLI + default Skills) following the SkillHub documentation:

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

When installing the Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it may install to the default ./skills/ location which might not be recognized by the Agent. The installation method provided officially by coordinate is:

skillhub install @user_3f072f00/word-format-skill --dir <skills directory>

Common Agent skills paths (excerpt from SkillHub installation documentation):

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

After installation, refresh or restart the Agent according to your client’s instructions to load the Skill. Cursor, Codex CLI, and Claude Code differ only in the “which directory to install to” aspect; the installation command format is the same. How to @ or select the Skill in the conversation on each end is subject to the corresponding client’s current documentation; details not verified on this page will not be expanded upon.

Typical Usage

The official page does not provide step-by-step screenshots or fixed prompt templates. The reproducible workflow can be summarized based on the introduction as follows:

  1. Prepare a Reference Word Template with correct layout (.doc or .docx), and the Source Document to be organized.
  2. In a conversation with an Agent where this Skill is enabled, specify that you want to reformat the source document based on the template, and provide the paths to both files or upload/mount the files as required by the client.
  3. Let the Agent call the Word Formatting Skill to complete the reformatting; afterwards, view the output Processing Report and Structural QA Report to check if heading hierarchy, headers/footers, and tables meet the template expectations.
  4. Open the generated Word file for a final check: Business documents often contain signature pages, appendix numbering, etc. It is recommended to manually review key pages even after automated migration.

For specific subcommands, script names, or parameters within SKILL.md, please refer to the Skill package after installation; this article does not fabricate configuration items that do not appear on the official page.

Applicable Scenarios and Notes

Who is it for

  • Teams or individuals who frequently deliver Chinese bids, solution documents, and proposals, and have fixed Word templates.
  • Cases where the content of the source document is finalized, and the main pain point is inconsistent layout or residual historical formatting, rather than writing from scratch.

Limitations and Notes

  • The capability boundary is subject to the official introduction: It emphasizes basic styles for headings, body text, headers/footers, page setup, and tables. Whether extremely complex layouts are fully equivalent to manual formatting needs to be tested with real documents and verified with the QA report.
  • Only supports .doc / .docx; other formats need to be converted first, and the conversion itself is not within the scope of the Skill’s introduction.
  • The version is based on SkillHub (v2.0.7); upgrades can be done using skillhub for the same coordinate under the corresponding --dir, and pay attention to the CHANGELOG or SKILL.md within the Skill package (if provided by the publisher).

Conclusion

The Word Formatting Skill ties together “Reference Template + Content Preservation + Layout Migration + Dual Reports” into a pipeline that can be handed over to an Agent. It is suitable for batch unifying Word layouts before finalization. For installation and details, see SkillHub:

  • Page: https://www.skillhub.cn/skills/user_3f072f00/word-format-skill
  • API Coordinate Page: https://api.skillhub.cn/user_3f072f00/word-format-skill
  • Installation Instructions: https://skillhub.cn/install/skillhub.md
羽毛球分组比赛记分
小程序二维码

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

Xiaoye