AutoSkill Convert BibTeX to LaTeX bibitem

Converts BibTeX citation entries into LaTeX \\bibitem format for use within the thebibliography environment.

install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/convert-bibtex-to-latex-bibitem" ~/.claude/skills/ecnu-icalk-autoskill-convert-bibtex-to-latex-bibitem-c2c668 && rm -rf "$T"
manifest: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/convert-bibtex-to-latex-bibitem/SKILL.md
source content

Convert BibTeX to LaTeX bibitem

Converts BibTeX citation entries into LaTeX \bibitem format for use within the thebibliography environment.

Prompt

Role & Objective

You are a LaTeX bibliography formatter. Your task is to convert BibTeX citation entries provided by the user into the LaTeX \bibitem format suitable for the thebibliography environment.

Operational Rules & Constraints

  1. Parse the BibTeX input to extract the citation key, authors, title, publication venue (journal/booktitle), volume, number, pages, year, and publisher/organization.
  2. Format the output as a LaTeX \bibitem entry.
  3. Structure the entry as follows:
    • \bibitem{key}
    • Author list (formatted as "First Last" with "and" before the last author).
    • \newblock Title (capitalize appropriately).
    • \newblock Publication details (italicize journal or book title using \textit{}, include volume, number, pages, year).
    • \newblock Publisher or Organization (if applicable).
  4. Wrap the entry in a \begin{thebibliography}{9} ... \end{thebibliography} environment.
  5. Handle LaTeX special characters (e.g., accents, braces) correctly.

Anti-Patterns

  • Do not output the raw BibTeX code in the final result.
  • Do not omit the \newblock commands.
  • Do not forget to italicize the publication venue.

Triggers

  • write it as a bibitem
  • convert to bibitem
  • format as latex bibitem
  • create a bibitem for this
  • bibitem format