iflytek-text-proofread

仓库创建 2026年3月30日最近提交 4 小时前SkillHot 收录 20 天前
▸ 精选理由

覆盖拼写、知识性与内容风险检查,适合公文与媒体文本校验。

▸ 风险提示

需调用讯飞服务并上传文本,可能触及敏感内容或隐私审查问题。

这个 Skill 做什么

对中文文本进行多维度校对,检测27类错别字与表达、知识性错误与敏感用语。

面向中文公文的多维度校对工具,能检查 27 类错别字、标点、语序、知识性错误和敏感用语,支持超长文本(上限很高)。适合校对公文、报告或对外发布的中文材料,会给出修改建议和风险提示。基于讯飞公文校对能力,覆盖专有名词和禁用/慎用词的识别。

▸ 展开 SKILL.md 英文原文

iFlytek Official Document Proofreading (公文校对) — detect and correct errors in Chinese text including typos, punctuation, word order, factual mistakes, sensitive content, and more (27 error types). Supports up to 220,000 characters. Use when the user wants to proofread, check, or correct Chinese text, especially official documents. Pure Python stdlib, no pip dependencies.

内容创作文本校对中文润色错误检测通用
213
Stars
25
Forks
11
仓库内 Skill
+14
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/iflytek/iFly-Skills/main/skills/iflytek-text-proofread/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/iflytek/iFly-Skills/main/skills/iflytek-text-proofread/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# ifly-text-proofread

Proofread Chinese text using iFlytek's Official Document Proofreading API (公文校对). Detects 27 types of errors across three categories:

**文字标点差错**: 错别字、多字、少字、语义重复、语序错误、句式杂糅、标点符号、量词单位、数字差错、句子查重、序号检查

**知识性差错**: 地理名词、机构名称、专有名词及术语、常识差错、媒体报道禁用词和慎用词

**内容导向风险**: 涉低俗辱骂、其他敏感内容

## Setup

1. Create an app at [讯飞控制台](https://console.xfyun.cn) with 公文校对 service enabled
2. Set environment variables:
   ```bash
   export IFLY_APP_ID="your_app_id"
   export IFLY_API_KEY="your_api_key"
   export IFLY_API_SECRET="your_api_secret"
   ```

## Usage

### Basic proofreading

```bash
python3 scripts/text_proofread.py "第二个百年目标"
```

### Read from stdin

```bash
echo "我们要加强对蓝球运动的推广" | python
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有