latex-difflisted
Install: claude install-skill flonat/flonat-research
# LaTeX Diff
> Compare two versions of a LaTeX document and report what actually changed —
> text, equations, citations, labels/refs, section titles, macros, environments,
> file add/remove, and moves — each graded by severity. Wraps the `latexdiff-agent`
> CLI (`packages/latex-diff`). Member of the `latex-*` source/build family.
## When to Use
- "What changed between these two versions of the paper?"
- Building an R&R "summary of changes" or a preprint vN→vN+1 changelog
- Focusing a re-review on the changes that matter (semantic-impact only)
- Sanity-checking a co-author's edits before merging
## When NOT to Use
- **Compiling** a document → `latex`
- **Prose quality / proofreading** → `proofread`
- A raw line diff is enough → `git diff` (this skill is LaTeX-aware: it knows a
changed `\cite` key from a reflowed paragraph)
## What it produces
Two views from the same canonical diff:
1. **Human summary** — grouped by file and section, every line carrying a change
`id`, a severity badge, and a `file:line` location.
2. **Machine-readable JSON** — severity-graded `ChangeRecord`s. `semantic_impact:
true` flags the changes a reviewer should actually read.
For a persistent run inside a research project, these are the mandatory core
files. Use one timestamp-only basename for the whole run:
```text
reviews/<scope>/<check>/<YYYY-MM-DD-HHMM>.md
reviews/<scope>/<check>/<YYYY-MM-DD-HHMM>.changes.json
```
Here and below, `<check>` is this skill's frontmatter `name`.
Co-lo