Agent skill
validate-bib
Validate bibliography entries against citations in all lecture files. Find missing entries and unused references.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/validate-bib-alohays-paper2pr
SKILL.md
Validate Bibliography
Cross-reference all citations in lecture files against bibliography entries.
Steps
-
Read the bibliography file and extract all citation keys
-
Scan all lecture files for citation keys:
.texfiles: look for\cite{,\citet{,\citep{,\citeauthor{,\citeyear{.qmdfiles: look for@key,[@key],[@key1; @key2]- 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
Bibliography location:
Bibliography_base.bib (repo root)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?