Проверка библиографических ссылок в LaTeX и Markdown

general

validate-bib is a Claude Code skill that cross-references bibliography entries against citations used in lecture files — scanning `.tex`, `.qmd`, and `.md` sources for citation keys and comparing them with records in `Bibliography_base.bib`. The default structural mode flags missing entries, unused entries, malformed fields, and typo candidates (edit-distance ≤ 2), and checks required fields such as author, title, year, and journal. Adding `--semantic` enables duplicate-entry detection using DOI matching, case-insensitive title comparison, and Jaccard similarity; DOI verification against the Crossref API (capped at 50 lookups per run, results cached in `quality_reports/.doi_cache.json`); and citation-style consistency checks within each file. The optional `--cite-claim` flag fetches Crossref abstracts for the top-10 most-cited works per file to surface context for human review, without rendering any automated verdict. Reports are written to `quality_reports/bib_audit_[structural|semantic].md`; in semantic mode, any critical finding triggers exit 1, making the skill suitable as a pre-submission gate.