Manuscript Writing logo

Manuscript Writing

Organization
HeartWise-AI
manuscript-writing

Full guide for writing a medical AI manuscript from scratch, covering all sections (Introduction, Methods, Results, Discussion, Abstract) with structure, style, and reporting standards. Use when drafting a new AI manuscript or when you need section-by-section writing instructions beyond TRIPOD-AI results reporting.

Overview

PublisherHeartWise-AI
Repositoryai-writing-skills
Skill namemanuscript-writing
Stars
28
Forks
6
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by HeartWise-AI on GitHub. Read the source before you install it.

Installation

Install the Manuscript Writing AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/manuscript-writing
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HeartWise-AI/ai-writing-skills.git /tmp/ai-writing-skills
mkdir -p .claude/skills
cp -r /tmp/ai-writing-skills/manuscript-writing .claude/skills/manuscript-writing
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Manuscript Writing in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Manuscript Writing on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Manuscript Writing is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

AI Manuscript Writing Guide

A section-by-section guide for writing medical AI manuscripts, from blank page to submission-ready draft.


General Style Rules

  • No em dashes — use commas, parentheses, or separate sentences
  • Write Results in past tense, Discussion in present tense
  • Report all metrics with 95% confidence intervals
  • No interpretation in Results — keep interpretation in Discussion only
  • Maximum one acronym introduced per paragraph; spell out on first use
  • Expand every abbreviation at first use, including dataset and model short names. PTB-XL, MIMIC-IV-ECG, CODE-15%, MIMIC-IV, CPSC 2018, eICU, and NHANES are not exempt because they look like proper nouns. Write the name out once with the short form in parentheses, then reuse the short form. An unexpanded dataset name is a blocking defect, not a style nit. The manuscript-review skill enforces this as its G1 gate.
  • Never use F1-score, recall, or accuracy as primary performance metrics

Dataset names that must be expanded at first use. Verify the wording against the dataset's own publication rather than guessing:

Short formExpansion at first mention
PTB-XLPhysikalisch-Technische Bundesanstalt XL
MIMIC-IVMedical Information Mart for Intensive Care IV
MIMIC-IV-ECGMedical Information Mart for Intensive Care IV Electrocardiography module
MIMIC-IIIMedical Information Mart for Intensive Care III
CODE-15%Clinical Outcomes in Digital Electrocardiography 15% subset
CODE-IIClinical Outcomes in Digital Electrocardiography II
CPSC 2018China Physiological Signal Challenge 2018
eICUeICU Collaborative Research Database
NHANESNational Health and Nutrition Examination Survey
CHUMCentre hospitalier de l'Universite de Montreal
MHIMontreal Heart Institute

UK Biobank has no abbreviation; write the full name every time. MIMIC-IV-ECG is the Electrocardiography module of MIMIC-IV, not a separate database, and CODE-15% is a 15% subset of the CODE dataset, not a dataset called CODE-15.


1. Title & Authors

Title formula: [Model/Approach] for [Task] using [Data Source]: [Design]

Example: "Deep Learning Detection of Left Ventricular Dysfunction from 12-Lead ECG: A Multicenter Validation Study"

  • Keep under 15 words
  • Avoid starting with "A" or "The"
  • Include study design (Prospective, Multicenter, Randomized)

Authorship order:

  1. First author: primary contributor to experiments + writing
  2. Middle authors: data, methods, clinical input
  3. Penultimate: senior statistician or domain expert
  4. Last: senior/corresponding author (lab PI)

2. Abstract

Write this last, after all sections are complete.

Structured format (250–300 words):

SubsectionContentSentences
BackgroundClinical problem + gap2
ObjectiveWhat this study does1
MethodsDesign, cohort, model, metrics3–4
ResultsPrimary outcome with metric + CI2–3
ConclusionKey clinical implication1–2

Rules:

  • No citations in abstract
  • Include primary metric with 95% CI (e.g., AUROC 0.91, 95% CI 0.88–0.94)
  • For classification models: include sensitivity and specificity at reported threshold
  • State the threshold used (e.g., Youden Index, prespecified operating point)

3. Introduction / Background

Structure (4–5 paragraphs):

Paragraph 1 — Clinical Problem

  • Open with the disease burden (incidence, mortality, cost)
  • Quantify the diagnostic challenge (missed diagnoses, diagnostic delay, resource burden)
  • No AI mention yet

Paragraph 2 — Current Standard of Care & Limitations

  • Describe existing diagnostic approach and its limitations
  • Cite reproducibility, access, cost, or inter-observer variability data

Paragraph 3 — AI in This Space (Literature)

  • Trace AI approaches from traditional ML → deep learning
  • Cite key prior works with their best-reported metrics
  • Identify specific gaps: external validation, prospective design, subgroup fairness, real-world deployment

Paragraph 4 — What This Study Does

  • State your contribution directly: "In this study, we developed and externally validated..."
  • Each gap from paragraph 3 maps to one contribution here

Paragraph 5 — Roadmap (optional but recommended)

  • "This paper is organized as follows..."
  • Only include if journal allows or paper is complex

Forbidden in Introduction:

  • Presenting results
  • Vague gaps ("more work is needed")
  • Overclaiming novelty without citation support

4. Methods

Required subsections, in this order:

4.1 Ethics Statement (FIRST, always)

This study was approved by [Institution] Institutional Review Board (IRB #XXXX).
Informed consent was [obtained / waived] given the [prospective/retrospective] design.
If large language models were used in manuscript preparation, disclose here.

4.2 Study Design & Data Sources

  • Study type: retrospective / prospective / randomized
  • Institutions involved, years of data collection
  • Internal vs. external validation datasets

Flowchart: Include a CONSORT/PRISMA-style flowchart as Figure 1 showing:

  • Total records screened
  • Exclusions with reasons
  • Final training / validation / test set sizes
  • Event counts in each split

4.3 Inclusion / Exclusion Criteria

  • List all criteria as bullet points
  • Include age ranges, diagnostic codes, date ranges
  • State who made eligibility decisions (automated vs. adjudicated)

4.4 Outcome Definition

  • Primary outcome: exact definition, ICD codes, or measurement method
  • Secondary outcomes if applicable
  • Adjudication process

4.5 Model Development

For deep learning models:

Architecture: [name, version, input dimensions]
Pre-training: [ImageNet / ECG foundation model / from scratch]
Training: [optimizer, learning rate, batch size, epochs, early stopping criterion]
Augmentation: [list augmentations used]
Loss function: [cross-entropy, focal loss, etc.]
Hardware: [GPU model, memory, training time]

For traditional ML:

Features: [list or reference feature table]
Preprocessing: [normalization, imputation, scaling]
Model: [name, hyperparameter search strategy, CV folds]
Feature selection: [method used]

Threshold selection — REQUIRED for binary classification:

State explicitly how the operating threshold is chosen:

  • Youden Index (maximizes sensitivity + specificity): recommended default
  • Prespecified clinical threshold (e.g., sensitivity ≥ 90%): when clinical constraints drive the operating point
  • Cost-sensitive threshold: when FP/FN costs differ clinically

Example: "The operating threshold was selected using the Youden Index (J = sensitivity + specificity − 1) on the internal validation set and applied without modification to all external validation cohorts."

4.6 Statistical Analysis

  • Primary metric: AUROC with 95% CI (DeLong method)
  • Secondary metrics: AUPRC, Sensitivity, Specificity, PPV, NPV at reported threshold
  • Confidence intervals: bootstrap (1000 iterations) or DeLong
  • Subgroup analyses: prespecified groups (age, sex, race, disease severity)
  • Calibration: Brier score, calibration curves
  • Comparison to baseline: likelihood ratio test or net reclassification improvement (NRI)
  • Software: Python [version] / R [version] / SAS [version]

5. Results

Paragraph order must mirror Methods subsections exactly.

5.1 Cohort Description

  • Total included, excluded (with reasons)
  • Demographic breakdown (Table 1)
  • Outcome prevalence in each split

5.2 Model Performance (Table 2)

Required metrics for classification models:

  • AUROC (95% CI)
  • AUPRC (95% CI)
  • Sensitivity, Specificity, PPV, NPV — all at the reported threshold
  • State the threshold explicitly in the table footnote

Table 2 footnote format: "Sensitivity, Specificity, PPV, and NPV calculated at the threshold maximizing the Youden Index (threshold = 0.XX on internal validation set)."

For regression models:

  • Mean Absolute Error (MAE)
  • Root Mean Square Error (RMSE)
  • R² / concordance correlation coefficient

5.3 External Validation

  • Repeat Table 2 metrics for each external cohort
  • Note if threshold was re-derived or fixed from development set

5.4 Subgroup Analysis (Table 3)

  • Performance stratified by key subgroups
  • Forest plot recommended for visual summary

5.5 Sensitivity / Supplementary Analyses

  • If applicable: performance under data augmentation, different thresholds, model ablation

Results writing rules:

  • Past tense throughout
  • No "why" statements — no interpretation
  • Every table/figure cited in order
  • Point estimate + 95% CI for every metric

6. Discussion

Structure: Answer 6 questions in order

Paragraph 1 — Main Finding (MANDATORY opening)

State the primary result and its clinical meaning in 2–3 sentences.

"We developed and externally validated a deep learning model for [task] achieving AUROC 0.91 (95% CI 0.88–0.94), demonstrating..."

Paragraph 2 — What Is Different from Prior Work

  • Compare your key metrics to the best-cited prior results
  • Explain why your approach differs: more data, prospective design, external validation, fairness

Paragraph 3 — What Is Similar to Prior Work

  • Acknowledges concordant findings to reinforce validity
  • Builds credibility rather than dismissing prior literature

Paragraph 4 — How Results Sections Correlate

  • Synthesizes subgroup, calibration, and primary findings
  • Draws internal consistency conclusions

Paragraph 5 — Clinical Implications for Practitioners

  • Workflow integration: where does this model fit?
  • Which patients benefit most?
  • What human oversight is still needed?

Paragraph 6 — Research Implications

  • What should the field study next?
  • What methodological gaps remain?

Paragraph 7 — Limitations (MANDATORY)

Standard limitations to address:

  • Retrospective design (if applicable)
  • Single-center development (if applicable)
  • Missing subgroup data
  • Lack of prospective outcome data
  • Threshold generalizability

Paragraph 8 — Conclusion (MANDATORY final paragraph)

  • 2–4 sentences
  • Restate main finding + clinical implication
  • No new data or citations

7. Tables Reference

Table 1. Baseline Characteristics

VariableDevelopment (n=X)External Validation (n=X)
Age, years, mean ± SD
Female sex, n (%)
[Primary outcome], n (%)

Abbreviations: SD = standard deviation.

Table 2. Model Performance

MetricInternal ValidationExternal Validation
AUROC (95% CI)0.91 (0.88–0.94)0.89 (0.85–0.93)
AUPRC (95% CI)
Sensitivity
Specificity
PPV
NPV

Abbreviations: AUROC = Area under the receiver operating characteristic curve; AUPRC = Area under the precision-recall curve; PPV = Positive predictive value; NPV = Negative predictive value. Threshold: Sensitivity, Specificity, PPV, and NPV calculated at the Youden Index threshold (threshold = 0.XX on internal validation set).

Table 3. Subgroup Analysis

Report AUROC by: Age group, Sex, Disease severity (at minimum).


8. Figures Reference

FigureContentRequired?
Figure 1Patient/data flowchartAlways
Figure 2ROC curve (with CI band)Classification models
Figure 3Calibration curveAlways
Figure 4Subgroup forest plotRecommended
Figure 5Decision curve analysisRecommended

9. Submission Checklist

  • Title ≤ 15 words, includes study design
  • Abstract written last, includes threshold statement for classification
  • Ethics statement is the first Methods subsection
  • LLM use disclosed if applicable
  • Figure 1 is a flowchart with exact exclusion numbers
  • Table 2 footnote explicitly states threshold and how it was selected
  • All metrics reported with 95% CI
  • No F1, recall, or accuracy as primary metrics
  • Results contain no interpretation
  • Discussion addresses all 6 questions
  • Limitations section present
  • Final paragraph is Conclusion only
  • Code/model available on GitHub or HuggingFace
  • TRIPOD+AI checklist completed (attach as supplement)
  • Every abbreviation, including dataset and model short names (PTB-XL, MIMIC-IV-ECG, CODE-15%), expanded at first use
  • No em dashes anywhere in manuscript

Frequently asked questions

What does the Manuscript Writing AI skill do?

Full guide for writing a medical AI manuscript from scratch, covering all sections (Introduction, Methods, Results, Discussion, Abstract) with structure, style, and reporting standards. Use when drafting a new AI manuscript or when you need section-by-section writing instructions beyond TRIPOD-AI results reporting.

Why use Manuscript Writing on TypingMind?

Because you install it once and use it with any model. Manuscript Writing is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Manuscript Writing in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HeartWise-AI/ai-writing-skills/tree/main/manuscript-writing. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Manuscript Writing?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Manuscript Writing?

As many as you like. As long as a model supports skills, you can use Manuscript Writing with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Manuscript Writing AI skill free?

It is published on GitHub by HeartWise-AI. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇