This skill validates bibliography entries against citations in lecture files, identifying missing entries, unused references, potential typos, and entry quality issues. It scans .tex and .qmd files for citation keys and cross-references them with a .bib file. Use it when checking bibliography consistency in academic lecture materials.
Install
npx skillscat add brycewang-stanford/auto-empirical-research-skills/validate-bib Install via the SkillsCat registry.
This skill validates bibliography entries against citations in lecture files, identifying missing entries, unused references, potential typos, and entry quality issues. It scans .tex and .qmd files for citation keys and cross-references them with a .bib file. Use it when checking bibliography consistency in academic lecture materials.
Validate Bibliography
Cross-reference all citations in lecture files against bibliography entries.
Steps
Read the bibliography file and extract all citation keys
Scan all lecture files for citation keys:
.texfiles: look for\cite{,\citet{,\citep{,\citeauthor{,\citeyear{.qmdfiles: look for@key,[@key],[@key1; @key2]- Extract all unique citation keys used
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
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
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/*.qmdBibliography location:
Bibliography_base.bib (repo root)