Skip to content

kgraph57/paper-writer-skill

paper-writer

Verified

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', '原稿作成'.

FileKindSize
SKILL.mdskill md77.7 KB
examples/case-studies/discovery-to-draft.mdmarkdown5.3 KB
references/abstract-formats.mdmarkdown5.1 KB
references/adversarial-review.mdmarkdown21.6 KB
references/ai-disclosure.mdmarkdown6.4 KB
references/ai-for-science-model.mdmarkdown12.8 KB
references/citation-guide.mdmarkdown2.4 KB
references/citation-verification.mdmarkdown10.5 KB
references/clinical-trial-registration.mdmarkdown4.7 KB
references/coauthor-review.mdmarkdown14.2 KB
references/coi-detailed.mdmarkdown6.8 KB
references/desk-rejection-prevention.mdmarkdown6.1 KB
references/hook-compatibility.mdmarkdown6.1 KB
references/humanizer-academic.mdmarkdown12.0 KB
references/imrad-guide.mdmarkdown2.5 KB
references/journal-reformatting.mdmarkdown5.6 KB
references/journal-selection.mdmarkdown13.5 KB
references/keywords-guide.mdmarkdown4.6 KB
references/master-reference-list.mdmarkdown11.3 KB
references/multilingual-guide.mdmarkdown12.4 KB
references/novelty-check.mdmarkdown13.8 KB
references/open-access-guide.mdmarkdown4.6 KB
references/pubmed-query-builder.mdmarkdown16.7 KB
references/reporting-guidelines-full.mdmarkdown10.6 KB
references/reporting-guidelines.mdmarkdown3.2 KB
references/section-checklist.mdmarkdown4.5 KB
references/statistical-reporting-full.mdmarkdown8.6 KB
references/statistical-reporting.mdmarkdown22.5 KB
references/submission-portals.mdmarkdown4.1 KB
references/supplementary-materials.mdmarkdown3.9 KB
references/tables-figures-guide.mdmarkdown7.7 KB
references/word-count-limits.mdmarkdown4.6 KB
scripts/analysis-template.pyexecutablescript19.6 KB
scripts/compile-manuscript.shexecutablescript6.9 KB
scripts/forest-plot.pyexecutablescript16.9 KB
scripts/sr-dedup.pyexecutablescript12.5 KB
scripts/sr-pdf-link.pyexecutablescript6.8 KB
scripts/sr-prisma-count.pyexecutablescript8.7 KB
scripts/table1.pyexecutablescript9.7 KB
scripts/word-count.shexecutablescript12.8 KB
templates/abstract.mdmarkdown1.3 KB
templates/acknowledgments.mdmarkdown1.7 KB
templates/analysis-workflow.mdmarkdown5.1 KB
templates/case-abstract.mdmarkdown1.2 KB
templates/case-introduction.mdmarkdown1.7 KB
templates/case-report.mdmarkdown2.2 KB
templates/conclusion.mdmarkdown1.0 KB
templates/cover-letter.mdmarkdown1.3 KB
templates/data-management.mdmarkdown5.7 KB
templates/declarations.mdmarkdown6.1 KB
templates/discussion.mdmarkdown1.8 KB
templates/graphical-abstract.mdmarkdown2.7 KB
templates/highlights.mdmarkdown3.8 KB
templates/human-loop-ledger.mdmarkdown9.4 KB
templates/introduction.mdmarkdown1.8 KB
templates/limitations-guide.mdmarkdown6.2 KB
templates/literature-matrix.mdmarkdown1.2 KB
templates/methods.mdmarkdown1.9 KB
templates/preregistration.mdmarkdown19.5 KB
templates/project-init-case.mdmarkdown3.2 KB
templates/project-init.mdmarkdown3.6 KB
templates/proof-correction.mdmarkdown2.5 KB
templates/research-question.mdmarkdown18.6 KB
templates/response-to-reviewers.mdmarkdown12.5 KB
templates/results.mdmarkdown1.5 KB
templates/review-article.mdmarkdown11.6 KB
templates/revision-cover-letter.mdmarkdown10.3 KB
templates/sr-data-extraction.mdmarkdown9.2 KB
templates/sr-grade.mdmarkdown14.7 KB
templates/sr-outline.mdmarkdown13.5 KB
templates/sr-prisma-flow.mdmarkdown12.9 KB
templates/sr-prospero.mdmarkdown15.9 KB
templates/sr-rob.mdmarkdown18.3 KB
templates/sr-screening-pipeline.mdmarkdown12.1 KB
templates/study-design.mdmarkdown28.5 KB
templates/submission-ready.mdmarkdown2.5 KB
templates/title-page.mdmarkdown3.5 KB

templates/data-management.md

View on GitHub
# Data Management Template

## Data Directory Structure

```
data/
├── raw/                    # Original data (NEVER modify)
│   ├── README.md           # Data source, extraction date, IRB info
│   └── (raw data files)
├── processed/              # Cleaned, de-identified data
│   ├── README.md           # Processing steps applied
│   └── (processed files)
├── analysis/               # Statistical output, model results
│   ├── README.md           # Analysis software, scripts used
│   └── (analysis output)
└── data-dictionary.md      # Variable definitions
```

## data/raw/README.md Template

```markdown
# Raw Data

## Source
- **Database**: [e.g., hospital EMR, REDCap, research database]
- **Extraction date**: YYYY-MM-DD
- **Extracted by**: [name]
- **Query/method**: [how data was extracted]

## Ethics
- **IRB approval**: [approval number]
- **IRB institution**: [institution name]
- **Approval date**: YYYY-MM-DD
- **Data use agreement**: [Yes/No, reference number if applicable]

## Files

| File | Description | Records | Variables | Format |
|------|-------------|---------|-----------|--------|
| | | | | |

## Important
- DO NOT modify files in this directory
- All cleaning/transformation goes in processed/
- Keep a backup outside this project directory
```

## data/processed/README.md Template

```markdown
# Processed Data

## Processing Log

| Step | Date | Description | Script/Method | Input | Output |
|------|------|-------------|---------------|-------|--------|
| 1 | YYYY-MM-DD | De-identification | [manual/script] | raw/file.csv | processed/file_deidentified.csv |
| 2 | YYYY-MM-DD | Exclude criteria applied | [manual/script] | | |
| 3 | YYYY-MM-DD | Missing data handled | [method] | | |
| 4 | YYYY-MM-DD | Variable recoding | [details] | | |

## De-identification Checklist

- [ ] Patient names removed
- [ ] Medical record numbers removed
- [ ] Dates shifted or generalized (age only, year only)
- [ ] Geographic data generalized (prefecture level or broader)
- [ ] Rare conditions/combinations checked for re-identification risk
- [ ] Free-text fields reviewed and scrubbed
- [ ] File metadata (Excel author, etc.) cleaned

## Inclusion/Exclusion

- **Total records extracted**: N
- **Excluded**: N (reasons below)
  - Reason 1: n
  - Reason 2: n
  - ...
- **Final sample**: N

## Files

| File | Description | Records | Variables | Format |
|------|-------------|---------|-----------|--------|
| | | | | |
```

## data/analysis/README.md Template

```markdown
# Analysis Output

## Software
- **Statistical software**: [R / Stata / SPSS / Python / SAS]
- **Version**: [version number]
- **Key packages**: [e.g., tidyverse, survival, lme4]

## Analysis Scripts

| Script | Description | Input | Output |
|--------|-------------|-------|--------|
| | | | |

## Output Files

| File | Description | Corresponds to |
|------|-------------|----------------|
| | | Table 1 |
| | | Figure 1 |
| | | Supplementary Table S1 |

## Reproducibility
- [ ] Scripts run without manual intervention
- [ ] Random seed set (if applicable)
- [ ] Software version documented
- [ ] All file paths are relative (no hardcoded absolute paths)
```

## data/data-dictionary.md Template

```markdown
# Data Dictionary

## Overview
- **Dataset**: [name]
- **Source**: [reference to raw/README.md]
- **Last updated**: YYYY-MM-DD
- **Total variables**: N
- **Total records**: N

## Variables

| Variable | Label | Type | Values/Range | Unit | Missing | Notes |
|----------|-------|------|-------------|------|---------|-------|
| pt_id | Patient ID | string | unique identifier | — | 0 | De-identified |
| age | Age at enrollment | integer | 0-120 | years | | |
| sex | Sex | categorical | 0=Female, 1=Male | — | | |
| bmi | Body Mass Index | continuous | 10.0-60.0 | kg/m² | | |
| | | | | | | |

### Type definitions
- **categorical**: finite set of values (list all levels)
- **continuous**: numeric with decimal
- **integer**: whole number
- **string**: text
- **date**: YYYY-MM-DD format
- **binary**: 0/1 or Yes/No

### Missing data codes
- `NA`: not available (data exists but was not recorded)
- `NP`: not applicable (variable does not apply to this patient)
- (blank): truly missing
```

---

## Quick Setup Guide

When starting a new paper project, create the data directory:

1. Create `data/raw/`, `data/processed/`, `data/analysis/`
2. Copy raw data into `data/raw/` — these files are READ-ONLY from this point
3. Fill in `data/raw/README.md` (source, ethics, file inventory)
4. Create `data/data-dictionary.md` for all variables
5. Process data in `data/processed/`, logging each step
6. Run analyses, save output to `data/analysis/`
7. Link analysis output to specific Tables/Figures in the manuscript

## File Naming Convention

```
[type]_[description]_[version].[ext]

Examples:
  raw_patient_demographics_v1.csv
  processed_cohort_final.csv
  analysis_table1_descriptive.xlsx
  analysis_figure2_survival_curve.png
```

Rules:
- Lowercase, underscores (no spaces, no Japanese characters in filenames)
- Version suffix for files that may be updated (`_v1`, `_v2`)
- Date suffix for snapshots (`_20260217`)
- Keep extensions consistent (`.csv` for tabular data, `.xlsx` only when formulas needed)

## Data Security Reminders

- **NEVER commit patient-identifiable data to git**
- Add `data/raw/` to `.gitignore` if the repository is shared
- Store raw data backups in a separate secure location
- Follow your institution's data handling policy
- Encrypt sensitive files if stored on cloud services

### Recommended .gitignore additions

```
# Raw patient data (never commit)
data/raw/*.csv
data/raw/*.xlsx
data/raw/*.sav
data/raw/*.dta

# Large analysis output
data/analysis/*.pdf
data/analysis/*.png
data/analysis/*.tiff
```
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall