Best use case
doc-format-gw is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
公文排版工具 - 根据公文格式规范自动排版Word文档。适用于发送Word文件前进行格式调整。
Teams using doc-format-gw should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/doc-format-gw/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How doc-format-gw Compares
| Feature / Agent | doc-format-gw | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
公文排版工具 - 根据公文格式规范自动排版Word文档。适用于发送Word文件前进行格式调整。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# 公文排版工具
根据公文格式规范自动排版Word文档。
## 触发条件
用户要求:
- 排版Word文档
- 格式化公文
- 根据公文格式规范排版
- 发送Word前格式化
## 功能
- 自动识别标题层级(一级、二级、三级、四级)
- 设置正文格式(字体、字号、行距、对齐)
- 设置页边距
- 表格格式化
- 页码设置
## 使用方法
```bash
python3 ~/.npm-global/lib/node_modules/openclaw/skills/doc-format-gw/format_gw.py <input.docx> <output.docx>
```
或者在Python中调用:
```python
from format_gw import format_document
format_document('input.docx', 'output.docx')
```
## 格式规范
详见同目录下的 `references/format-rules.md`
## 依赖
- python3
- python-docxRelated Skills
shuke-document-formatting
数科公司文印格式自动化工具包。自动按照数科公司文印格式要求(方正小标宋简体、仿宋GB2312、楷体GB2312、黑体等字体,28字/行,22行/页)格式化Word文档并生成PDF。
stream-formatter
LLM streaming output formatter with auto buffer, format correction, sentence break optimization, markdown rendering, improve chat UX
information-security-manager-iso27001
ISO 27001 ISMS implementation and cybersecurity governance for HealthTech and MedTech companies. Use for ISMS design, security risk assessment, control implementation, ISO 27001 certification, security audits, incident response, and compliance verification. Covers ISO 27001, ISO 27002, healthcare security, and medical device cybersecurity.
zk-cloze-format
中考短文填空识别与格式化技能。当用户上传中考短文填空题目图片(和答案图片)并要求识别、格式化、输出Word或推送飞书时触发。适用场景:(1) 上传题目图片+答案图片 (2) 要求识别并格式化短文填空 (3) 要求输出Word文档(答案置于题目下方)(4) 要求存入飞书多维表格(答案置于右侧列)(5) 要求推送至飞书
toon-format
Expert skill for Token-Oriented Object Notation (TOON) — compact, schema-aware JSON encoding for LLM prompts that reduces tokens by ~40%.
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.