From paper
Scaffold a new scientific-paper repository: paper.tex skeleton, journal class file (MNRAS / A&A / ApJ), Makefile, .gitignore, README, LICENSE, empty references.bib, figures/ + scripts/ directories, and placeholder figure PNGs so the document compiles immediately.
How this skill is triggered — by the user, by Claude, or both
Slash command
/paper:scaffold <path> [--journal=mnras|aa|apj] [--title="..."] [--author="..."]<path> [--journal=mnras|aa|apj] [--title="..."] [--author="..."]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bootstrap a new LaTeX paper repo with the recommended layout (see
Bootstrap a new LaTeX paper repo with the recommended layout (see
/paper:explain). Output: a <path>/ directory that compiles cleanly
to paper.pdf from minute zero, with all the build infrastructure in
place so the user can immediately start writing.
Arguments in $ARGUMENTS:
$0 — target directory (e.g. ~/GitHub/my-new-paper). Created if
missing.--journal=mnras|aa|apj — journal style (default mnras).--title="..." — paper title (defaults to placeholder).--author="..." — first-author name (defaults to \\author{TBD}).Create the directory + initialise git if not already.
Create subdirs: figures/, scripts/.
Fetch the journal class file + bibstyle. From CTAN mirrors:
# mnras
curl -sSL -o mnras.cls "https://mirrors.ctan.org/macros/latex/contrib/mnras/mnras.cls"
curl -sSL -o mnras.bst "https://mirrors.ctan.org/macros/latex/contrib/mnras/mnras.bst"
# aa
curl -sSL -o aa.cls "https://mirrors.ctan.org/macros/latex/contrib/aa/aa.cls"
curl -sSL -o aa.bst "https://mirrors.ctan.org/macros/latex/contrib/aa/aa.bst"
For ApJ / AAS, ask the user to manually download aastex631.cls
from https://journals.aas.org/aastexguide/.
Write paper.tex from the journal-specific skeleton in
/paper:explain (look there for the exact preamble). Default
sections: Abstract (no citations), Introduction, Methods,
Results, Discussion, Acknowledgements, Data Availability,
Bibliography. Include the TikZ preamble even if not used yet.
Write references.bib — empty placeholder with a header
comment.
Write Makefile with targets all, figs, clean,
distclean, help (see /paper:explain for the template).
Write .gitignore with the standard LaTeX + Python ignore
pattern.
Write LICENSE (default MIT, ask the user if they prefer
otherwise).
Write README.md with build instructions (make figs,
make, dependencies).
Generate placeholder figures so latex compiles. For each
\includegraphics in the skeleton, emit a 6x4 PNG with the
filename as the placeholder text. Use the recipe in
/paper:explain.
Verify with latexmk -pdf -interaction=nonstopmode paper.tex.
Expect zero errors, undefined-reference warnings (because
references.bib is empty) are OK.
Report back:
paper.pdf page count + size/paper:refs <topic1> <topic2> ... to populate bibtexpaper.tex to fill in content/paper:build for incremental rebuildsmirrors.ctan.org times out, fall
back to a specific mirror like mirror.ctan.org or
texlive.info. The mnras.cls is in texlive so any TeX Live
install also has it (kpsewhich mnras.cls) — vendoring is for
reproducibility.<path> already has a paper.tex,
STOP and ask the user before overwriting.[a4paper, fleqn, usenatbib]; the class compiles but renders
weirdly without usenatbib.Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub borisbolliet/paper-claude-plugin --plugin paper