From claude-thesis-writer
LaTeX formatting checker and corrector. Ensures figure placement, equation alignment, table formatting, cross-references, and units comply with thesis conventions.
npx claudepluginhub ccam80/thesis-writer --plugin claude-thesis-writerThis skill is limited to using the following tools:
This skill checks and corrects LaTeX formatting in thesis documents. It applies the formatting rules defined in the thesis conventions without changing the content or meaning of the text.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
This skill checks and corrects LaTeX formatting in thesis documents. It applies the formatting rules defined in the thesis conventions without changing the content or meaning of the text.
writer skill has produced LaTeX prose[tb] placement specifiers (never [h!] or [H])subcaption for subfigures\begin{figure}[tb]
\centering
\includegraphics[width=\columnwidth]{graphics/example}
\caption{Descriptive caption.}
\label{fig:example}
\end{figure>
Multi-line equations must align on the equals sign using align (never eqnarray):
\begin{align}
y &= mx + b \\
z &= ax^2 + bx + c
\end{align}
Use \left and \right for scalable delimiters:
\left( \frac{a}{b} \right)
All units must use siunitx:
\SI{5}{\kilo\hertz}
\SI{3.2}{\milli\volt}
\si{\meter\per\second}
\num{1.23e-4}
All cross-references must use cleveref:
\cref{fig:example} % figure 1
\Cref{fig:example} % Figure 1 (sentence start)
\cref{eq:rmssd} % equation (1)
\cref{tab:results} % table 1
\cref{sec:methods} % section 2.3
Use \toprule, \midrule, \bottomrule (never \hline):
\begin{table}[tb]
\centering
\caption{Caption above table.}
\label{tab:example}
\begin{tabular}{lcc}
\toprule
Parameter & Group A & Group B \\
\midrule
Mean & 0.42 & 0.38 \\
SD & 0.05 & 0.07 \\
\bottomrule
\end{tabular}
\end{table}
\small, \footnotesize etc.)\begin{figure}[tb]
\centering
\begin{subfigure}[b]{0.48\columnwidth}
\centering
\includegraphics[width=\textwidth]{graphics/fig_a}
\caption{First subfigure.}
\label{fig:sub_a}
\end{subfigure}
\hfill
\begin{subfigure}[b]{0.48\columnwidth}
\centering
\includegraphics[width=\textwidth]{graphics/fig_b}
\caption{Second subfigure.}
\label{fig:sub_b}
\end{subfigure}
\caption{Main figure caption.}
\label{fig:main}
\end{figure}
Before completing:
[tb] placementalign and align on =\left and \right where appropriate\SI{}{} or \si{}\cref{} / \Cref{}booktabs ruleseqnarray environments[h!] or [H] float specifiers.tex file(s)% TODO: comments for issues requiring author decision (e.g., ambiguous figure sizing)reviewer)The thesis uses a custom or institutional document class. Chapter files use subfiles for standalone compilation:
\documentclass[../main.tex]{subfiles}
\begin{document}
% chapter content
\end{document}
| Package | Options | Purpose |
|---|---|---|
graphicx | Figure inclusion | |
tikz | Figure markup and overlays | |
overpic | percent | LaTeX annotations on figures |
amsmath | Mathematics environments | |
amsfonts | Mathematical fonts | |
amssymb | Mathematical symbols | |
upgreek | Upright Greek letters (e.g., \upmu) | |
siunitx | Units and numbers | |
hyperref | Hyperlinks and PDF metadata | |
cleveref | capitalise | Smart cross-references |
subfiles | Standalone chapter compilation | |
booktabs | Professional table rules | |
subcaption | Subfigures | |
multirow | Table multirow cells | |
placeins | Float barriers (\FloatBarrier) | |
float | Float placement control |
\SI{value}{unit} for all quantities, \si{unit} for standalone unitspercent option so coordinates are 0–100 regardless of image size\upmu not \mu for unit prefixes (micro)\FloatBarrier before new sections to prevent floats drifting past section boundaries.tex can compile standalone with \documentclass[../main.tex]{subfiles}writer skill (LaTeX prose)reviewer skill for content and reference verification