latex-cleanup
Review LaTeX documents for common issues, style consistency, typography, cross-references, draft artifacts, and debugging code.
Skill by yy
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/yy-latex-cleanup
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, design, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/latex-cleanup
What's inside
- Skill name
latex-cleanup- Description
- Review LaTeX documents for common issues, style consistency, typography, cross-references, draft artifacts, and debugging code. Use after editing LaTeX documents or before submission.
- License
- MIT
- Instructions
- 62 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Review LaTeX documents
Review technical correctness by default. Do not rewrite prose or modify files unless the user asks.
## Scope
Use a user-provided manuscript path when available. Otherwise, identify the build entrypoint from the project configuration and TeX structure. Follow `\input` and `\include` dependencies rather than reviewing only the main file.
Build with the project's normal entrypoint when possible. Inspect both the compilation log and rendered PDF; do not infer page-layout problems from source alone.
## Compilation and submission checks
- Compilation errors and missing source, bibliography, or figure files.
- Undefined references and citations, duplicate labels, and visible `??` markers.
- Overfull and underfull boxes, including their visible effect in the PDF.
- `draft` document-class or package options, `showkeys`, `lineno`, `\overfullrule`, and other debugging aids that should not ship.
- Document-class options, margins, and required front matter when venue requirements are available. Do not guess venue rules.
## Cross-references and floats
- Flag undefined, duplicate, unused, and broken cross-file labels.
- Verify that every figure and table is referenced in the text and that placement specifiers are reasonable.
- For each float family separately, compare float source order with the order in which labels are first referenced in manuscript reading order. Flag figures, tables, algorithms, or other floats first referenced out of sequence; do not impose one global order across float types.
- Inspect rendered pages for widows, orphans, awkward float placement, and obvious whitespace problems. Treat manual page breaks as a last resort rather than the default fix.
## LaTeX consistency
- Use non-breaking spaces before citations and references, between quantities and units, and after titles such as `Dr.~Smith`. Do not insert `~` before `\footnote{}`.
- Keep citation commands and grouping consistent with the project's citation style.
- Keep heading and caption capitalization, list punctuation, and forms such as `Figure` versus `Fig.` consistent. Spell out abbreviations at first use.
- Keep mathematical notation and variable names consistent. Use `\text{}` for words in subscripts, standard operators such as `\log` and `\Pr`, and `\operatorname{}` for custom operators.
- Typeset negative numbers in math mode. Keep reference forms such as `Section~\ref{}` versus `Sec.~\ref{}` consistent.
## Draft artifacts
- Flag `TODO`, `FIXME`, `XXX`, `HACK`, `TBD`, `PLACEHOLDER`, literal `Lorem ipsum`, `\lipsum`, `\todo`, `\note`, `\marginpar`, and similar draft material.
- Flag long commented-out sections and comments that are clearly stale or submission-facing. Do not treat ordinary explanatory comments as defects.
- Verify that URLs are valid and correctly escaped when link checking is in scope.
- Report unused packages or bibliography entries only when there is evidence they are unused; do not recommend speculative deletion.
## Typography and source formatting
- Use TeX opening and closing quotation marks for double and single quotes rather than straight quotes:
```latex
``double quoted text''
`single quoted text'
```
- Distinguish hyphens, en dashes, and em dashes. Do not put spaces around em dashes.
- Use `\ldots` or `\dots` for ellipses and escape `%`, `&`, `#`, `$`, and `_` where required.
- Keep one sentence per source line unless the project specifies another convention.
## Prose review when requested
Preserve the author's voice. Correct demonstrable errors in subject-verb agreement, articles, tense, modifiers, parallel structure, fragments, and run-on sentences. Check `which` versus `that`, `less` versus `fewer`, `between` versus `among`, and `compared to` versus `compared with` in context. Treat phrases such as `in order to`, `a total of`, and `the fact that` as compression candidates, not automatic substitutions.
## Report
Prioritize compilation failures, missing content, unresolved references, and submission blockers. Give a file and line for each source finding, cite log or rendered-page evidence when relevant, and propose a concrete fix. Separate demonstrated problems from preferences or venue-dependent judgments. Do not enumerate checks that passed unless the user requests a checklist.From yy/claude-scholar, MIT.
More from yy/claude-scholar
- 0.617score
openalex
yy
Query and analyze scholarly literature using the OpenAlex API.
SkillBFreshness: B★ 38Claude Code +9 - 0.615score
arxiv-prep
yy
Prepare a LaTeX paper's source package and metadata for arXiv.
SkillBFreshness: B★ 38Claude Code +9 - 0.570score
doi-bibtex
yy
Fetch a BibTeX citation from a DOI and optionally add it to a bibliography.
SkillCFreshness: C★ 38Claude Code +9 - 0.565score
check-refs
yy
Match references in a LaTeX paper against academic databases, flag entries that need review, and suggest missing DOIs or URLs.
SkillCFreshness: C★ 38Claude Code +9 - 0.565score
critique-figures
yy
Critique academic figures for print quality, accessibility, legibility, visual encoding, and statistical presentation.
SkillCFreshness: C★ 38Claude Code +9 - 0.565score
verify-math
yy
Verify algebra, calculus, identities, equation solving, and nontrivial derivation steps with SymPy.
SkillCFreshness: C★ 38Claude Code +9 - 0.565score
bib-doi-toggle
yy
Toggle DOI, URL, eprint, and ISBN display in a biblatex bibliography.
SkillCFreshness: C★ 38Claude Code +9 - 0.562score
critique-manuscript
yy
Critique an academic manuscript for novelty, methodological rigor, causal claims, data quality, generalizability, mechanism, and presentation.
SkillCFreshness: C★ 38Claude Code +9 - 0.562score
presubmit-checks
yy
Check a LaTeX paper before submission or circulation.
SkillCFreshness: C★ 38Claude Code +9 - 0.505score
arxiv-metadata
yy
Fetch structured metadata for an arXiv paper.
SkillDFreshness: D★ 38Claude Code +9 - 0.500score
accessible-pdf
yy
Make a LaTeX document produce accessible tagged PDFs (PDF/UA-1, PDF/A-2b).
SkillDFreshness: D★ 38Claude Code +9
Signals
- Stars
- 38
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jul 15, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/yy/claude-scholar
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from yy
- 0.617score
openalex
yy
Query and analyze scholarly literature using the OpenAlex API.
SkillBFreshness: B★ 38Claude Code +9 - 0.615score
arxiv-prep
yy
Prepare a LaTeX paper's source package and metadata for arXiv.
SkillBFreshness: B★ 38Claude Code +9 - 0.570score
doi-bibtex
yy
Fetch a BibTeX citation from a DOI and optionally add it to a bibliography.
SkillCFreshness: C★ 38Claude Code +9 - 0.565score
check-refs
yy
Match references in a LaTeX paper against academic databases, flag entries that need review, and suggest missing DOIs or URLs.
SkillCFreshness: C★ 38Claude Code +9 - 0.565score
critique-figures
yy
Critique academic figures for print quality, accessibility, legibility, visual encoding, and statistical presentation.
SkillCFreshness: C★ 38Claude Code +9 - 0.565score
verify-math
yy
Verify algebra, calculus, identities, equation solving, and nontrivial derivation steps with SymPy.
SkillCFreshness: C★ 38Claude Code +9
Cite this page
latex-cleanup skill. Agent Mart. https://agentmart.dev/skills/yy-latex-cleanup (last updated 2026-10-24)