validate-bib

Installation
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 document files for citation keys:

    • .tex files: look for \cite{, \citet{, \citep{, \citeauthor{, \citeyear{
    • .qmd files: look for @key, [@key], [@key1; @key2]
    • .typ files: look for @key references (Typst uses @key syntax, no \citet/\citep distinction)
    • Also check for #bibliography("refs.bib") or #bibliography("refs.yml") (Hayagriva format) in .typ files
    • Note: some Typst projects use inline links instead of bibliography — detect and report
    • 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
Related skills
Installs
2
GitHub Stars
2
First Seen
Mar 10, 2026