BibTeX Reference Management
Scope
Use this skill to improve citation hygiene and BibTeX quality.
Goals:
- •Ensure every
\\cite{}key exists in.bib. - •Ensure
.bibentries are complete and consistently formatted. - •Prevent casing issues in titles.
Workflow
- •
Inventory
- •Find all
\\cite{...}occurrences. - •Extract citation keys.
- •List
.bibfiles used by the project.
- •Find all
- •
Consistency checks
- •Missing entries: cited keys not present in any
.bib. - •Unused entries: BibTeX keys never cited (optional cleanup).
- •Duplicate keys: same key defined more than once.
- •Missing entries: cited keys not present in any
- •
Normalize entries
- •Use consistent key naming.
- •Ensure required fields per entry type.
- •Protect proper nouns/acronyms with
{}.
Key Naming Convention
Default suggestion (adjust if repo already uses a convention):
- •
surnameYEARkeyword(e.g.,smith2022transformers) - •Keep lowercase; avoid punctuation.
Required Fields (quick reference)
- •
@article:author,title,journal,year(+volume/number/pages/doiwhen available) - •
@inproceedings:author,title,booktitle,year(+pages/doi) - •
@book:author/editor,title,publisher,year(+edition/addressdepending on style) - •
@misc: use sparingly; prefer@onlineonly if your style supports it.
Title Casing Protection
Use braces to preserve casing:
- •
{GPU}notGPU - •
{Bayesian}notBayesian(if style downcases titles) - •Product names:
{Node.js},{React}
Practical Rules
- •Prefer DOI when available.
- •Ensure author names are “Last, First and Last, First”.
- •Keep URLs stable; add
urldateif style uses it.
When Information Is Missing
- •If a paper is referenced but metadata is incomplete, request the DOI/URL from the user.
- •If the user wants you to proceed, add a clearly marked placeholder field and leave a TODO.
Output Hygiene
- •Avoid inventing bibliographic details.
- •If you must approximate (e.g., missing pages), explicitly flag as TODO.