Install
openclaw skills install word-cn-format提供Word文档中文格式标准化功能,统一标题、正文、图片和图表格式,确保符合中文排版规范。
openclaw skills install word-cn-format本skill提供Word文档的中文格式标准化功能,确保文档符合中文排版规范,包括:
sample_1/
├── SKILL.md # 技能说明文件
├── scripts/
│ ├── format_word.py # 核心格式化脚本
│ └── requirements.txt # 依赖项
├── references/
│ ├── format_standard.md # 格式标准说明
│ └── usage_guide.md # 使用指南
└── assets/
└── template.docx # 模板文件
安装依赖:
pip install -r scripts/requirements.txt
运行格式化脚本:
python scripts/format_word.py <input_file> [output_file]
其中:
<input_file>:要格式化的Word文档路径[output_file]:可选,格式化后的文档保存路径,默认在原文件基础上加"_formatted"后缀# 格式化文档并保存为新文件
python scripts/format_word.py document.docx formatted_document.docx
# 直接在原文件基础上格式化
python scripts/format_word.py report.docx
执行脚本后,文档将按照上述格式标准进行统一处理,确保整体风格一致,符合中文排版规范。