validate-bib · git:20260206.3956d12 · 2026-02-06 · sha256 c0bfb809c18c9617

validate-bib git:20260206.3956d12A

Immutable. This exact content never changes and is served at /api/v1/blob/c0bfb809c18c9617.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_qlpwr4nyngxqe726/c0bfb809c18c9617c0540179293efcc6a750f9d4fd02d3609355c62b551e5494.json

Then /plugin install validate-bib@markdownregistry-qlpwr4nyngxqe726 in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: validate-bib
description: Validate bibliography entries against citations in all lecture files. Find missing entries and unused references.
disable-model-invocation: true
---

# 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 lecture files for citation keys:**
   - `.tex` files: look for `\cite{`, `\citet{`, `\citep{`, `\citeauthor{`, `\citeyear{`
   - `.qmd` files: look for `@key`, `[@key]`, `[@key1; @key2]`
   - 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
   - **Potential typos:** Similar-but-not-matching keys

4. **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

5. **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)
```