From snap-skills
Use this skill whenever the user asks you to write, expand, revise, or edit any part of a manuscript, grant proposal, fellowship application, or research statement. Defines the SNAP group's academic writing style (concise, claim-first, no padding) and the mechanics of iterating on Overleaf projects via local git sync and in-place bracketed instructions. Trigger on: "paper", "manuscript", "grant", "proposal", "fellowship", "abstract", "intro", "methods", "discussion", "reviewer response".
How this skill is triggered — by the user, by Claude, or both
Slash command
/snap-skills:paper-writingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill has two parts: **how to write** (voice, sentence-level rules, structural principles) and **how to iterate** (Overleaf git sync, bracketed instructions, section-by-section workflow).
This skill has two parts: how to write (voice, sentence-level rules, structural principles) and how to iterate (Overleaf git sync, bracketed instructions, section-by-section workflow).
The writing style section is the primary contribution of this skill. Follow it strictly — it is not a suggestion.
You produce running text for scientific manuscripts and grant proposals. You do not plan, discuss, or ask questions. You write.
Write like a confident PI who respects the reviewer's time. Short sentences. No hedging, no padding, no throat-clearing. Every sentence advances the argument; if it restates what the previous sentence said, delete it.
Model: Ernst Strüngmann Forum reports, HHMI investigator proposals, ERC synopses. Not: review articles, textbook introductions.
BAD: "Clinical cohorts are the backbone of efforts to improve therapy and diagnostics, and they are now routinely coupled with deep molecular phenotyping, including single-cell transcriptomics, spatial assays, and epigenomic profiling, that captures per-patient disease mechanisms at unprecedented resolution."
GOOD: "Clinical cohorts now routinely include single-cell transcriptomics, spatial assays, and epigenomic profiling per patient."
BAD: "Yet as medicine moves toward precision frameworks that acknowledge immense inter-patient heterogeneity, population-level averaging smooths over the very mechanisms it seeks to uncover."
GOOD: "Population-level averaging discards patient-specific mechanisms, precisely the information precision medicine requires."
BAD: "The dimensionality of modern molecular data compounds the problem, as a single patient's scRNA-seq profile spans ~20,000 genes across tens of thousands of cells."
GOOD: "A single patient's scRNA-seq spans ~20,000 genes across tens of thousands of cells, far exceeding what group-comparison frameworks were designed for."
'like this') → stay close to the wording but enhance and contextualize it."like this") → copy the wording verbatim.<> or [] brackets embedded in the document → process them one by one (see Part 2).\section, \subsection, \cite{key}).*, **, ***), citations as [cite:@key].#, ##, ###; citations as [@key] (Pandoc style).Biology, bioinformatics, AI agents, multimodal AI, single-cell genomics, spatial transcriptomics, computational oncology, clinical cohort analysis, CAR T cell therapy.
Writing rules are only useful if you can apply them. This section covers the mechanics.
Overleaf's web editor works for solo drafting, but it has no agent access, limited diff/merge, and makes find-and-replace across a long document painful. Cloning the Overleaf project as a git remote lets you edit locally with your agent, commit, and push — the web UI updates within seconds.
https://git.overleaf.com/<project-id>).cd ~/Projects/<ProjectName>/
git clone https://git.overleaf.com/<project-id> overleaf
Username: Overleaf email. Password: the token from step 2.git config --global credential.helper store
If the user hits authentication errors, fall back and ask them to complete setup. Do not try to bypass Overleaf auth.
git diff) before committing. Do not commit silently.git add -p
git commit -m "Tighten intro: cut padding, sharpen problem statement"
git push
The user leaves instructions directly in the document inside <...> brackets. You process them one by one.
Example in .tex:
Recent foundation models have transformed computational biology.
<search for 2-3 ground-breaking publications from the last 2 years;
google/deepmind published some major results in this area>
These models now scale to billion-parameter regimes.
User invocation:
"Identify instructions in
<>brackets inintro.texand process them one by one."
Behavior:
<.*> in the specified file(s).git diff at the end.Be conservative with ambiguous brackets (<TODO>, <cite>, <ref>, XML-like tags). If in doubt, ask before touching.
reviews/round1.md) or as LaTeX comments in-place (% R2: ...).reviews/response_to_reviewers.tex)..bib file (references.bib, main.bib — ask if unsure).\cite{key}, verify the BibTeX entry exists. If not, look up the paper and add a properly formatted entry.citation-management skill if available for metadata lookup.For fast iteration without pushing to Overleaf every time:
tectonic main.tex # preferred: single-binary, sandboxed
# or
latexmk -pdf main.tex # if full TeX Live is installed
Use Overleaf for final rendering; local is for checking that edits don't break the build.
| Symptom | Likely cause | Fix |
|---|---|---|
git push rejected with merge conflict | Someone pushed concurrently (or Overleaf web edits) | git pull --rebase, resolve, push again |
git clone asks for credentials repeatedly | Credential helper not set | git config --global credential.helper store |
| Overleaf doesn't reflect your push | Sync lag (<10s), or you pushed the wrong branch | Check Overleaf "History" panel; Overleaf syncs master only |
tectonic errors but Overleaf web compiles fine | Local TeX distribution missing packages | Use Overleaf for final compilation |
| Brackets got eaten that shouldn't have | Ambiguous <...> (e.g. <TODO>, <cite>) | Preview diffs; prefer <<agent: ...>> for distinctive markers |
venue-templates skill if available.plotting or scientific-visualization skills.scientific-brainstorming or hypothesis-generation.npx claudepluginhub snap-stanford/snap-skills --plugin snap-skillsProvides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.