skills/43-wentorai-research-plugins/skills/writing/latex/bibliography-management-guide/SKILL.md
Manage references with BibLaTeX, natbib, and LaTeX bibliography styles
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research bibliography-management-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
A skill for managing references in LaTeX using BibLaTeX, natbib, and traditional BibTeX. Covers bibliography database setup, citation commands, style selection, and troubleshooting common bibliography compilation issues.
| Feature | BibLaTeX + Biber | natbib + BibTeX | Traditional BibTeX | |---------|-----------------|----------------|-------------------| | Backend | Biber | BibTeX | BibTeX | | Unicode support | Full | Limited | Limited | | Citation styles | Highly customizable | Style-dependent | .bst files | | Multi-bibliography | Built-in | Requires hacks | Difficult | | Date handling | Advanced (circa, ranges) | Basic | Basic | | Recommended for | New projects | Legacy journals | Minimal setups |
\documentclass{article}
\usepackage[
backend=biber,
style=authoryear, % or numeric, apa, ieee, chem-acs, etc.
sorting=nyt, % name, year, title
maxcitenames=2, % "Author et al." after 2 names
giveninits=true % First name initials
]{biblatex}
\addbibresource{references.bib}
\begin{document}
Some claim \parencite{smith2024}.
\textcite{jones2023} disagrees.
\printbibliography
\end{document}
\parencite{key} % (Author, 2024)
\textcite{key} % Author (2024)
\autocite{key} % Context-dependent (adapts to style)
\cite{key} % Basic cite (style-dependent)
\footcite{key} % Citation in footnote
\cites{k1}{k2} % Multiple sources: (Author1; Author2)
\parencite[p.~42]{key} % With page number: (Author, 2024, p. 42)
\parencite[see][]{key} % With prefix: (see Author, 2024)
\nocite{key} % Add to bibliography without citing in text
\nocite{*} % Include ALL entries from .bib file
authoryear -- Smith (2024), standard humanities/social science
numeric -- [1], standard science/engineering
apa -- APA 7th edition (requires biblatex-apa package)
ieee -- IEEE numbered style
chem-acs -- American Chemical Society
phys -- Physical Review style
chicago -- Chicago Manual of Style
mla -- Modern Language Association
@article{smith2024attention,
author = {Smith, Jane A. and Doe, John B.},
title = {Attention Mechanisms in Transformer Models},
journal = {Journal of Machine Learning Research},
year = {2024},
volume = {25},
number = {3},
pages = {1--45},
doi = {10.1234/jmlr.2024.001}
}
@inproceedings{jones2023deep,
author = {Jones, Robert and Lee, Min},
title = {Deep Reinforcement Learning for Robotics},
booktitle = {Proceedings of the International Conference on Robotics},
year = {2023},
pages = {112--120},
publisher = {IEEE}
}
@book{garcia2022methods,
author = {Garcia, Maria},
title = {Research Methods in Social Science},
publisher = {Academic Press},
year = {2022},
edition = {4th},
address = {New York}
}
@phdthesis{chen2023optimization,
author = {Chen, Wei},
title = {Optimization Algorithms for Large-Scale Systems},
school = {Massachusetts Institute of Technology},
year = {2023}
}
\documentclass{article}
\usepackage[round, sort&compress]{natbib}
\bibliographystyle{plainnat} % or abbrvnat, unsrtnat, agsm, etc.
\begin{document}
Results were significant \citep{smith2024}.
\citet{jones2023} proposed a new framework.
\bibliography{references}
\end{document}
\citet{key} % Author (2024) -- textual
\citep{key} % (Author, 2024) -- parenthetical
\citet*{key} % All authors in text
\citep*{key} % All authors in parens
\citealt{key} % Author 2024 -- no parentheses
\citealp{key} % Author, 2024 -- no parentheses
\citep[p.~5]{key} % (Author, 2024, p. 5)
# BibLaTeX with Biber:
pdflatex manuscript.tex
biber manuscript
pdflatex manuscript.tex
pdflatex manuscript.tex
# natbib/BibTeX:
pdflatex manuscript.tex
bibtex manuscript
pdflatex manuscript.tex
pdflatex manuscript.tex
# With latexmk (handles all passes automatically):
latexmk -pdf manuscript.tex
Problem: "Citation undefined" warning
Cause: Biber/BibTeX has not been run, or key is misspelled
Fix: Run the full compilation chain; check .bib for matching key
Problem: Bibliography not appearing
Cause: Missing \printbibliography or \bibliography command
Fix: Add the appropriate command at the end of the document
Problem: "I found no \citation commands"
Cause: .aux file is stale or no \cite commands in the document
Fix: Delete .aux, .bbl, .bcf files and recompile from scratch
Problem: Unicode characters causing errors with BibTeX
Cause: BibTeX does not support Unicode natively
Fix: Switch to BibLaTeX + Biber, or use LaTeX escapes (\"o, \'{e})
Problem: Wrong citation style
Cause: Conflicting style options or wrong .bst file
Fix: Verify style= option matches your target journal requirements
biber --validate-datamodel manuscript before submissiondevelopment
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.