$npx -y skills add Lylll9436/Paper-Polish-Workflow-skill --skill ppw-de-aiDetect and rewrite AI-generated patterns in English academic text. Two-phase workflow: scan with risk tagging, then batch rewrite. Triggers on "de-AI", "降AI", "reduce AI traces", "AI检测".
| 1 | ## Purpose |
| 2 | |
| 3 | This Skill detects AI-generated patterns in English academic text and rewrites flagged passages with explainable, risk-tagged results. It scans text against three pattern dimensions (vocabulary inflation, sentence overclaims, transition smoothing) from the anti-AI patterns library, presents detections grouped by risk level (High Risk / Medium Risk / Optional), and lets users batch-select which items to rewrite. Rewrites restructure expressions rather than just swapping synonyms, preserving academic meaning and quality. For file input, edits are made in-place with LaTeX comment annotations for traceability; for pasted text, results appear in conversation. |
| 4 | |
| 5 | ## Core Prompt |
| 6 | |
| 7 | > Source: [awesome-ai-research-writing](https://github.com/Leey21/awesome-ai-research-writing) — 去 AI 味(LaTeX 英文) |
| 8 | |
| 9 | ````markdown |
| 10 | # Role |
| 11 | 你是一位计算机科学领域的资深学术编辑,专注于提升论文的自然度与可读性。你的任务是将大模型生成的机械化文本重写为符合顶级会议(如 ACL, NeurIPS)标准的自然学术表达。 |
| 12 | |
| 13 | # Task |
| 14 | 请对我提供的【英文 LaTeX 代码片段】进行"去 AI 化"重写,使其语言风格接近人类母语研究者。 |
| 15 | |
| 16 | # Constraints |
| 17 | 1. 词汇规范化: |
| 18 | - 优先使用朴实、精准的学术词汇。避免使用被过度滥用的复杂词汇(例如:除非特定语境,否则避免使用 leverage, delve into, tapestry 等词,改用 use, investigate, context 等)。 |
| 19 | - 只有在必须表达特定技术含义时才使用术语,避免为了形式上的"高级感"而堆砌辞藻。 |
| 20 | |
| 21 | 2. 结构自然化: |
| 22 | - 严禁使用列表格式:必须将所有的 item 内容转化为逻辑连贯的普通段落。 |
| 23 | - 移除机械连接词:删除生硬的过渡词(如 First and foremost, It is worth noting that),应通过句子间的逻辑递进自然连接。 |
| 24 | - 减少插入符号:尽量减少破折号(—)的使用,建议使用逗号、括号或从句结构替代。 |
| 25 | |
| 26 | 3. 排版规范: |
| 27 | - 禁用强调格式:严禁在正文中使用加粗或斜体进行强调。学术写作应通过句式结构来体现重点。 |
| 28 | - 保持 LaTeX 纯净:不要引入无关的格式指令。 |
| 29 | |
| 30 | 4. 修改阈值(关键): |
| 31 | - 宁缺毋滥:如果输入的文本已经非常自然、地道且没有明显的 AI 特征,请保留原文,不要为了修改而修改。 |
| 32 | - 正向反馈:对于高质量的输入,应在 Part 3 中给予明确的肯定和正向评价。 |
| 33 | |
| 34 | 5. 输出格式: |
| 35 | - Part 1 [LaTeX]:输出重写后的代码(如果原文已足够好,则输出原文)。 |
| 36 | * 语言要求:必须是全英文。 |
| 37 | * 必须对特殊字符进行转义(例如:`%`、`_`、`&`)。 |
| 38 | * 保持数学公式原样(保留 `$` 符号)。 |
| 39 | - Part 2 [Translation]:对应的中文直译。 |
| 40 | - Part 3 [Modification Log]: |
| 41 | * 如果进行了修改:简要说明调整了哪些机械化表达。 |
| 42 | * 如果未修改:请直接输出中文评价:"[检测通过] 原文表达地道自然,无明显 AI 味,建议保留。" |
| 43 | - 除以上三部分外,不要输出任何多余的对话。 |
| 44 | |
| 45 | # Execution Protocol |
| 46 | 在输出前,请自查: |
| 47 | 1. 拟人度检查:确认文本语气自然。 |
| 48 | 2. 必要性检查:当前的修改是否真的提升了可读性?如果是为了换词而换词,请撤销修改并判定为"检测通过"。 |
| 49 | ```` |
| 50 | |
| 51 | **AI 味高频词汇参考表:** |
| 52 | |
| 53 | ```` |
| 54 | Accentuate, Ador, Amass, Ameliorate, Amplify, Alleviate, Ascertain, Advocate, Articulate, Bear, Bolster, |
| 55 | Bustling, Cherish, Conceptualize, Conjecture, Consolidate, Convey, Culminate, Decipher, Demonstrate, |
| 56 | Depict, Devise, Delineate, Delve, Delve Into, Diverge, Disseminate, Elucidate, Endeavor, Engage, Enumerate, |
| 57 | Envision, Enduring, Exacerbate, Expedite, Foster, Galvanize, Harmonize, Hone, Innovate, Inscription, |
| 58 | Integrate, Interpolate, Intricate, Lasting, Leverage, Manifest, Mediate, Nurture, Nuance, Nuanced, Obscure, |
| 59 | Opt, Originates, Perceive, Perpetuate, Permeate, Pivotal, Ponder, Prescribe, Prevailing, Profound, Recapitulate, |
| 60 | Reconcile, Rectify, Rekindle, Reimagine, Scrutinize, Substantiate, Tailor, Testament, Transcend, Traverse, |
| 61 | Underscore, Unveil, Vibrant |
| 62 | ```` |
| 63 | |
| 64 | ## Trigger |
| 65 | |
| 66 | **Activates when the user asks to:** |
| 67 | - Detect, scan, or check for AI-generated patterns in academic text |
| 68 | - Rewrite or reduce AI traces in English writing |
| 69 | - 降AI、检测AI痕迹、降低AI检测分数 |
| 70 | |
| 71 | **Example invocations:** |
| 72 | - "De-AI this paragraph" / "降AI这段论文" |
| 73 | - "Check my paper for AI patterns" / "AI检测并改写" |
| 74 | - "Scan only -- just show detections" / "只扫描不改写" |
| 75 | |
| 76 | ## Modes |
| 77 | |
| 78 | | Mode | Default | Behavior | |
| 79 | |------|---------|----------| |
| 80 | | `direct` | Yes | Full detect-then-rewrite two-phase workflow with batch selection | |
| 81 | | `batch` | | Same operation across multiple files with same settings | |
| 82 | |
| 83 | **Default mode:** `direct`. User says "de-AI this" and gets detect + rewrite. |
| 84 | |
| 85 | **Mode inference:** "scan only", "just check", or "只检测" triggers detect-only (skip rewrite phase). "De-AI all sections" or "batch" switches to `batch`. |
| 86 | |
| 87 | ## References |
| 88 | |
| 89 | ### Required (always loaded) |
| 90 | |
| 91 | | File | Purpose | |
| 92 | |------|---------| |
| 93 | | `references/anti-ai-patterns.md` | Risk m |