Paper.fix figures

From gpsaggese/helpers · View interactive version

Paper.fix figures is an AI agent skill from the GitHub repository gpsaggese/helpers. Add labels, captions, and text references to every figure in a LaTeX paper

How to use this skill

Skill file

Check References

the text

Add Captions and Labels

the commented section.

````latex

% ```

% rendered_images:end

% render_images:begin

\begin{figure}[!ht]

\centering

\includegraphics[width=\linewidth]{figs/02_architecture.1.png}

\caption{Confounding adjustment in causal inference}

\label{fig:confounding_adjustment}

\end{figure}

% render_images:end

````

to

````latex

% ```

% caption=Confounding adjustment in causal inference

% label=fig:confounding_adjustment

% rendered_images:end

% render_images:begin

\begin{figure}[!ht]

\centering

\includegraphics[width=\linewidth]{figs/02_architecture.1.png}

\caption{Confounding adjustment in causal inference}

\label{fig:confounding_adjustment}

\end{figure}

% render_images:end

````

Create Labels and Captions From Scratch

context

caption=System architecture overview

Add References in the Text

near the most relevant paragraph:

```latex

(see Fig.~\ref{fig:confounding_adjustment})

```

Verify No Orphaned References

any figure or table environment

Verification

\label in any figure or table environment

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.