validate-bib
Validate Bibliography
Cross-reference all citations in lecture files against bibliography entries.
Steps
-
Read the bibliography file and extract all citation keys
-
Scan all document files for citation keys:
.texfiles: look for\cite{,\citet{,\citep{,\citeauthor{,\citeyear{.qmdfiles: look for@key,[@key],[@key1; @key2].typfiles: look for@keyreferences (Typst uses@keysyntax, no\citet/\citepdistinction)- Also check for
#bibliography("refs.bib")or#bibliography("refs.yml")(Hayagriva format) in.typfiles - Note: some Typst projects use inline links instead of bibliography — detect and report
- 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:
Slides/*.tex
Quarto/*.qmd
**/*.typ
Bibliography location:
Bibliography_base.bib (repo root)
More from clearsmog/claude-skills
typst
Syntax guide and ecosystem reference for writing Typst (.typ) files. Use this skill when writing, editing, or debugging Typst documents. Covers core syntax, common errors, packages, and best practices.
11image-search
Search the web for images (photos, logos, graphics) and download them with Typst embedding code. Use when the user needs real-world images, company logos, or existing graphics for documents.
3compile
Compile any supported file type. Detects format (.typ, .qmd, .py) and runs appropriate build command.
2qa
Adversarial quality audit loop. Critic finds issues, fixer applies fixes, loops until APPROVED (max 5 rounds). Works with any document format.
2learn
|
2deploy
Render and deploy documents to output directory for hosting. Supports Quarto slides and Typst PDFs.
2