Awesome-Agent-Skills-for-Empirical-Research validate-bib
Validate bibliography entries against citations in all source files. Find missing entries and unused references. Make sure to use this skill whenever the user has any concern about bibliography completeness or citation keys. Triggers include: "validate my bib", "check my citations", "find missing references", "I'm getting undefined citation errors", "are all my citations in the bib file", "check for unused references", "my bibliography is broken", "missing bib entries", "citation not found", or after adding new references from a lit review or before submission.
git clone https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research
T=$(mktemp -d) && git clone --depth=1 https://github.com/brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/15-Felpix-Studios-social-science-research/skills/validate-bib" ~/.claude/skills/brycewang-stanford-awesome-agent-skills-for-empirical-research-validate-bib-7c3c12 && rm -rf "$T"
skills/15-Felpix-Studios-social-science-research/skills/validate-bib/SKILL.mdValidate Bibliography
Cross-reference all citations in source files against bibliography entries.
Steps
-
Read the bibliography file and extract all citation keys
-
Scan all source files for citation keys:
files: look for.tex
,\cite{
,\citet{
,\citep{
,\citeauthor{\citeyear{
files: look for.qmd
,@key
,[@key][@key1; @key2]- Extract all unique citation keys used
-
Cross-reference:
- Missing entries: Citations used in source files 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:
manuscripts/**/*.tex Quarto/**/*.qmd
Bibliography location:
Bibliography_base.bib (repo root)