Manuscript Writingのロゴ

Manuscript Writing

組織
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.

概要

公開者HeartWise-AI
リポジトリai-writing-skills
スキル名manuscript-writing
スター
28
フォーク
6
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    HeartWise-AIがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Manuscript Writing」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/manuscript-writing
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでManuscript Writingを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にManuscript Writingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Manuscript Writingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

よくある質問

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.

TypingMindでManuscript Writingを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Manuscript Writingはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにManuscript Writingをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/HeartWise-AI/ai-writing-skills/tree/main/manuscript-writingを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Manuscript Writingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Manuscript Writingで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもManuscript Writingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Manuscript Writing」は無料ですか?

HeartWise-AIがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇