Logotipo de Manuscript Writing

Manuscript Writing

Organización
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.

Descripción general

EditorHeartWise-AI
Repositorioai-writing-skills
Nombre de la habilidadmanuscript-writing
Estrellas
28
Forks
6
Archivos incluidos
Solo instrucciones
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando la petición encaja con la habilidad.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por HeartWise-AI en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Manuscript Writing en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/manuscript-writing
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Manuscript Writing en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición encaja con la habilidad, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Manuscript Writing automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Manuscript Writing no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición que encaja con la habilidad, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Manuscript Writing en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Manuscript Writing está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Manuscript Writing en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/HeartWise-AI/ai-writing-skills/tree/main/manuscript-writing. TypingMind lee el archivo SKILL.md de esa carpeta e instala su contenido como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Manuscript Writing?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Manuscript Writing?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Manuscript Writing con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Manuscript Writing?

HeartWise-AI la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver el directorio

Crea ya tu propio espacio de trabajo con IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇