Validate bib
Validate bibliography entries against citations in all lecture files. Find missing entries and unused references.From its SKILL.md
npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill validate-bibAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.4 KB, 302 tokens by cl100k_base, as published. Nobody here has run it
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/*.qmd
Bibliography location:
Bibliography_base.bib (repo root)
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.