validate-bib
Validate bibliography entries against citations in all lecture files. Find missing entries and unused references.
SKILL.md.claude/skills/validate-bib/SKILL.md
GitHubValidate Bibliography
Cross-reference all citations in lecture files against bibliography entries.
Steps
Read the bibliography file and extract all citation keys
Scan all deck files for citation keys:
.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:
Quarto/*/*.qmd # decks are one level down, under their genre
Quarto/lectures/_series/*/*.qmd # shared include slides, rendered into series decks
(python3 scripts/deckpath.py --list names every deck.)
Bibliography location:
Bibliography_base.bib (repo root)