بنقرة واحدة
bib-formatter
Formats, cleans, audits, and standardizes LaTeX .bib files for academic papers.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Formats, cleans, audits, and standardizes LaTeX .bib files for academic papers.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | bib-formatter |
| description | Formats, cleans, audits, and standardizes LaTeX .bib files for academic papers. |
| version | 1.0.0 |
| metadata | {"short-description":"Clean and audit BibTeX files","author":"Yang Liu (https://xueyuhanlang.github.io)"} |
Use this skill to clean, standardize, correct, and audit LaTeX bibliography files (.bib). The assistant should preserve BibTeX validity, minimize unnecessary changes, and produce a clear audit trail so the author can verify every modification.
This skill is for careful bibliography maintenance, not stylistic rewriting of paper text.
.bib file before editing.@string macros;\href conventions;bibrev.md audit log when file edits are made or when the user requests an audit.%.\href{url}{text} content unless the link or displayed title is being intentionally corrected.Check the @string macro preamble for established short names of journals and conferences, for example:
@string{TOG = "ACM Transactions on Graphics"}
Then scan journal and booktitle fields. If a field exactly or confidently matches an existing macro value, replace the string literal with the macro name without quotes or braces.
Example:
journal = "ACM Transactions on Graphics"
becomes:
journal = TOG
Do not create new macros unless the user asks.
For entries of type @misc, especially arXiv preprints:
bibrev.md;If the match is uncertain, do not upgrade automatically. Flag it for human review.
Scan each author field.
Apply capitalization fixes only when the correction is obvious:
alex liu -> Alex Liujohn chen -> John ChenFlag entries for human review when:
other, others, or et al.;Do not guess missing authors.
Title capitalization rules can break technical acronyms, method names, datasets, and proper nouns. Protect case-sensitive terms with braces.
Examples:
3D -> {3D}
CNN -> {CNN}
AI -> {AI}
ResNet -> {ResNet}
PointNet -> {PointNet}
Common terms to protect include:
2D, 3D, 4D;ResNet, PointNet, NeRF, CLIP, BERT, and GPT;CNN, GAN, SDF, RGB, RGB-D, SLAM, AI, and ML;When a term appears inside \href{url}{text}, avoid adding nested braces unless necessary and syntactically safe.
Standardize title capitalization only when the target style is clear from the bibliography or user request.
Default target style: academic Title Case.
Rules:
When the venue or bibliography style expects sentence case, preserve sentence case and only protect required acronyms.
Detect likely duplicates using normalized title and author fields.
If duplicates are found:
bibrev.md.Do not remove a duplicate if the entries may refer to distinct versions, such as a preprint and the final journal version, unless the relationship is clear.
Check whether entries include a reliable link through one of:
doi;url;eprint;archivePrefix;title containing \href.For entries without a link:
bibrev.md.Do not fabricate URLs.
Flag entries with missing or suspicious fields:
author;title;year;journal or booktitle for published papers;pages, volume, number, or doi;Adapt the output to the user's request.
If the user asks to modify a local .bib file or the task clearly implies direct editing:
.bib file in place;bibrev.md beside the .bib file unless the user asks for a different location;If the user asks for text output rather than file edits, return two clearly labeled Markdown code blocks:
Modified .bib File
bibtex code block.bibrev.md Revision Log
markdown code block.bibrev.md StructureThe revision log should contain:
# BibTeX Revision Log
## Summary
- Number of entries scanned:
- Number of entries modified:
- Number of entries flagged for review:
## Change Log
- Citation key:
- Change:
- Reason:
## Peer-Reviewed Version Audit
- Citation key:
- Finding:
- Action:
## Missing Link Audit
- Citation key:
- Issue:
- Suggested link:
- Confidence:
## Incomplete Author Flags
- Citation key:
- Issue:
- Required action:
## Duplicate Entry Audit
- Citation keys:
- Decision:
- Reason:
## Additional Recommendations
- Citation key:
- Recommendation:
Omit empty sections only when the output would otherwise be noisy.
Before finalizing:
.bib file accidentally.@string names.bibrev.md.Use a precise, conservative, audit-oriented voice. Be explicit about uncertainty. Do not overstate verification when links or publication status could not be checked.