jpskill.com
💬 コミュニケーション コミュニティ

citation-audit

LaTeX学術論文の投稿前に、引用文献や参考文献が正しく、全ての参照が有効かなどを詳細に検証するSkill。

📜 元の英語説明(参考)

Run a pre-submission citation and reference audit for LaTeX academic papers. Use this skill whenever the user wants to verify that BibTeX entries are correct, every citation key in TeX resolves, every figure/table/equation/section reference is valid, DOI/arXiv/OpenReview/proceedings metadata matches the cited work, citation claims are supported by the cited paper, or a paper is ready for submission with clean references.

🇯🇵 日本人クリエイター向け解説

一言でいうと

LaTeX学術論文の投稿前に、引用文献や参考文献が正しく、全ての参照が有効かなどを詳細に検証するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

引用文献の監査

投稿前の引用文献、BibTeX エントリ、および LaTeX の相互参照の監査を実行します。このスキルは、投稿前の正確性を確認するためのものであり、広範な文献検索を目的としたものではありません。

このスキルは、論文にすでに引用文献のドラフトがあり、ユーザーが以下の点について確信を得たい場合に使用します。

  • TeX 内のすべての \cite{...} キーが BibTeX に存在すること
  • すべての BibTeX エントリが構文的に有効であり、重複していないこと
  • すべての \ref{...}\cref{...}\eqref{...}\autoref{...} ターゲットが存在すること
  • すべての \label{...} が一意であり、ローカルな命名規則に従っていること
  • DOI、arXiv、OpenReview、URL、タイトル、著者、年、および掲載場所のメタデータが実際の論文と一致すること
  • 近くの散文における引用の主張が、実際に引用された著作によって裏付けられていること
  • 参考文献スタイルが投稿準備完了であること

より広範な投稿チェックリストについては、submit-paper と組み合わせてください。引用文献の正確性に関する問題が論文の差し止めリスクまたはアクションとなるべき場合は、research-project-memory と組み合わせてください。

スキルディレクトリのレイアウト

<installed-skill-dir>/
├── SKILL.md
├── scripts/
│   └── audit_latex_refs.py
└── references/
    ├── citation-claim-audit.md
    ├── metadata-verification.md
    └── report-template.md

段階的な読み込み

  • 決定論的な TeX/BibTeX/参照チェックのために、常に scripts/audit_latex_refs.py を実行します。
  • DOI、arXiv、OpenReview、会議録、または出版社のメタデータをチェックする場合は、references/metadata-verification.md を読み込みます。
  • ユーザーが引用文献が論文の主張を裏付けているかどうかを尋ねる場合、または完全な投稿前監査を行う場合は、references/citation-claim-audit.md を読み込みます。
  • 最終的な監査レポートには、references/report-template.md を使用します。

ステップ 1 - 論文ソースの特定

以下を特定します。

  • 論文のルート
  • メインの TeX ファイル
  • 含まれるすべての TeX ファイル
  • \bibliography{...} または \addbibresource{...} によって参照される BibTeX ファイル
  • 明らかな場合は、ターゲットの掲載場所と投稿モード

役立つローカルチェック:

find . -maxdepth 4 -name "*.tex" -o -name "*.bib"
find . -maxdepth 3 -name "main.tex" -o -name "paper.tex"

ユーザーが論文ディレクトリを提供した場合は、それを使用します。メインファイルが提供されていない場合は、main.tex を優先し、次に paper.tex、次に \begin{document} を含む TeX ファイルを優先します。

ステップ 2 - 決定論的なローカル監査の実行

以下を実行します。

python3 <citation-audit-skill-dir>/scripts/audit_latex_refs.py --paper-dir "$PAPER_DIR" --main "$MAIN_TEX"

インストールされたスキルスクリプトへの絶対パスを使用してください。Claude 固有のインストールパスを仮定しないでください。

スクリプトは以下をチェックします。

  • 含まれる TeX ファイルの検出
  • \cite\citet\citep\citealp\citeauthor\citeyear\textcite\parencite の引用キー
  • BibTeX キーと基本的な構文
  • 欠落している引用キー
  • 未使用の BibTeX エントリ
  • 重複する BibTeX キー
  • 欠落している参考文献ファイル
  • 重複するラベル
  • 未定義の参照
  • 参照されていないラベル
  • ?? のような未解決の LaTeX プレースホルダーと [?] のような引用プレースホルダー

スクリプトが差し止めとなる問題を報告した場合は、ウェブメタデータチェックを行う前に、それらを修正または報告してください。TeX/BibTeX グラフが壊れている場合、メタデータ検証ははるかに役に立ちません。

ステップ 3 - 所見の分類

この重要度モデルを使用します。

  • blocking: 引用キーの欠落、BibTeX キーの重複、未定義の参照、ラベルの重複、無効な BibTeX 構造、引用された著作の壊れた DOI
  • important: メタデータの不一致、掲載場所/年の誤り、重複の可能性が高いエントリ、引用の主張が裏付けられていない、査読済みバージョンが引用されるべき場合に arXiv が引用されている
  • warning: 未使用の BibTeX エントリ、参照されていないラベル、一貫性のないキー命名、オプションの DOI/URL の欠落
  • note: スタイルのクリーンアップ、大文字小文字の修正、フィールドの正規化、BibTeX キーの名称変更の提案

ターゲットの掲載場所またはユーザーが最小限の参考文献を要求しない限り、未使用の BibTeX エントリを差し止めとして扱わないでください。

ステップ 4 - メタデータの検証

references/metadata-verification.md を読み込みます。

引用されたすべてのキーについて、利用可能な最良の識別子を検証します。

  • 出版社/CrossRef/doi.org を介した DOI
  • arXiv を介した arXiv ID
  • OpenReview を介した OpenReview URL またはフォーラム ID
  • NeurIPS、ICML、ICLR、ACL Anthology、CVF、ACM、IEEE、Springer、または PMLR の会議録 URL

以下をチェックします。

  • タイトル
  • 著者リストまたは筆頭著者 + 著者数
  • 掲載場所または出版状況
  • DOI/arXiv/OpenReview/会議録 URL
  • 査読済みバージョンが存在するかどうか

メタデータを検証できない場合は、推測するのではなく、明示的にマークしてください。

ステップ 5 - 引用の主張の監査

完全なガイダンスについては、references/citation-claim-audit.md を読み込みます。

各引用コンテキストについて、散文が引用に何を裏付けるよう求めているかを分類します。

  • 背景事実
  • 既存の先行手法
  • 最も関連性の高い研究
  • 実証結果
  • 理論的結果
  • データセットまたはベンチマーク
  • 否定的な主張または限界
  • 比較または最先端の主張

次に、引用された論文が実際にその役割を裏付けているかどうかを確認します。リスクの高い主張については、要約、序論、手法/結果セクション、必要に応じて PDF を検査します。

リスクの高いコンテキスト:

  • 「最初」、「唯一」、「最先端」、「著しく」、「証明可能に」、「保証する」
  • 論文の結果または限界に関する主張
  • ベースラインの選択を正当化するために使用される引用
  • 理論的仮定のために使用される引用
  • 貢献箇条書きまたは問題の動機付けにおける引用

科学的な主張を黙って書き換えないでください。引用が主張を裏付けていない場合は、以下のいずれかを提案してください。

  • 引用を置き換える
  • 主張を弱める
  • より具体的な引用を追加する
  • 主張を関連研究に移動する
  • 著者の確認が必要としてマークする

ステップ 6 - 安全な問題の修正

安全な自動修正:

  • レポートに欠落している .bib 拡張子の解決を追加する
  • 明らかに重複する BibTeX エントリは、完全に同一であることを確認した後にのみ削除する
  • タイトルの大文字小文字の括弧を正規化する
  • 検証済みの場合は、欠落している DOI/arXiv/URL フィールドを追加する
  • BibTeX フィールドのスペルを修正する
  • すべての TeX 呼び出しサイトが一貫して更新される場合にのみ、ラベルまたは引用キーの名前を変更する

決して自動修正しないこと:

  • 裏付けが曖昧な引用の主張
  • 科学的な違いを説明せずに、ある引用論文を別の引用論文に置き換えること
  • 複数のバージョンが存在する場合の掲載場所のステータス

(原文がここで切り詰められています)

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Citation Audit

Run a pre-submission audit of citations, BibTeX entries, and LaTeX cross-references. This skill is for checking correctness before submission, not for broad literature discovery.

Use this skill when a paper already has draft citations and the user wants confidence that:

  • every \cite{...} key in TeX exists in BibTeX
  • every BibTeX entry is syntactically valid and not duplicated
  • every \ref{...}, \cref{...}, \eqref{...}, \autoref{...} target exists
  • every \label{...} is unique and follows the local naming convention
  • DOI, arXiv, OpenReview, URL, title, author, year, and venue metadata match the real paper
  • citation claims in nearby prose are actually supported by the cited work
  • bibliography style is submission-ready

Pair this with submit-paper for the broader submission checklist. Pair it with research-project-memory when citation correctness issues should become blocking paper risks or actions.

Skill Directory Layout

<installed-skill-dir>/
├── SKILL.md
├── scripts/
│   └── audit_latex_refs.py
└── references/
    ├── citation-claim-audit.md
    ├── metadata-verification.md
    └── report-template.md

Progressive Loading

  • Always run scripts/audit_latex_refs.py for deterministic TeX/BibTeX/reference checks.
  • Read references/metadata-verification.md when checking DOI, arXiv, OpenReview, proceedings, or publisher metadata.
  • Read references/citation-claim-audit.md when the user asks whether citations support the claims made in the paper, or when doing a full pre-submission audit.
  • Use references/report-template.md for the final audit report.

Step 1 - Locate Paper Sources

Determine:

  • paper root
  • main TeX file
  • all included TeX files
  • BibTeX files referenced by \bibliography{...} or \addbibresource{...}
  • target venue and submission mode if obvious

Useful local checks:

find . -maxdepth 4 -name "*.tex" -o -name "*.bib"
find . -maxdepth 3 -name "main.tex" -o -name "paper.tex"

If the user provides a paper directory, use it. If no main file is provided, prefer main.tex, then paper.tex, then the TeX file containing \begin{document}.

Step 2 - Run Deterministic Local Audit

Run:

python3 <citation-audit-skill-dir>/scripts/audit_latex_refs.py --paper-dir "$PAPER_DIR" --main "$MAIN_TEX"

Use an absolute path to the installed skill script. Do not assume a Claude-specific install path.

The script checks:

  • included TeX file discovery
  • citation keys in \cite, \citet, \citep, \citealp, \citeauthor, \citeyear, \textcite, \parencite
  • BibTeX keys and basic syntax
  • missing citation keys
  • unused BibTeX entries
  • duplicate BibTeX keys
  • missing bibliography files
  • duplicate labels
  • undefined references
  • labels that are never referenced
  • unresolved LaTeX placeholders such as ?? and citation placeholders such as [?]

If the script reports blocking issues, fix or report those before doing web metadata checks. Metadata validation is much less useful if the TeX/BibTeX graph is broken.

Step 3 - Classify Findings

Use this severity model:

  • blocking: missing cited key, duplicate BibTeX key, undefined ref, duplicate label, invalid BibTeX structure, broken DOI for a cited work
  • important: metadata mismatch, wrong venue/year, likely duplicate entry, citation claim not supported, arXiv cited when peer-reviewed version should be cited
  • warning: unused BibTeX entry, unreferenced label, inconsistent key naming, missing optional DOI/URL
  • note: style cleanup, capitalization, field normalization, BibTeX key rename suggestion

Do not treat unused BibTeX entries as blocking unless the target venue or user requires a minimal bibliography.

Step 4 - Verify Metadata

Read references/metadata-verification.md.

For every cited key, verify the best available identifier:

  • DOI through publisher/CrossRef/doi.org
  • arXiv ID through arXiv
  • OpenReview URL or forum ID through OpenReview
  • proceedings URL for NeurIPS, ICML, ICLR, ACL Anthology, CVF, ACM, IEEE, Springer, or PMLR

Check:

  • title
  • author list or first author + author count
  • year
  • venue or publication status
  • DOI/arXiv/OpenReview/proceedings URL
  • whether a peer-reviewed version exists

When metadata cannot be verified, mark it explicitly instead of guessing.

Step 5 - Audit Citation Claims

Read references/citation-claim-audit.md for full guidance.

For each citation context, classify what the prose asks the citation to support:

  • background fact
  • prior method existence
  • closest related work
  • empirical result
  • theoretical result
  • dataset or benchmark
  • negative claim or limitation
  • comparison or state-of-the-art claim

Then check whether the cited paper actually supports that role. For high-risk claims, inspect the abstract, introduction, method/result section, and if needed the PDF.

High-risk contexts:

  • "first", "only", "state-of-the-art", "significantly", "provably", "guarantees"
  • claims about a paper's results or limitations
  • citations used to justify a baseline choice
  • citations used for theory assumptions
  • citations in contribution bullets or problem motivation

Do not silently rewrite scientific claims. If a citation does not support a claim, propose one of:

  • replace citation
  • weaken claim
  • add a more specific citation
  • move the claim to related work
  • mark as needing author confirmation

Step 6 - Fix Safe Issues

Safe auto-fixes:

  • add missing .bib extension resolution in the report
  • remove obvious duplicate BibTeX entries only after confirming they are truly identical
  • normalize capitalization braces in titles
  • add missing DOI/arXiv/URL fields when verified
  • fix BibTeX field spelling
  • rename labels or citation keys only if all TeX call sites are updated consistently

Never auto-fix:

  • citation claims whose support is ambiguous
  • substitution of one cited paper for another without explaining the scientific difference
  • venue status when multiple versions exist
  • author order if sources disagree

For any edit, keep the smallest possible diff.

Step 7 - Write the Audit Report

Use references/report-template.md.

The final report should include:

  • files checked
  • local TeX/BibTeX graph status
  • metadata verification status
  • citation-claim support status
  • blocking fixes required before submission
  • recommended non-blocking cleanup
  • unresolved items requiring author judgment

If the user asks for a saved report and gives no path, use:

docs/reports/citation_audit_YYYY-MM-DD.md

Step 8 - Final Sanity Check

Before finalizing:

  • all cited keys resolve to exactly one BibTeX entry
  • all required TeX references resolve to exactly one label
  • blocking citation/reference problems are tracked as actions when project memory exists

Step 9 - Write Back to Project Memory

If the project uses research-project-memory, update:

  • memory/risk-board.md: blocking or important citation, metadata, label, reference, or citation-claim risks
  • memory/action-board.md: concrete fixes for missing keys, metadata corrections, unsupported claims, or broken refs
  • memory/claim-board.md: claims that must be weakened because citations do not support them
  • paper/.agent/paper-status.md: citation-audit status and unresolved author decisions

Use observed for deterministic TeX/BibTeX graph findings and needs-verification for metadata or claim-support issues not fully checked.

  • every blocking metadata issue is fixed or explicitly listed
  • high-risk citation claims have been audited
  • unresolved citation correctness questions are not hidden
  • the final answer distinguishes deterministic script findings from web/semantic verification findings