Medical/scientific paper writing workflow skill. Manages the full pipeline from literature search to submission-ready manuscript. Creates and manages a project directory with IMRAD-format section files, literature matrix, reference management, and quality checklists. Supports both English and Japanese papers. Triggers: 'write paper', 'paper-write', 'start manuscript', '論文を書く', '論文執筆', '論文プロジェクト', 'manuscript', 'research paper', '原稿作成'.
Full-pipeline academic paper writing assistant. From literature search to submission-ready manuscript.
This skill manages the entire paper writing workflow:
Literature Search → Outline → Tables/Figures → Draft → Humanize → References → Quality Review → Pre-Submission → [Revision] → [Post-Acceptance] → [Rejection → Resubmission]
Each paper is a project directory containing structured Markdown files for every section, a literature matrix, and quality checklists.
| Type | Structure | Reporting Guideline | Notes |
|---|---|---|---|
| Original Article | Full IMRAD | STROBE / CONSORT | Default |
| Case Report |
| Intro / Case / Discussion |
| CARE |
| Separate templates |
| Review Article | Thematic sections | - | Flexible structure |
| Letter / Short Communication | Condensed IMRAD | Same as original | Word limit focus |
| Systematic Review | PRISMA-compliant | PRISMA 2020 | With PRISMA checklist |
| Study Protocol | SPIRIT-compliant | SPIRIT 2025 | For trial registration papers |
When the user invokes this skill, ask for:
If a target journal is specified, look up and document:
references/ai-disclosure.md.references/keywords-guide.md.templates/graphical-abstract.md.Use WebSearch to look up the journal's "Instructions for Authors" page.
Record all requirements in the README.md under a "Journal Requirements" section.
Based on paper type and study design, select the appropriate reporting guideline:
| Study Type | Guideline | Reference |
|---|---|---|
| Randomized Controlled Trial | CONSORT 2025 | references/reporting-guidelines-full.md |
| Observational study (cohort, case-control, cross-sectional) | STROBE | references/reporting-guidelines-full.md |
| Systematic review / meta-analysis | PRISMA 2020 | references/reporting-guidelines-full.md |
| Case report | CARE | references/reporting-guidelines-full.md |
| Diagnostic accuracy study | STARD 2015 | references/reporting-guidelines-full.md |
| Quality improvement study | SQUIRE 2.0 | references/reporting-guidelines-full.md |
| Study protocol (clinical trial) | SPIRIT 2025 | references/reporting-guidelines-full.md |
| Prediction model (incl. AI/ML) | TRIPOD+AI 2024 | references/reporting-guidelines-full.md |
| Animal research | ARRIVE 2.0 | references/reporting-guidelines-full.md |
| Health economics | CHEERS 2022 | references/reporting-guidelines-full.md |
Read ~/.claude/skills/paper-writer/references/reporting-guidelines.md (summary) or references/reporting-guidelines-full.md (comprehensive) and note the key checklist items for the selected guideline. These items will be checked throughout the writing process.
For Original Article / Review / Letter / Systematic Review:
{project-dir}/
├── README.md # Project dashboard (status, timeline, links)
│
├── 00_literature/ # Phase 1: Literature
│ ├── search-strategy.md # Search terms, databases, dates
│ ├── literature-matrix.md # Structured comparison table
│ └── key-papers/ # Notes on important papers (1 file per paper)
│
├── 01_outline.md # Phase 2: Paper skeleton
│
├── sections/ # Phase 3: Manuscript sections (writing order)
│ ├── 02_methods.md
│ ├── 03_results.md
│ ├── 04_introduction.md
│ ├── 05_discussion.md
│ ├── 06_conclusion.md
│ ├── 07_abstract.md
│ └── 08_title.md
│
├── tables/ # Tables (numbered: table1_baseline.md, ...)
├── figures/ # Figures + captions (fig1_caption.md, ...)
├── supplements/ # Supplementary materials
│ ├── supplementary-tables/ # e.g., tableS1_sensitivity.md
│ ├── supplementary-figures/ # e.g., figS1_subgroup.md
│ └── appendices/ # Additional methods, datasets, etc.
│
├── data/ # Research data (see templates/data-management.md)
│ ├── raw/ # Original data (READ-ONLY, gitignored)
│ ├── processed/ # Cleaned, de-identified data
│ ├── analysis/ # Statistical output, scripts
│ └── data-dictionary.md # Variable definitions
│
├── ethics/ # Ethics & regulatory
│ ├── irb-approval.md # IRB approval details, number, dates
│ ├── informed-consent.md # Consent process documentation
│ ├── protocol.md # Study protocol (SPIRIT if applicable)
│ └── registration.md # Trial/study registration (UMIN, ClinicalTrials.gov)
│
├── submissions/ # Submission history (1 subfolder per attempt)
│ └── v1_{journal}/ # e.g., v1_bmj/
│ ├── compiled-manuscript.md # Full compiled manuscript snapshot
│ ├── cover-letter.md # Cover letter
│ ├── title-page.md # Title page
│ ├── declarations.md # Ethics, COI, funding, AI disclosure
│ ├── highlights.md # Key points (if required)
│ ├── graphical-abstract.md # Graphical abstract (if required)
│ └── submission-log.md # Date, portal, manuscript #, status
│
├── revisions/ # Revision rounds (Phase 8)
│ └── r1/ # Round 1
│ ├── reviewer-comments.md # Original reviewer comments
│ ├── response-letter.md # Point-by-point response
│ ├── revision-cover-letter.md # Revision cover letter
│ ├── diff-summary.md # Changes made (section, line, change)
│ └── compiled-manuscript.md # Revised manuscript snapshot
│
├── coauthor-review/ # Co-author feedback tracking
│ ├── review-tracker.md # Who reviewed, when, status
│ └── feedback/ # Individual feedback files
│
├── correspondence/ # Editor & reviewer communication log
│ └── YYYY-MM-DD_{subject}.md # e.g., 2026-03-05_decision-letter.md
│
├── references/ # Reference management
│ └── 09_references.md # Formatted reference list
│
├── checklists/ # Quality control
│ ├── section-quality.md # Per-section quality scores
│ ├── submission-ready.md # Pre-submission checklist
│ ├── reporting-guideline.md # CONSORT/STROBE/etc. item tracking
│ ├── gate-state.md # Stage-gate iteration state
│ └── feedback-*.md # Auto-generated gate feedback
│
└── log/ # Decision & progress log
├── decisions.md # Key decisions with rationale
├── meetings.md # Meeting notes (co-authors, supervisor)
└── timeline.md # Milestone targets & actual dates
For Case Report:
{project-dir}/
├── README.md # Project dashboard
│
├── 00_literature/
│ ├── search-strategy.md
│ ├── literature-matrix.md
│ └── key-papers/
│
├── 01_outline.md
│
├── sections/
│ ├── 02_case.md # Case presentation (CARE structure)
│ ├── 03_introduction.md # Introduction (why reportable)
│ ├── 04_discussion.md
│ ├── 05_abstract.md # Abstract (CARE format)
│ └── 06_title.md # Title (must contain "case report")
│
├── tables/
├── figures/
├── supplements/
│ ├── supplementary-tables/
│ ├── supplementary-figures/
│ └── appendices/
│
├── data/
│ ├── raw/
│ ├── processed/
│ ├── analysis/
│ └── data-dictionary.md
│
├── ethics/
│ ├── irb-approval.md
│ ├── informed-consent.md # Patient consent for publication
│ └── patient-perspective.md # Patient's perspective (CARE item)
│
├── submissions/
│ └── v1_{journal}/
│ ├── compiled-manuscript.md
│ ├── cover-letter.md
│ ├── title-page.md
│ ├── declarations.md
│ └── submission-log.md
│
├── revisions/
│ └── r1/
│ ├── reviewer-comments.md
│ ├── response-letter.md
│ ├── diff-summary.md
│ └── compiled-manuscript.md
│
├── coauthor-review/
│ ├── review-tracker.md
│ └── feedback/
│
├── correspondence/
│ └── YYYY-MM-DD_{subject}.md
│
├── references/
│ └── 07_references.md
│
├── checklists/
│ ├── section-quality.md
│ ├── submission-ready.md
│ ├── reporting-guideline.md
│ ├── gate-state.md
│ └── feedback-*.md
│
└── log/
├── decisions.md
├── meetings.md
└── timeline.md
Read ~/.claude/skills/paper-writer/templates/project-init.md with the Read tool and use it to generate README.md. For Case Reports, use project-init-case.md instead.
File numbering follows the recommended writing order, not the reading order. This is intentional.
If the user has existing research data (clinical records, CSV files, statistical output, etc.):
data/raw/, data/processed/, data/analysis/ directories~/.claude/skills/paper-writer/templates/data-management.md for the full templatedata/raw/ — these files are READ-ONLY from this pointdata/raw/README.md documenting the data source, extraction date, and IRB informationdata/data-dictionary.md listing all variables with types, ranges, and labelsdata/processed/README.mdSecurity rules:
data/raw/*.csv, data/raw/*.xlsx etc. to .gitignore if the repository is sharedData flow: raw/ (never modify) → processed/ (clean, de-identify) → analysis/ (statistical output) → tables/ and figures/ (manuscript-ready)
If the user has quantitative data ready for analysis, Claude Code can execute Python scripts directly. Read ~/.claude/skills/paper-writer/templates/analysis-workflow.md for the full workflow.
Available analysis scripts:
| Script | Purpose | Key Output |
|---|---|---|
scripts/table1.py | Table 1 (baseline characteristics) | Markdown table with N, %, mean±SD, P values |
scripts/analysis-template.py | Statistical analyses | Descriptive stats, t-test, logistic regression, survival |
scripts/forest-plot.py | Forest plot (meta-analysis) | PNG + SVG |
Workflow:
data/processed/cohort_final.csv, check shape, dtypes, missing valuesscripts/table1.py to generate baseline characteristics table → tables/table1.mdAnalysis output directory: All results go to data/analysis/. Figures for the manuscript go to figures/.
Required Python packages: numpy, pandas, scipy, statsmodels, lifelines, matplotlib, seaborn
pip install numpy pandas scipy statsmodels lifelines matplotlib seaborn scikit-learn
Statistical reporting requirements (before writing Results):
See references/statistical-reporting-full.md for detailed SAMPL guidelines and templates/analysis-workflow.md for step-by-step commands.
Create 00_literature/search-strategy.md with:
How to search:
Use WebSearch with targeted queries:
"search terms" pediatric asthma pubmed"search terms" site:scholar.google.comIf WebSearch results are limited, use WebFetch on specific PubMed URLs: