validate-biblisted
Install: claude install-skill groundnuty/agentic-repo-template
<!-- Adapted from pedrohcgs/claude-code-my-workflow (MIT), https://github.com/pedrohcgs/claude-code-my-workflow -->
# Validate Bibliography
Cross-reference citations in paper/manuscript files against bibliography entries. Two modes:
- **Default (structural):** missing entries, unused entries, malformed fields, typo candidates.
- **`--semantic`:** adds citation-drift detection (duplicate entries for the same paper), DOI verification via crossref, an existence + retraction pass (Crossref + OpenAlex), and citation-style consistency within each file.
Report saved to `.claude/session-reports/bib_audit_[structural|semantic].md`.
## Mode 1: Structural (default)
### Steps
1. **Read the bibliography file** and extract all citation keys.
2. **Scan paper/manuscript files for citation keys:**
- `.tex`: `\cite{`, `\citet{`, `\citep{`, `\citeauthor{`, `\citeyear{`, `\textcite{`, `\parencite{`
- `.qmd` / `.md`: `@key`, `[@key]`, `[@key1; @key2]`
- Extract all unique citation keys used.
3. **Cross-reference:**
- **Missing entries (CRITICAL):** cited in lectures, absent from `.bib`.
- **Unused entries (informational):** in `.bib` but never cited.
- **Typo candidates:** keys within edit-distance 2 of a `.bib` key (e.g., `Smith2020` vs `Smth2020`).
4. **Check entry quality:**
- Required fields present (author, title, year, journal/booktitle).
- Author field properly formatted.
- Year in 1900–current.
- No malformed characters / encoding issues.
- `doi