brycewang-stanford

validate-bib

验证文献条目与讲课文件引用的一致性,查找缺失条目、未使用引用及潜在拼写错误。适用于检查学术讲课材料中的文献一致性。

brycewang-stanford 4,745 555 更新于 6个月前
GitHub

安装

npx skillscat add brycewang-stanford/auto-empirical-research-skills/validate-bib

通过 SkillsCat registry 安装。

技能简介

验证文献条目与讲课文件引用的一致性,查找缺失条目、未使用引用及潜在拼写错误。适用于检查学术讲课材料中的文献一致性。

SKILL.md

Validate Bibliography

Cross-reference all citations in lecture files against bibliography entries.

Steps

  1. Read the bibliography file and extract all citation keys

  2. Scan all lecture files for citation keys:

    • .tex files: look for \cite{, \citet{, \citep{, \citeauthor{, \citeyear{
    • .qmd files: look for @key, [@key], [@key1; @key2]
    • Extract all unique citation keys used
  3. Cross-reference:

    • Missing entries: Citations used in lectures but NOT in bibliography
    • Unused entries: Entries in bibliography not cited anywhere
    • Potential typos: Similar-but-not-matching keys
  4. Check entry quality for each bib entry:

    • Required fields present (author, title, year, journal/booktitle)
    • Author field properly formatted
    • Year is reasonable
    • No malformed characters or encoding issues
  5. Report findings:

    • List of missing bibliography entries (CRITICAL)
    • List of unused entries (informational)
    • List of potential typos in citation keys
    • List of quality issues

Files to scan:

Slides/*.tex
Quarto/*.qmd

Bibliography location:

Bibliography_base.bib  (repo root)

分类