Skip to content

brycewang-stanford/Auto-Empirical-Research-Skills / skills/41-sticerd-eee-sewage-econometrics-check/skills/validate-bib

validate-bib

Verified

Validate bibliography entries against citations in manuscript and Quarto book files. Find missing entries, unused references, potential typos, and quality issues. This skill should be used when asked to "check the bibliography", "validate citations", or "validate-bib".

Validate Bibliography

Cross-reference all citations in manuscript and book files against bibliography entries.


Workflow

Step 1: Read the bibliography

Read docs/overleaf/refs.bib and extract all citation keys.

Step 2: Scan all files for citation keys

  • .tex files in docs/overleaf/: look for \textcite{, \parencite{, \cite{, \citet{, \citep{, \citeauthor{, \citeyear{}
  • .qmd files in book/: look for @key, [@key], [@key1; @key2]
  • Extract all unique citation keys used

Step 3: Cross-reference

  • Missing entries (CRITICAL): Citations used in files but NOT in refs.bib
  • Unused entries (informational): Entries in refs.bib not cited anywhere
  • Potential typos: Similar-but-not-matching keys (Levenshtein distance)

Step 4: Check entry quality

For each bib entry:

  • Required fields present (author, title, year, journal/booktitle)
  • Author field properly formatted (Last, First and Last, First)
  • Year is reasonable (1900-2026)
  • No malformed characters or encoding issues
  • Entry type appropriate (@article, @incollection, @techreport, etc.)

Step 5: Report findings

## Bibliography Validation Report
**Date:** YYYY-MM-DD
**Bibliography:** docs/overleaf/refs.bib
**Total entries:** N
**Files scanned:** N .tex + N .qmd

### Missing Entries (CRITICAL)
| Citation Key | Used In | Line |
|-------------|---------|------|
| ... | ... | ... |

### Unused Entries
| Citation Key | Entry Type |
|-------------|------------|
| ... | ... |

### Potential Typos
| Used Key | Similar Bib Key | File |
|----------|----------------|------|
| ... | ... | ... |

### Quality Issues
| Citation Key | Issue |
|-------------|-------|
| ... | Missing journal field |

Files to scan

docs/overleaf/*.tex
book/*.qmd

Bibliography location

docs/overleaf/refs.bib
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall