Skip to content
Content
Skill

/research-citation-check

当用户明确要求"核查/优化综述 `{主题}_review.tex` 的正文引用"、"运行 research-citation-check",或要求使用旧名 check-review-alignment skill 时使用。通过宿主 AI 的语义理解逐条核查引用是否与文献内容吻合,只在发现致命性引用错误时对"包含引用的句子"做最小化改写,并优先复用 `research-literature-review` 的渲染脚本输出 PDF/Word,过渡期允许 fallback 到旧名

From plugin
chineseresearchlatex
2.6k24 skills
Install
$ npx -y skills add huangwb8/ChineseResearchLaTeX --skill research-citation-check --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/research-citation-check

Context preview

The summary Claude sees to decide when to auto-load this skill.

当用户明确要求"核查/优化综述 `{主题}_review.tex` 的正文引用"、"运行 research-citation-check",或要求使用旧名 check-review-alignment skill 时使用。通过宿主 AI 的语义理解逐条核查引用是否与文献内容吻合,只在发现致命性引用错误时对"包含引用的句子"做最小化改写,并优先复用 `research-literature-review` 的渲染脚本输出 PDF/Word,过渡期允许 fallback 到旧名

SKILL.md

research-citation-check.SKILL.md
name: research-citation-check
description: 当用户明确要求"核查/优化综述 `{主题}_review.tex` 的正文引用"、"运行 research-citation-check",或要求使用旧名 check-review-alignment skill 时使用。通过宿主 AI 的语义理解逐条核查引用是否与文献内容吻合,只在发现致命性引用错误时对"包含引用的句子"做最小化改写,并优先复用 `research-literature-review` 的渲染脚本输出 PDF/Word,过渡期允许 fallback 到旧名 systematic-literature-review。核心原则:不为了改而改,无法确定是否为致命性错误时保留原样并在报告中警告。⚠️ 不适用:用户只是想生成系统综述正文(应使用 research-literature-review);用户只是想新增/核对 BibTeX 条目(应使用专门的 bib 管理流程)。

metadata:
  author: Bensz Conan
  short-description: AI 驱动的综述引用语义核查与自动渲染
  keywords:
    - research-citation-check
    - check-review-alignment
    - 引用优化
    - BibTeX
    - LaTeX
    - review.tex
    - 语义核查
  dependencies:
    - skill: research-literature-review
      required: true
      reason: "LaTeX → PDF/Word 渲染"

Research Citation Check

BenszAPI 任务工作区

本 Skill 的新任务中间文件统一写入 `./.bensz-api/task-{yyyymmdd-hhmm}-{简短描述}/{skill名}/input|output|log/`。同一任务复用一个任务根目录;多 Skill 协作才创建 `shared/`。正式交付物不写入该目录,历史隐藏目录只允许显式兼容读取、迁移或清理。

与 bensz-collect-bugs 的协作约定

  • 当用户环境中出现因本 skill 设计缺陷导致的 bug 时,优先使用 `bensz-collect-bugs` 按规范记录到 `~/.bensz-skills/bugs/`,严禁直接修改用户本地 Claude Code / Codex 中已安装的 skill 源码。
  • 若 AI 仍可通过 workaround 继续完成用户任务,应先记录 bug,再继续完成当前任务。
  • 当用户明确要求“report bensz skills bugs”等公开上报动作时,调用本地 `gh` 与 `bensz-collect-bugs`,仅上传新增 bug 到 `huangwb8/bensz-bugs`;不要 pull / clone 整个 bug 仓库。

定位

  • 用于检查已有 `{主题}_review.tex` 的正文引用是否真的与对应论文内容一致。
  • 只在确认存在致命错误时最小化改写“包含该引用的句子”。
  • 渲染 PDF/Word 优先依赖 `research-literature-review`;准备结构化输入不依赖该 skill。
  • 兼容旧名 `check-review-alignment` 的 prompt 触发;`.check-review-alignment/` 仍是稳定历史工作区名。

输入

  • `work_dir`:包含 `*_review.tex` 与 `.bib`
  • 可选 `--tex`:指定 tex 文件名

输出

  • `{work_dir}/.check-review-alignment/ai_alignment_report.md`
  • `{work_dir}/.check-review-alignment/ai_alignment_input.json`
  • 修改后的 `{主题}_review.tex`
  • 新生成的 `{主题}_review.pdf`
  • 新生成的 `{主题}_review.docx`

修改边界

  • P0:必须修,允许最小改写或修正错误 bibkey
  • P1:仅警告,不改写
  • P2:完全跳过
  • 禁止:
  • 改写未包含引用的句子
  • 整段重写
  • 引入新 bibkey(除非修复错误 key)
  • 伪造论文内容

工作流

1. 依赖检查

  • 只有执行渲染时才强制检查 `research-literature-review`,过渡期可 fallback 到 `systematic-literature-review`
  • 若只是 `--prepare`,不要求渲染依赖可用

2. 预检与定位

  • 找到 `*_review.tex` 与对应 `.bib`
  • 缺任何核心文件时立即停止

3. 结构化上下文抽取

cd /path/to/research-citation-check
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --prepare
  • 生成 `ai_alignment_input.json`
  • 输入中至少包含:句子、bibkey、文献元信息、DOI/URL、PDF 摘要段或 BibTeX 摘要

4. AI 语义核查

  • 证据优先级:PDF 摘要段 > BibTeX abstract/title > 仅从句子推断
  • 每条引用都要判断是否为:
  • `fake_citation`
  • `wrong_citation`
  • `contradictory_citation`
  • `weak_support`
  • `overclaim`
  • `style_issue`
  • 无法确认时保持原样,并记录到 Warnings

5. 报告

  • 报告至少包含:
  • Summary
  • 具体细节
  • Critical Fixes (P0)
  • Warnings (P1)
  • Rendering Result
  • 每条引用的细节至少包含:标题、DOI、原句、文献实际内容、合理性评估、问题级别

6. 渲染

cd /path/to/research-citation-check
python3 scripts/run_ai_alignment.py --work-dir "/path/to/work_dir" --render

核心原则

  • 不为了改而改
  • 无法确认时不动
  • 只改必要句子
  • 保留所有 LaTeX 命令结构

参考与验证

  • 配置见 `config.yaml`
  • 脚本入口:`scripts/run_ai_alignment.py`
  • 渲染依赖:`research-literature-review`(fallback:`systematic-literature-review`)
Read more
Ships withchineseresearchlatex

🤝 打造最适合中国研究者的科研文档 AI Agent,让天下没有难写的国自然标书、SCI 论文、毕业论文、学术简历!🚀 我们备受关注:

Get the whole plugin
Stats
2,601
Stars
247
Forks
Active
Maintenance
Python
Language
MIT
License
1d ago
Last commit
2y ago
Created

Repo: huangwb8/ChineseResearchLaTeX

Other skills on chineseresearchlatex.