skills/06-fuhaoda-stats-paper-writing/stat-writing/SKILL.md
<!-- ╔══════════════════════════════════════════════════════════════╗ ║ 本文件为开源 Skill 原始文档,收录仅供学习与研究参考 ║ ║ CoPaper.AI 收集整理 | https://copaper.ai ║ ╚══════════════════════════════════════════════════════════════╝ 来源仓库: https://github.com/fuhaoda/stats-paper-writing-agent-skills 项目名称: stats-paper-writing-agent-skills 开源协议: MIT License 收录日期: 2026-04-02 声明: 本文件版权归原作者所有。此处收录旨在为社会科学实证研究者 提供 AI Agent Skills 的集中参考。如有侵权,请联系删除。 --> --- name: stat-writing desc
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research skills/06-fuhaoda-stats-paper-writing/stat-writingInstall 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.
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."
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.