End-to-end statistical writing assistant for LaTeX - draft title/abstract/keywords, expand outlines into sections, audit manuscripts, write reviewer reports and response letters, and scaffold book manuscripts.
This is a single "workbench" skill for statistical manuscripts written in LaTeX.
Guidance is split into focused references under references/. Deterministic checks live in scripts/. Ready-to-use templates live in assets/.
Default behavior is journal-agnostic. For Journal of Data Science (JDS), apply the JDS profile:
Use this skill when the user wants to:
Prefer file paths over pasted text.
main.tex).refs.bib).If details are missing, proceed with placeholders like odo{...} and ask only critical questions.
Unless the user requests otherwise:
odo{add citation} or odo{verify result}.Open only the reference files needed for the task.
references/10-title.mdreferences/11-abstract.mdreferences/12-keywords.mdreferences/60-outline-to-section.mdreferences/20-introduction.mdreferences/21-data.mdreferences/22-methods.mdreferences/23-simulation.mdreferences/24-application.mdreferences/25-discussion.mdreferences/30-other-sections.mdreferences/31-general-style.mdreferences/32-english.mdreferences/40-bibtex-natbib.mdreferences/41-cross-referencing.mdreferences/50-review-report.mdreferences/51-response-to-reviewers.mdreferences/70-project-proposal.mdreferences/71-book-manuscript.mdreferences/80-tooling.mdassets/response-letter-template.texassets/reviewer-report-template.mdassets/reviewer-report-template.texassets/section-skeleton.texassets/manuscript-template.texassets/book-manuscript-template.texpython scripts/check_tex.py path/to/main.texpython scripts/check_bib.py --tex path/to/main.tex --bib path/to/refs.bibpython scripts/audit_paper.py --tex path/to/main.tex --bib path/to/refs.bibThese checks are heuristic and do not compile LaTeX.
references/11-abstract.md and references/12-keywords.md.egin{abstract}...nd{abstract}\keywords{...} (or venue-specific command)check_tex.py (and check_bib.py if .bib exists).references/31-general-style.md, references/40-bibtex-natbib.md, and section-specific references.references/50-review-report.md.assets/reviewer-report-template.tex.references/51-response-to-reviewers.md.assets/response-letter-template.tex.references/60-outline-to-section.md + relevant section reference.references/71-book-manuscript.md.assets/book-manuscript-template.tex."Use stat-writing. Read main.tex and draft a compliant abstract (default 6-8 sentences, acceptable 4-10; no citations; no math notation) and 6-10 alphabetical keywords. Output LaTeX blocks."
"Use stat-writing. Audit main.tex (+ refs.bib). Run scripts if allowed. Return top issues with HIGH/MED/LOW and patch-ready LaTeX fixes."
"Use stat-writing. Here are reviewer/editor comments. Write a point-by-point response letter with quoted manuscript revisions and locations."
"Use stat-writing. Draft a reviewer report with summary, overall assessment, numbered major comments, and numbered minor comments."
"Use stat-writing. Start a book manuscript from chapter bullets using the book template. Produce frontmatter/mainmatter/backmatter and chapter-by-chapter drafting plan."
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/stat-writing · pinned to the source commit
git clone https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.git
cd Auto-Empirical-Research-Skills
git checkout 692e9fa3fea40bbdf614584d461851f8fb968ac2
mkdir -p ".claude/skills/stat-writing"
cp -r "skills/06-fuhaoda-stats-paper-writing/stat-writing" ".claude/skills/stat-writing"Review the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
Scanner static-checks@0.1.0 · commit 692e9fa3fea4. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.