doc-format-gw

公文排版工具 - 根据公文格式规范自动排版Word文档。适用于发送Word文件前进行格式调整。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "doc-format-gw" with this command: npx skills add batduke/doc-format-gw

公文排版工具

根据公文格式规范自动排版Word文档。

触发条件

用户要求:

  • 排版Word文档
  • 格式化公文
  • 根据公文格式规范排版
  • 发送Word前格式化

功能

  • 自动识别标题层级(一级、二级、三级、四级)
  • 设置正文格式(字体、字号、行距、对齐)
  • 设置页边距
  • 表格格式化
  • 页码设置

使用方法

python3 ~/.npm-global/lib/node_modules/openclaw/skills/doc-format-gw/format_gw.py <input.docx> <output.docx>

或者在Python中调用:

from format_gw import format_document
format_document('input.docx', 'output.docx')

格式规范

详见同目录下的 references/format-rules.md

依赖

  • python3
  • python-docx

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Klaviyo

Klaviyo API integration with managed OAuth. Access profiles, lists, segments, campaigns, flows, events, metrics, templates, catalogs, and webhooks. Use this...

Registry SourceRecently Updated
General

Linear

Linear API integration with managed OAuth. Query and manage issues, projects, teams, cycles, and labels using GraphQL. Use this skill when users want to crea...

Registry SourceRecently Updated
12.9K18byungkyu
General

WooCommerce

WooCommerce REST API integration with managed OAuth. Access products, orders, customers, coupons, shipping, taxes, reports, and webhooks. Use this skill when...

Registry SourceRecently Updated
13.7K18byungkyu
General

Monday.com

Monday.com API integration with managed OAuth. Manage boards, items, columns, groups, and workspaces using GraphQL. Use this skill when users want to create,...

Registry SourceRecently Updated
14.1K6byungkyu