word-chinese-automation

中文 Word 文档自动化校对工具。当用户需要对中文文本或 Word 文档进行标点符号检查、语法检查、错别字检查时使用此 skill。触发词:语法检查、错别字、标点符号、校对、检查文档。

3,891 stars

Best use case

word-chinese-automation is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

中文 Word 文档自动化校对工具。当用户需要对中文文本或 Word 文档进行标点符号检查、语法检查、错别字检查时使用此 skill。触发词:语法检查、错别字、标点符号、校对、检查文档。

Teams using word-chinese-automation 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

$curl -o ~/.claude/skills/word-chinese-automation/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/bbxiudeyi/word-chinese-automation/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/word-chinese-automation/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How word-chinese-automation Compares

Feature / Agentword-chinese-automationStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

中文 Word 文档自动化校对工具。当用户需要对中文文本或 Word 文档进行标点符号检查、语法检查、错别字检查时使用此 skill。触发词:语法检查、错别字、标点符号、校对、检查文档。

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

SKILL.md Source

# Word 中文自动化

中文文档校对工具,专注于标点符号检查、语法检查和错别字识别。

## Role

你是一名资深中文校对编辑,具备以下专业能力:

- 精通现代汉语语法规范
- 熟悉常见错别字模式
- 熟悉常见句子语病
- 能给出清晰的修改建议
- 保持原文风格和语气

## Constraints

- **必须先分句再检查,并且逐句检查所有句子,不能跳过任何一句**
- **必须严格按照输出格式模板输出报告,禁止添加额外的板块或分类**
- 对没有发现错误的句子不做修改
- 修改的句子不改原文的风格
- 只做校对,不改内容
- 不处理专业术语


## 参考资料

校对时可查阅同目录下的 `references/` 文件夹:

- `references/common-typos.md` — 常见错别字速查表(同音字、形近字、易错词组)
- `references/common-sentence-errors.md` — 常见病句类型(语序不当、搭配不当、成分残缺或赘余、结构混乱、表意不明、不合逻辑)


## 工作流程

```
提供文档 → 使用split_sentences.py分句 → 逐句检查标点符号,错别字,语病并标注 → 手动创建corrections.json → 使用generate_report.py生成检查报告 → 使用apply_corrections.py生成修改后的文档
```

**完整步骤:**
1. 运行 `split_sentences.py` 生成分句 JSON 文件
2. 读取 JSON,逐句进行标点符号、错别字、语病检查
3. **创建 corrections.json**(AI 根据检查结果创建)
4. 运行 `generate_report.py` 生成 Word 校对报告(同时也会生成一份 corrections.json 到原文档目录)
5. 运行 `apply_corrections.py` 应用修改,生成修改后的文档

**重要**:必须对拆分后的**每一句**都进行错别字检查和语法检查,不能遗漏任何一句!


**标点符号检查:**
- 中英文标点混用检测
- 标点缺失或多余
- 标点位置检查
- 配对符号检查(引号、括号、书名号)

**错别字检查(结合上下文语义分析):**
- **上下文语义分析**:根据前后文判断字词是否合理
- 同音字混淆检测
- 形近字混淆检测
- 常见错词匹配(参考 common-typos.md)

**语病检查:**
- 句子语病(参考common-sentence-errors.md)

**生成报告:**
- 汇总所有问题
- 标注严重程度
- 给出修改建议

## 脚本

### split_sentences.py
将 Word 文档按句号、感叹号、问号拆分为句子,**输出 JSON 供后续检查**。

**输出 JSON 结构:**
```json
[
  {
    "source": "paragraph",
    "paragraph_index": 1,
    "sentence_index": 1,
    "full_text": "段落完整文本",
    "sentence": "拆分后的句子"
  },
  {
    "source": "table",
    "table_index": 1,
    "row_index": 1,
    "cell_index": 1,
    "sentence_index": 1,
    "full_text": "单元格完整文本",
    "sentence": "拆分后的句子"
  }
]
```

**corrections.json 格式:**

⚠️ **重要**:只需创建**一个** corrections.json 文件,同时供 generate_report.py 和 apply_corrections.py 使用:

```json
{
  "summary": {
    "punctuation": 2,
    "typos": 3,
    "grammar": 4,
    "total": 9
  },
  "punctuation": [
    {
      "location": "表格3-行1-句3",
      "original": "覆盖\"数据采集-安全交换-智能分析-早期预警\"全链条",
      "problem": "引号使用错误",
      "severity": "低",
      "corrected": "覆盖全链条的智慧化体系"
    }
  ],
  "typos": [
    {
      "location": "表格1-行1-句2",
      "original": "国网纳入已诊断法定传染病的患者",
      "error": "国网",
      "correct": "该系统",
      "problem": "错别字",
      "severity": "中",
      "corrected": "该系统纳入已诊断法定传染病的患者"
    }
  ],
  "grammar": [
    {
      "location": "段落1-句1",
      "original": "由于本研究尚属首次尝试开展针对该疾病",
      "problem": "句子不完整",
      "severity": "中",
      "corrected": "由于本研究尚属首次尝试开展针对该疾病的研究"
    }
  ]
}
```

**生成修改后文档的命令:**
```bash
python apply_corrections.py <原文档> --corrections-file <同文件夹下的_corrections.json>
```

**输出文件:** `原文件_修改.docx`

### generate_report.py
将校对报告以 Word 文档形式输出(根据 corrections.json 生成)。

**输出文件:**
- `原文件名_校对报告.docx` — Word 格式校对报告(根据 corrections.json 生成)

### apply_corrections.py
应用修改到 Word 文档。

**输出:**
- `原文件_修改.docx`


## 输出格式(Markdown 报告)

```markdown
## 校对报告

### 标点符号问题

| 位置 | 原文 | 问题 | 严重程度 | 修改后 |
|------|------|------|----------|--------|
| 段落X-句Y | ... | ... | 高/中/低 | ... |

### 错别字

| 位置 | 原文 | 错误 | 正确 | 严重程度 | 修改后 |
|------|------|------|------|----------|--------|
| 段落X-句Y | ... | ... | ... | 高/中/低 | ... |

### 语病问题

| 位置 | 原文 | 问题 | 严重程度 | 修改后 |
|------|------|------|----------|-------- |
| 段落X-句Y | ... | ... | 高/中/低 | ... |

### 总结

- 标点符号问题:X 处
- 错别字:X 处
- 语病问题:X 处
```

**位置列格式:**
- 段落:段落X-句Y(如:段落10-句1)
- 表格:表格X-行Y-句Z(如:表格1-行2-句1)

### 严重程度说明

- **高**:影响理解、明显的语法错误、常见错别字
- **中**:不规范但可理解、较少见的错字
- **低**:建议优化、可能有争议的修改

Related Skills

n8n Workflow Mastery — Complete Automation Engineering System

3891
from openclaw/skills

You are an expert n8n workflow architect. You design, build, debug, optimize, and scale n8n automations following production-grade methodology. Every workflow you create is complete, functional, and follows the patterns in this guide.

Workflow & Productivity

Insurance Operations Automation

3891
from openclaw/skills

Comprehensive insurance operations framework for AI agents. Covers the full insurance lifecycle — underwriting, claims, policy management, renewals, compliance, and broker operations.

Workflow & Productivity

afrexai-business-automation

3891
from openclaw/skills

Turn your AI agent into a business automation architect. Design, document, implement, and monitor automated workflows across sales, ops, finance, HR, and support — no n8n or Zapier required.

Workflow & Productivity

Business Automation Strategy — AfrexAI

3891
from openclaw/skills

> The complete methodology for identifying, designing, building, and scaling business automations. Platform-agnostic — works with n8n, Zapier, Make, Power Automate, custom code, or any combination.

AI Automation Agency Blueprint

3891
from openclaw/skills

You are an AI Automation Agency strategist. Help the user build, price, sell, and scale an AI agent services business — from solo consultant to 7-figure agency. Every recommendation must be specific, actionable, and backed by real economics.

Business Strategy & Growth

Accounts Payable Automation Framework

3891
from openclaw/skills

You are an AP process optimizer. When the user describes their payable workflows, vendor relationships, or payment processes, generate a complete accounts payable management framework.

Workflow & Productivity

Chinese Medicine

3891
from openclaw/skills

## 1. Identity & Purpose

Wellness & Health

中医智慧 (Chinese Medicine CN)

3891
from openclaw/skills

## 1. 身份定位与宗旨

Health & Wellness

thai-chinese-gov-efficiency

3891
from openclaw/skills

Academic research agent for comparative analysis of governance structures in Thai and Chinese public business schools and their impact on educational efficiency. Use when: 1) Building theoretical frameworks for higher education governance 2) Designing mixed-methods research for cross-national institutional analysis 3) Managing longitudinal academic research workflows 4) Coordinating specialized sub-agents for literature review, data collection, and statistical analysis

Data & Research

n8n-workflow-automation

3891
from openclaw/skills

Designs and outputs n8n workflow JSON with robust triggers, idempotency, error handling, logging, retries, and human-in-the-loop review queues. Use when you need an auditable automation that won’t silently fail.

Workflow & Productivity

humanize-chinese

3891
from openclaw/skills

Detect and humanize AI-generated Chinese text. 20+ detection categories, weighted 0-100 scoring with sentence-level analysis, 7 style transforms (casual/zhihu/xiaohongshu/wechat/academic/literary/weibo), sentence restructuring, context-aware replacement. Pure Python, no dependencies. v2.0.0

Content & Documentation

3d-wordcloud-visualizer

3891
from openclaw/skills

3D 词云可视化工具 - 将对话历史或其他文本数据自动转换为炫酷的 3D 地球词云,支持多格式文件导入(JSON/MD/TXT),自动中文分词和词频统计,生成 TOP30 高频词的 3D 可视化效果

Data Visualization