ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 4/5

shuke-document-formatting

数科公司文印格式自动化工具包。自动按照数科公司文印格式要求(方正小标宋简体、仿宋GB2312、楷体GB2312、黑体等字体,28字/行,22行/页)格式化Word文档并生成PDF。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/an0027/shuke-document-formatting
Or

What This Skill Does

The shuke-document-formatting skill is a specialized automation toolkit designed for corporate document processing, specifically adhering to the strict formatting standards of Shuke Company. It automates the complex task of document styling, ensuring that every document complies with national and corporate document layout requirements. Key functionalities include automatic header hierarchy recognition, font application (FangZheng XiaoBiaoSong, FangSong GB2312, KaiTi GB2312, and HeiTi), page margin configuration, and grid-based character spacing (28 characters/line, 22 lines/page). It also bridges the gap between Word processing and print-ready PDF generation, verifying font installation and layout accuracy automatically.

Installation

To integrate this skill, use the OpenClaw CLI: clawhub install openclaw/skills/skills/an0027/shuke-document-formatting

Ensure that you have Python 3.8+ installed along with the python-docx library. After installation, run python install_shuke_fonts.py to register the required proprietary fonts in your environment, followed by python verify_shuke_fonts.py to confirm successful setup.

Use Cases

This skill is ideal for administrative assistants, office clerks, and legal departments who handle high-volume official reports and corporate paperwork. It simplifies the transition from draft documents to final, policy-compliant files. Use it to batch-convert dozens of documents simultaneously, maintain consistent visual branding across various departmental reports, or quickly rectify poorly formatted legacy files.

Example Prompts

  1. "Format the document 'report_draft.docx' according to the Shuke document standards and export it to a PDF titled 'final_report.pdf'."
  2. "I have a folder of raw meeting minutes in 'input_docs/'; please batch convert all of them into the official corporate PDF format and save them in the 'exports/' directory."
  3. "Check the font compliance and page layout of 'official_memo.docx' and let me know if any adjustments are needed to meet the 28-character-per-line requirement."

Tips & Limitations

To ensure optimal performance, keep your source documents in a clean structure using clear paragraph breaks. Avoid using excessive manual spacing, as the tool relies on the document's underlying logical hierarchy to apply styles. If the tool reports a font error, ensure the font files are correctly placed in the /usr/share/fonts/truetype/sim/ directory. Note that this tool is strictly designed for GBK-encoded Chinese documents; attempting to process files in other encodings may result in character corruption.

Metadata

Author@an0027
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-an0027-shuke-document-formatting": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#document-automation#word-processing#pdf-conversion#corporate-formatting#office-productivity
Safety Score: 4/5

Flags: file-write, file-read, code-execution