Skip to content
Back to skills

Validate Bib

ASecurity

Validate bibliography entries against citations in all lecture files. Find missing entries and unused references.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
researchpython

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add alohays/paper2pr --skill validate-bib --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Validate Bib?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Validate Bib
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/alohays-validate-bib/badge)](https://www.skillsdirectory.com/skills/alohays-validate-bib)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: validate-bib
description: Validate bibliography entries against citations in all lecture files. Find missing entries and unused references.
allowed-tools: ["Read", "Grep", "Glob"]
---

# 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 deck files for citation keys:**
   - `.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:
```
Quarto/*/*.qmd                    # decks are one level down, under their genre
Quarto/lectures/_series/*/*.qmd   # shared include slides, rendered into series decks
```
(`python3 scripts/deckpath.py --list` names every deck.)

## Bibliography location:
```
Bibliography_base.bib  (repo root)
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.