skills/43-wentorai-research-plugins/skills/writing/latex/overleaf-collaboration-guide/SKILL.md
Guide to collaborative LaTeX editing with Overleaf
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research overleaf-collaboration-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Set up and manage collaborative LaTeX projects on Overleaf with best practices for multi-author workflows, version control, and project organization.
Overleaf (overleaf.com) is a browser-based LaTeX editor that provides real-time collaboration, automatic compilation, and integrated version history.
Project creation options:
| Method | When to Use | |--------|-------------| | Blank project | Starting from scratch | | Upload project | Migrating existing local LaTeX project | | Import from GitHub | Existing repo-based project | | Use a template | Conference/journal submissions (IEEE, ACM, Springer, Elsevier templates available) | | Copy from existing | Forking a previous project |
project-root/
├── main.tex # Main document (entry point)
├── preamble.tex # Packages, macros, custom commands
├── sections/
│ ├── 01-introduction.tex
│ ├── 02-related-work.tex
│ ├── 03-methods.tex
│ ├── 04-results.tex
│ ├── 05-discussion.tex
│ └── 06-conclusion.tex
├── figures/
│ ├── fig1-overview.pdf
│ ├── fig2-results.pdf
│ └── fig3-comparison.pdf
├── tables/
│ └── results-table.tex
├── references.bib # Bibliography database
└── README.md # Project notes (not compiled)
% main.tex
\documentclass[conference]{IEEEtran} % or article, etc.
\input{preamble} % load packages and macros
\begin{document}
\title{Your Paper Title}
\author{Author One \and Author Two \and Author Three}
\maketitle
\begin{abstract}
Your abstract here.
\end{abstract}
\input{sections/01-introduction}
\input{sections/02-related-work}
\input{sections/03-methods}
\input{sections/04-results}
\input{sections/05-discussion}
\input{sections/06-conclusion}
\bibliographystyle{IEEEtran}
\bibliography{references}
\end{document}
| Role | Capabilities | |------|-------------| | Owner | Full control, can delete project, manage collaborators | | Editor | Can edit all files, cannot manage collaborators | | Viewer | Read-only access, can download but not modify |
Share via:
.tex files to minimize merge conflicts.% TODO: revise this paragraph) and threaded review comments.% In preamble.tex, define author-specific annotation commands
\usepackage{xcolor}
\newcommand{\alice}[1]{\textcolor{blue}{[Alice: #1]}}
\newcommand{\bob}[1]{\textcolor{red}{[Bob: #1]}}
\newcommand{\todo}[1]{\textcolor{orange}{[TODO: #1]}}
% In text:
This result is surprising \alice{Should we add more analysis here?}
and warrants further investigation \todo{Add statistical test}.
changes package:\usepackage{changes}
\definechangesauthor[name={Alice}, color=blue]{AL}
\definechangesauthor[name={Bob}, color=red]{BO}
% Usage:
\added[id=AL]{This is new text added by Alice.}
\deleted[id=BO]{This text was removed by Bob.}
\replaced[id=AL]{new text}{old text}
Overleaf Premium supports bidirectional GitHub sync:
# Clone your Overleaf project via git
git clone https://git.overleaf.com/YOUR_PROJECT_ID my-paper
cd my-paper
# Edit locally, then push back to Overleaf
git add -A
git commit -m "Updated results table"
git push origin master
# Pull changes made on Overleaf
git pull origin master
Credentials: Use your Overleaf email as username and an Overleaf-generated token as password.
| Error | Cause | Fix |
|-------|-------|-----|
| Undefined control sequence | Missing package or typo in command | Check \usepackage or spelling |
| Missing $ inserted | Math symbol outside math mode | Wrap in $...$ or \text{...} |
| File not found | Incorrect path in \input or \includegraphics | Check file names (case-sensitive on Overleaf) |
| Overfull \hbox | Content too wide for column | Resize figure, adjust text, or add \sloppy |
| Citation undefined | BibTeX entry missing or key mismatch | Verify .bib entry key matches \cite{} |
\listfiles in preamble to see which packages are loaded.tex file.# Use latexpand to flatten \input commands
latexpand main.tex > submission.tex
% Add to preamble for submission: disable all annotation commands
\renewcommand{\alice}[1]{}
\renewcommand{\bob}[1]{}
\renewcommand{\todo}[1]{}
| Action | Shortcut (Mac) | Shortcut (Windows) | |--------|---------------|-------------------| | Compile | Cmd+Enter | Ctrl+Enter | | Bold | Cmd+B | Ctrl+B | | Italic | Cmd+I | Ctrl+I | | Comment toggle | Cmd+/ | Ctrl+/ | | Find & replace | Cmd+H | Ctrl+H | | Go to line | Cmd+Shift+L | Ctrl+Shift+L | | Toggle PDF | Cmd+Shift+O | Ctrl+Shift+O |
development
Conduct rigorous thematic analysis (TA) of qualitative data following Braun and Clarke's (2006) six-phase framework. Use whenever the user mentions 'thematic analysis', 'TA', 'Braun and Clarke', 'qualitative coding', 'identifying themes', or asks for help analysing interviews, focus groups, open-ended survey responses, or transcripts to identify patterns. Also trigger for questions about inductive vs theoretical coding, semantic vs latent themes, essentialist vs constructionist epistemology, building a thematic map, or writing up a qualitative findings section. Covers all six phases, the four upfront analytic decisions, the 15-point quality checklist, and the five common pitfalls. Produces a Word document write-up and an annotated thematic map. Does NOT cover IPA, grounded theory, discourse analysis, conversation analysis, or narrative analysis — use a different method for those.
development
Guide users through writing a systematic literature review (SLR) following the PRISMA 2020 framework. Use this skill whenever the user mentions 'systematic review', 'systematic literature review', 'SLR', 'PRISMA', 'PRISMA 2020', 'PRISMA flow diagram', 'PRISMA checklist', or asks for help writing, structuring, or auditing a literature review that follows reporting guidelines. Also trigger when the user asks about inclusion/exclusion criteria for a review, search strategies for databases like Scopus/WoS/PubMed, study selection processes, risk of bias assessment, or narrative synthesis for a review paper. This skill covers the full PRISMA 2020 checklist (27 items), produces a Word document manuscript in strict journal article format, generates an annotated PRISMA flow diagram, and enforces APA 7th Edition referencing throughout. It does NOT cover meta-analysis or statistical pooling. By Chuah Kee Man.
testing
Performs placebo-in-time sensitivity analysis with hierarchical null model and optional Bayesian assurance. Use when checking model robustness, verifying lack of pre-intervention effects, or estimating study power.
data-ai
Fit, summarize, plot, and interpret a chosen CausalPy experiment. Use after the causal method has been selected, including when configuring PyMC/sklearn models and scale-aware custom priors.