From claude-thesis-writer
Checks and corrects LaTeX formatting for thesis documents, enforcing conventions on float placement, equation alignment, table styles, cross-references, and units via siunitx.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-thesis-writer:formatterThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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:rms} % 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 verificationnpx claudepluginhub ccam80/thesis-writer --plugin thesis-writerGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.
Dispatches multiple subagents concurrently for independent tasks without shared state. Use when facing 2+ unrelated failures or subsystems that can be investigated in parallel.