agentleFS
amirrezaalastiamirrezaalasti/codescribe/skills/writing/latex-scientific-writing/SKILL.md

latex-scientific-writing

Skill2 starsChanged 4 months agoMITView on GitHub

Author scientific LaTeX cleanly with solid sectioning, figures/tables, cross-references, and BibTeX hygiene while avoiding AI-slop phrasing. Use when writing or editing LaTeX papers, .tex/.bib files, Overleaf projects, figures, tables, or bibliography issues in academic manuscripts.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prefer \label/\ref/\cref (if cleveref is used) over hard-coded numbers

    line 20
  2. Very specific:

    Respect the template: Do not fight class options.

    line 26
  3. Very specific:

    Semantic structure: Use \section hierarchy consistently.

    line 27
  4. Very specific:

    Tables: Prefer booktabs rules when the template allows.

    line 39
  5. Distinctive:

    Verify titles, years, venues, DOIs

    line 46
  6. Distinctive:

    Remove unused entries before camera-ready if required

    line 48
  7. Very specific:

    Never invent .bib entries

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LaTeX Scientific Writing

Defaults

  • Match the venue class/style file (acmart, IEEEtran, article, …)
  • Prefer \label/\ref/\cref (if cleveref is used) over hard-coded numbers
  • Bibliography via BibTeX/BibLaTeX as the project already does
  • Figures: PDF/PNG as required; always include captions and labels

Instructions

  1. Respect the template. Do not fight class options; put macros in a small macros.tex if the project allows.
  2. Semantic structure. Use \section hierarchy consistently; avoid manual spacing hacks (\vspace) unless fixing a known template issue.
  3. Floats.
\begin{figure}[t]
  \centering
  \includegraphics[width=\linewidth]{fig/overview.pdf}
  \caption{Overview of the proposed method.}
  \label{fig:overview}
\end{figure}
  1. Tables. Prefer booktabs rules when the template allows; align numbers; define abbreviations in the caption or a footnote.
  2. Citations. One BibTeX entry per work; fix keys to stable ids (authorYEARkeyword). Cite with context — not “(Smith, 2020)” alone as a sentence.
  3. Math. Define symbols once; prefer align/equation over arrays of $$ if amsmath is available.
  4. Prose quality. Cut stock AI phrases (“delve”, “landscape”, “robust suite”, “underscore the importance”) unless the author’s voice already uses them. Prefer concrete verbs.

BibTeX hygiene

  • Verify titles, years, venues, DOIs
  • Consistent capitalization with venue style (title case protection {CNN})
  • Remove unused entries before camera-ready if required
  • Never invent .bib entries

Anti-patterns

  • Hard-coded “Figure 3” instead of \ref
  • Huge figures without \linewidth scaling
  • Manual bibliography lists when .bib exists
  • Copy-pasting Unicode dashes/quotes that break latex

Additional resources

  • references/checklist.md
  • assets/section-stubs.tex

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.