Logo vun Protocol Writing

Protocol Writing

Organisatioun
HeartWise-AI
protocol-writing

Guide for writing high-quality clinical research protocols for AI-based diagnostic studies, validation trials, and retrospective analyses. Use when drafting or reviewing a research protocol for AI in medicine.

Iwwersiicht

EditeurHeartWise-AI
Repositoryai-writing-skills
Skill-Nummprotocol-writing
Stären
28
Forks
6
Matgeliwwert Fichieren
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum HeartWise-AI op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Protocol Writing an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/HeartWise-AI/ai-writing-skills/tree/main/protocol-writing
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

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/protocol-writing .claude/skills/protocol-writing
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Protocol Writing an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Protocol Writing automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Protocol Writing net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Research Protocol Writing

Overview

This skill guides the generation of high-quality clinical research protocols for AI-based diagnostic studies, validation trials, and retrospective analyses.

Protocol Structure

1. Title Page

  • Full protocol title (descriptive, includes study design)
  • Protocol version and date
  • Principal investigator(s) and affiliations
  • Funding sources
  • Ethics approval reference (if applicable)

2. Synopsis

One-page summary containing:

  • Study title
  • Objectives (primary, secondary, exploratory)
  • Study design
  • Population (inclusion/exclusion)
  • Sample size
  • Primary endpoint
  • Timeline

3. Introduction

Structure:

  1. Clinical context (2-3 sentences): Disease burden, current diagnostic standard
  2. Knowledge gap (2-3 sentences): What is unknown or suboptimal
  3. Proposed solution (1-2 sentences): How AI/technology addresses the gap
  4. Study rationale (1-2 sentences): Why this study is needed now

Style:

  • No headers within introduction
  • Flow naturally from problem to solution
  • Cite key statistics (prevalence, mortality, diagnostic accuracy)
  • Avoid overpromising

4. Literature Review / Background

Structure:

  1. Disease pathophysiology (brief)
  2. Current diagnostic approaches and limitations
  3. Prior AI/ML work in this domain
  4. Foundation models or methods being leveraged
  5. Knowledge gaps justifying the study

Style:

  • Concise paragraphs, not exhaustive
  • Focus on directly relevant prior work
  • Identify specific gaps your study addresses
  • 1-2 pages maximum

5. Objectives and Hypotheses

Format:

3.1 Primary Objective
To [verb] the [metric] of [intervention/model] for [outcome] using [comparator].

3.2 Secondary Objectives
- To develop/validate [model B, C, etc.]
- To assess performance stratified by [subgroups]
- To evaluate [additional endpoints]

3.3 Exploratory Objectives
- To investigate [mechanistic questions]
- To explore [hypothesis-generating analyses]

Rules:

  • One primary objective only
  • Objectives are measurable and time-bound
  • Match each objective to evaluation criteria

6. Evaluation Criteria

Format as table:

ObjectiveEvaluation CriteriaJustification
PrimaryAUROC, sensitivity, specificity, PPV, NPVStandard diagnostic metrics
SecondarySubgroup AUROC, calibrationGeneralizability assessment

Standard metrics for diagnostic AI:

  • AUROC, AUPRC
  • Sensitivity at fixed specificity (80%, 90%)
  • Specificity at fixed sensitivity (80%, 90%)
  • PPV, NPV
  • Calibration (observed vs. predicted)
  • Net reclassification improvement (NRI)

7. Study Design and Population

7.1 Design Statement Single sentence: "This is a [retrospective/prospective] [cohort/validation/diagnostic accuracy] study..."

7.2 Population

  • Source population and setting
  • Timeframe
  • Label definitions (positive, negative, extended controls)

7.3 Inclusion Criteria

  • Numbered list
  • Age, diagnosis, data availability requirements
  • Be specific about imaging/ECG quality standards

7.4 Exclusion Criteria

  • Conditions that confound the outcome
  • Prior treatments affecting the index test
  • Data quality exclusions

8. Variables and Data Sources

Format as table:

CategoryVariableSourceIn Biobank?
DemographicsAge, sexEHRYes
ClinicalBMI, comorbiditiesClinic DBNo

Categories:

  • Demographics/Clinical
  • Genetic
  • ECG parameters
  • Imaging (Echo, CMR)
  • Outcomes/Labels

9. Outcomes

9.1 Primary Outcome

  • Clear definition with thresholds
  • Source of ascertainment
  • Adjudication process (if applicable)

9.2 Secondary Outcomes

  • List with definitions

9.3 Label Definitions (for AI studies)

LabelDefinition
Positive[Specific criteria]
Negative[Specific criteria]
Extended Negative[Controls without disease]

10. Methods

10.1 Data Collection

  • Sources, extraction process, quality control
  • Reference biobanks/registries used

10.2 Data Preprocessing

  • Signal processing (filtering, normalization)
  • Image preprocessing (resolution, cropping)
  • Missing data handling

10.3 Modeling For each model, specify:

Model [X]: [Name]
- Architecture: [backbone, layers]
- Input: [data type, dimensions]
- Pretraining: [foundation model, if applicable]
- Fine-tuning strategy: [frozen layers, learning rate]
- Output: [prediction type]
- Loss function: [BCE, MSE, etc.]

Hyperparameter Table:

ParameterValueRationale
OptimizerAdamWWeight decay regularization
Learning rate1e-4Conservative for fine-tuning
Batch size64Memory/stability tradeoff
Epochs100Early stopping, patience=15

Ablation Experiments Table:

ExperimentDescription
A1[Variation to test]
A2[Variation to test]

11. Statistical Analysis

11.1 Sample Size

  • Power calculation or justification for available sample
  • Expected prevalence, desired precision

11.2 Primary Analysis

  • Metrics computed with 95% CI (bootstrap or DeLong)
  • Comparison to reference standard

11.3 Secondary Analyses

  • Subgroup analyses (prespecified)
  • Sensitivity analyses

11.4 Software

  • Python (scikit-learn, PyTorch), R, SAS
  • Version numbers

12. Training and Validation Strategy

ParameterValue
Data split70% train / 15% val / 15% test
Cross-validation5-fold stratified
StratificationBy outcome and key confounders
Random seedFixed (e.g., 42)

13. Ethics and Data Governance

  • IRB/REB approval status
  • Consent requirements (or waiver justification)
  • Data security measures
  • Reference to data governance framework (e.g., Cadre de Gestion)

14. Timeline

PhaseActivitiesDuration
1Data preparationMonths 1-3
2Model developmentMonths 4-8
3ValidationMonths 9-12
4Prospective pilotMonths 13-18

15. Feasibility

Brief section addressing:

  • Data availability and sample size adequacy
  • Computational resources
  • Team expertise
  • Funding

16. References

Standard citation format (Vancouver or APA)


Style Guidelines

General:

  • Use active voice
  • Be specific and quantitative
  • Avoid jargon; define abbreviations
  • No em dashes; use commas or parentheses
  • No excessive hedging

Tables over prose:

  • Hyperparameters → table
  • Variables → table
  • Timeline → table
  • Inclusion/exclusion → bulleted list

Scientific precision:

  • Report thresholds (e.g., "≥70% stenosis" not "significant stenosis")
  • Specify units
  • Define all acronyms at first use

Formatting:

  • Numbered sections (1, 1.1, 1.1.1)
  • Bold for section headers
  • Minimal use of italics
  • No bullet points in flowing text; reserve for lists

Quick Reference: Section Lengths

SectionTarget Length
Synopsis1 page
Introduction0.5-1 page
Background1-2 pages
Objectives0.5 page
Methods3-5 pages
Statistical Analysis1-2 pages
Ethics0.5 page
Timeline/Feasibility0.5 page each

Checklist Before Submission

  • Primary objective is single and measurable
  • Inclusion/exclusion criteria are specific
  • Outcomes have clear definitions with thresholds
  • Sample size justified
  • All models have architecture and hyperparameters specified
  • Ablation experiments defined
  • Data sources and biobank coverage clarified
  • Ethics/consent addressed
  • Timeline realistic
  • All abbreviations defined

Heefeg gestallte Froen

Wat mécht de KI-Skill Protocol Writing?

Guide for writing high-quality clinical research protocols for AI-based diagnostic studies, validation trials, and retrospective analyses. Use when drafting or reviewing a research protocol for AI in medicine.

Firwat Protocol Writing op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Protocol Writing besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Protocol Writing an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/HeartWise-AI/ai-writing-skills/tree/main/protocol-writing an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Protocol Writing benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Protocol Writing benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Protocol Writing domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Protocol Writing gratis?

De Skill gëtt vum HeartWise-AI op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇