agentleFS
arnabdeypolimiarnabdeypolimi/claude_code_setup/.claude/skills/latex-paper-en/SKILL.md

latex-paper-en

Skill4 starsChanged 6 months agoMITView on GitHub

English LaTeX academic paper assistant for existing `.tex` projects. Use this skill whenever the user wants to compile, lint, audit, or improve an English LaTeX conference or journal paper such as IEEE, ACM, Springer, NeurIPS, or ICML submissions. Trigger even when the user only mentions one paper issue, such as bibliography errors, grammar cleanup, sentence splitting, logic review, expression polishing, translation, title optimization, figure checks, pseudocode review, algorithm block cleanup, de-AI editing, or experiment-section review. Also trigger for "proofread my paper", "fix my LaTeX", "prepare for submission", "check my manuscript", "improve my writing", `algorithm2e`, `algorithmicx`, `algpseudocodex`, `Require/Ensure`, or "Algorithm 1" when the user has a .tex file.

4 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. 3 are common, 7 are distinctive, and 2 are very specific to this project.

  • 3

    Common

    Most of the 3 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Use this skill for targeted work on an existing English LaTeX paper project.

    line 13
  2. Very specific:

    Use this skill when the user has an existing English .tex paper project and wants help with:

    line 25
  3. Distinctive:

    Do not use this skill for:

    line 40
  4. Distinctive:

    If arguments are missing, ask only for the file path and the target module.

    line 75
  5. Distinctive:

    Keep comments surgical and source-aware.

    line 80
  6. Distinctive:

    Read only the reference file needed for that module.

    line 87
  7. Very specific:

    Run the module script with uv run python -B ....

    line 88
  8. Distinctive:

    If the user asks for a different concern, switch modules instead of overloading one run.

    line 90
  9. Common:

    Never invent citations, metrics, baselines, or experimental results.

    line 94
  10. Distinctive:

    Never rewrite bibliography keys, references, labels, or math by default.

    line 95
  11. Distinctive:

    Treat generated text as proposals.

    line 96
  12. Common:

    Read only the file that matches the active module.

    line 107

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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 Academic Paper Assistant (English)

Use this skill for targeted work on an existing English LaTeX paper project. Keep the workflow low-friction: identify the right module, run the smallest useful check, and return actionable comments in LaTeX-friendly review format.

Capability Summary

  • Compile and diagnose LaTeX build failures.
  • Audit formatting, bibliography, grammar, sentence length, argument logic, and figure quality.
  • Review IEEE-style pseudocode blocks, figure-wrapped algorithms, captions, labels, comments, and algorithm package choices.
  • Improve expression, translate academic prose, optimize titles, and reduce AI-writing traces.
  • Review experiment sections without rewriting citations, labels, or math.

Triggering

Use this skill when the user has an existing English .tex paper project and wants help with:

  • compiling or fixing build errors
  • format or venue compliance
  • bibliography and citation validation
  • grammar, sentence, logic, or expression review
  • translation of academic prose
  • title optimization
  • figure or caption quality checks
  • pseudocode and algorithm-block review
  • de-AI editing of visible prose
  • experiment-section analysis

Do Not Use

Do not use this skill for:

  • planning or drafting a paper from scratch
  • deep literature research or fact-finding without a paper project
  • Chinese thesis-specific structure/template work
  • Typst-first paper workflows
  • DOCX/PDF conversion tasks that do not involve the LaTeX source
  • multi-perspective review, scoring, or submission gate decisions (use paper-audit)
  • standalone algorithm design from scratch without a paper project

Module Router

ModuleUse whenPrimary commandRead next
compileBuild fails or the user wants a fresh compileuv run python -B $SKILL_DIR/scripts/compile.py main.texreferences/modules/COMPILE.md
formatUser asks for LaTeX or venue formatting reviewuv run python -B $SKILL_DIR/scripts/check_format.py main.texreferences/modules/FORMAT.md
bibliographyMissing citations, unused entries, BibTeX validationuv run python -B $SKILL_DIR/scripts/verify_bib.py references.bib --tex main.texreferences/modules/BIBLIOGRAPHY.md
grammarGrammar and surface-level language fixesuv run python -B $SKILL_DIR/scripts/analyze_grammar.py main.tex --section introductionreferences/modules/GRAMMAR.md
sentencesLong, dense, or hard-to-read sentencesuv run python -B $SKILL_DIR/scripts/analyze_sentences.py main.tex --section introductionreferences/modules/SENTENCES.md
logicWeak argument flow, unclear transitions, introduction funnel problems, or abstract/conclusion misalignmentuv run python -B $SKILL_DIR/scripts/analyze_logic.py main.tex --section methodsreferences/modules/LOGIC.md
expressionAcademic tone polish without changing claimsuv run python -B $SKILL_DIR/scripts/improve_expression.py main.tex --section relatedreferences/modules/EXPRESSION.md
translationChinese-to-English academic translation or bilingual polishinguv run python -B $SKILL_DIR/scripts/translate_academic.py input.txt --domain deep-learningreferences/modules/TRANSLATION.md
titleGenerate, compare, or optimize paper titlesuv run python -B $SKILL_DIR/scripts/optimize_title.py main.tex --checkreferences/modules/TITLE.md
figuresFigure existence, extension, DPI, or caption reviewuv run python -B $SKILL_DIR/scripts/check_figures.py main.texreferences/REVIEWER_PERSPECTIVE.md
pseudocodeIEEE-safe pseudocode review, algorithm2e cleanup, caption/label/reference checks, and comment-length reviewuv run python -B $SKILL_DIR/scripts/check_pseudocode.py main.tex --venue ieeereferences/modules/PSEUDOCODE.md
deaiReduce AI-writing traces while preserving LaTeX syntaxuv run python -B $SKILL_DIR/scripts/deai_check.py main.tex --section introductionreferences/modules/DEAI.md
experimentInspect experiment design/write-up quality, discussion depth, discussion layering, and conclusion completenessuv run python -B $SKILL_DIR/scripts/analyze_experiment.py main.tex --section experimentsreferences/modules/EXPERIMENT.md

Required Inputs

  • main.tex or the paper entrypoint.
  • Optional --section SECTION when the request is section-specific.
  • Optional bibliography path when the request targets references.
  • Optional venue/context when the user cares about IEEE, ACM, Springer, NeurIPS, or ICML conventions.

If arguments are missing, ask only for the file path and the target module.

Output Contract

  • Return findings in LaTeX diff-comment style whenever possible: % MODULE (Line N) [Severity] [Priority]: Issue ...
  • Keep comments surgical and source-aware.
  • Report the exact command used and the exit code when a script fails.
  • Preserve \cite{}, \ref{}, \label{}, custom macros, and math environments unless the user explicitly asks for source edits.

Workflow

  1. Parse $ARGUMENTS and identify the smallest matching module.
  2. Read only the reference file needed for that module.
  3. Run the module script with uv run python -B ....
  4. Summarize issues, suggested fixes, and blockers in LaTeX-friendly comments.
  5. If the user asks for a different concern, switch modules instead of overloading one run.

Safety Boundaries

  • Never invent citations, metrics, baselines, or experimental results.
  • Never rewrite bibliography keys, references, labels, or math by default.
  • Treat generated text as proposals; keep source-preserving checks separate from prose rewriting.

Reference Map

  • references/STYLE_GUIDE.md: tone and style defaults.
  • references/VENUES.md: venue-specific expectations.
  • references/CITATION_VERIFICATION.md: citation verification workflow.
  • references/REVIEWER_PERSPECTIVE.md: reviewer-style heuristics for figures and clarity.
  • references/modules/: module-by-module commands and decision notes.
  • references/modules/PSEUDOCODE.md: IEEE-safe defaults for LaTeX pseudocode.

Read only the file that matches the active module.

Example Requests

  • “Compile my IEEE paper and tell me why main.tex still fails after BibTeX.”
  • “Check the introduction section for grammar and sentence length, but do not rewrite equations.”
  • “Audit figures and references in this ACM submission before I submit.”
  • “Check whether this IEEE pseudocode still uses algorithm2e floats and tell me how to make it IEEE-safe.”
  • “Review the experiments section for overclaiming, missing ablations, and weak baseline comparisons.”

See examples/ for complete request-to-command walkthroughs.

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.