Skill

公文格式转换

公文格式排版工具。将 doc/docx/wps/txt/md 文档按照公文排版习惯自动格式化,输出标准 docx。支持智能识别标题层级(一、/(一)/1./(1))、题目/副标题、附件格式化、图表标题识别、页面边距、页码、行距、字体字号、TXT/MD 空行模式、自定义配置和目录批量处理。当用户需要排版公文、格式化...

Verified: 2026-05-15 (clawhub-ingest-2026-05-15+enrich-capability-skill)

When to use 公文格式转换

Choose if

You routinely produce Chinese official ("公文") documents and want an agent to convert .doc / .docx / .wps / .txt / .md inputs into a standardized .docx with correct heading hierarchy (一、/(一)/1./(1)), titles/subtitles, attachment blocks, figure/table captions, margins, page numbers, line spacing, and fonts. Batch processes whole directories with structure preservation and accepts a JSON config (`wfp_config.json`) or `--set` flags.

Avoid if

Your output target isn't standardized Chinese government-style docx — the whole rule set is calibrated for 公文 conventions. The README also warns that Word/WPS auto-numbering may not survive conversion cleanly; if your source uses heavy auto-numbering, expect to convert to manual numbering and reprocess.

Cost

Type: Free

Dependencies

Minimum runtime: Python 3

Distribution

ClawHub
doc-format
License
MIT-0