liujiang817

My Docx Formatter

Officev1.0.0
By liujiang817Updated 2026-05-11my-docx-formatter@clawhub_liujiang817/my-docx-formatter
Documents

According to AlphaMoat, as of 2026-09, My Docx Formatter has 1,211 downloads and 1 stars — ranked #4,932 of 5,078 AI skills overall, and #413 of 435 in Office.

Installs
158
Downloads
1.2K
Stars
1
Overall Rank
#4,932
Top 98% overall · Top 95% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗228771-
SkillHub ↗1581.2K1—

Platforms count differently and update at different times.

What this skill does

It supports formal documents, reports and plans, including font, paragraphs, page numbers, Chinese quotation marks and headings. Its broad triggers may apply to ordinary reports that do not need this format; confirm intent first. Pin dependencies before installation. Requires Python and a reviewed pinned python-docx dependency; confirm required fonts exist and inspect the rendered DOCX. The template’s formatting guidance does not independently certify compliance with every official-document requirement.

Profile published 2026-10-27

What you can do with it

  • Format a formal Chinese document
  • Revise existing official-document material

When to use it

  • When Chinese official-document formatting is specifically requested

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Confirm this report needs official-document formatting before laying it out.
State dependency and version needs; do not run an unpinned install.

Monthly Trend

Downloads1.2K
1977421.3K2026-03 · Downloads 2722026-05 · Downloads 5222026-06 · Downloads 6522026-07 · Downloads 8822026-08 · Downloads 1.0K2026-09 · Downloads 1.2K26-0326-09
Stars1
0122026-03 · Stars 12026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.2K—1
2026-081.0K+15.4%1
2026-07882+35.3%1
2026-06652+24.9%1
2026-05522—1
2026-03272—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.5 KB · ClawHub v1.0.0
# docx-formatter

**公文格式规范生成器**

严格按照中国公文格式规范生成 Word 文档。

## 自动触发场景

当用户请求以下任务时,**自动使用此 skill**:
- 生成公文、报告、总结、方案等正式文档
Show all (105 lines)
- 润色、修改现有公文材料
- 需要符合公文格式规范的 Word 文档
- 民主生活会、述职报告等党政材料

**关键词识别:**
- "公文"、"材料"、"报告"、"总结"、"方案"
- "民主生活会"、"对照检查"、"述职"、"发言"
- "润色"、"修改"、"生成文档"
- "Word"、"docx"、"格式规范"

## 功能

- 生成符合公文格式规范的 .docx 文档
- 自动处理字体、段落、页码等格式
- 支持中文引号自动配对
- 支持多级标题和正文

## 安装

**首次使用前,运行一次安装脚本:**

```bash
cd ~/.openclaw/workspace/skills/docx-formatter
./install.sh
```

或者直接使用,脚本会自动检测并安装依赖。

## 使用方法

**推荐用法(从 Markdown 转换):**

```bash
# 基本用法
./docx-formatter --from-markdown input.md --output output.docx

# 带署名
./docx-formatter --from-markdown input.md --output output.docx --author "长春市农业农村局\n2026年2月2日"
```

**高级用法(JSON 输入):**

```bash
./docx-formatter --title "文档标题" --author "作者" --content content.json --output output.docx
```

**Markdown 格式规范:**

```markdown
# 文档标题(自动识别为大标题)

## 一、一级标题(黑体 3号)

### (一)二级标题(楷体 3号)

正文段落(仿宋 3号)

**1. ** 带加粗前缀的段落(前缀加粗)
```

## 格式规范

### 字体
- **大标题**:方正小标宋简体 2号
- **一级标题**:黑体 3号
- **二级标题**:楷体_GB2312 3号
- **正文**:仿宋_GB2312 3号
- **三级标题**:仿宋_GB2312 3号加粗(不另起一行)

### 段落
- **行间距**:固定值 28 磅
- **段前间距**:0
- **段后间距**:0
- **首行缩进**:2 字符(32 磅)
- **对齐方式**:两端对齐(标题、署名、日期居中)
- **孤行控制**:关闭

### 页面
- **纸张**:A4 (8.27" × 11.69")
- **页边距**:上下 1",左右 1.25"
- **页码**:页脚居中,纯数字

### 标点
- **引号**:中文引号 " "(U+201C U+201D)
- **书名号**:《》
- **括号**:()

## 示例

见 `examples/` 目录。

## 更新日志

- **2026-02-02**: 实现 Markdown 转换功能,添加一键安装脚本

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.