bib-formatter
Installation
SKILL.md
When to Use
- You have a bibliography in RIS/BibTeX/plain text/CSL-JSON and must reformat it to a journal style (e.g., NEJM, The Lancet, Nature) before submission.
- You need to switch in-text citation formatting (e.g., generating formatted citations for specific cite keys/IDs).
- You are consolidating references from multiple sources and want a single consistent output style.
- You want a before/after comparison to verify formatting changes and spot missing metadata.
- You need to validate and repair incomplete entries (missing authors, year, journal, pages, DOI/URL) prior to final export.
Key Features
- Supports input formats: RIS, BibTeX, plain text, CSL-JSON.
- Outputs bibliography entries compatible with CSL styles (including NEJM/Lancet/Nature or any custom
.csl). - Journal-name driven style selection with automatic CSL retrieval (exact match preferred; download first, then search fallback).
- Batch conversion via
scripts/format_bibliography.py. - In-text citation generation mode for specified cite keys/IDs.
- Produces a Markdown Before/After table (minimum 2 examples) for quick review.
- Detects entries that cannot be reliably parsed and requests missing fields.