Write-Protocol Skill
You are helping a medical researcher draft a research protocol for IRB/ethics committee submission. This skill generates the scientific core of the protocol while providing structured skeletons for institution-specific sections.
Scope
This skill generates 4 core sections with full prose:
- Background and Rationale
- Study Design and Eligibility Criteria
- Sample Size Justification
- Statistical Analysis Plan
The remaining 6 sections are provided as structured skeletons with [TODO] markers,
because they vary significantly across institutions, countries, and regulatory frameworks.
Important: This protocol is a STARTING POINT. Every institution has its own IRB submission form and requirements. The generated protocol must be adapted to your institution's specific format before submission.
Reference Files
- Protocol template:
${CLAUDE_SKILL_DIR}/references/protocol_template.md-- complete 10-section structure with formatting guidance - Ethics checklist:
${CLAUDE_SKILL_DIR}/references/ethics_checklist.md-- jurisdiction-specific ethical requirements
Read both reference files before generating a protocol draft.
Cross-Skill Integration
- Input from design-study: Study design recommendations, analysis unit, comparator design, validation strategy
- Input from calc-sample-size:
protocol/sample_size_justification.md(canonical IRB-ready prose) +protocol/sample_size_calc.{R,py}(reproducible code). Embedsample_size_justification.mdVERBATIM into Methods §Sample Size — do not rephrase numbers (per~/.claude/rules/numerical-safety.md). - Input from search-lit: Background references with verified citations
- Input from define-variables:
variable_operationalization.md— literature-grounded definitions, cutoffs, DB-variable mappings for the Methods section. Precondition: if the study is observational and no operationalization artifact exists, call/define-variablesbefore drafting Methods. Do not invent phenotype/cutoff definitions from the data dictionary inside this skill. - Pipeline position: search-lit -> design-study -> calc-sample-size -> define-variables -> write-protocol -> manage-project
When prior skill outputs are available, incorporate them directly. When they are not, prompt the user or call the relevant skill.
Communication Rules
- Communicate with the user in their preferred language.
- Use English for all protocol content, statistical terminology, and medical terminology.
- Be explicit about what is generated versus what requires institutional input.
Required Inputs
Collect all required inputs before generating. Ask one question at a time if information is missing.
- Research question / hypothesis -- specific, testable
- Study type -- retrospective cohort, prospective cohort, cross-sectional, RCT, diagnostic accuracy, case-control, case series
- Target population -- who, where, when
- Primary outcome -- what you are measuring
- Secondary outcomes (if any)
Optional Inputs (enhance quality if available)
- design-study output -- if
/design-studywas already run, load its recommendations - calc-sample-size output -- if
/calc-sample-sizewas already run, load its results and IRB text - Key references -- DOIs or search terms for background section
- Institution name -- for header and ethics section guidance
- Regulatory context -- Korea (PIPA), US (HIPAA/Common Rule), EU (GDPR), other
Protocol Structure -- 10 Sections
Core Sections (Fully Generated)
Section 1: Background and Rationale (400-600 words)
Generate full prose covering:
- Clinical context: disease burden, current practice, knowledge gap
- Literature support: call
/search-litif key references are not provided; every citation must have a verified DOI or PMID - Rationale: why this study is needed, what it adds to existing evidence
- Research question: clear statement of the hypothesis or research question
Do not use bullet points in the output. Write in full paragraphs with logical flow from clinical context through knowledge gap to research question.
Section 2: Study Design and Eligibility Criteria (300-500 words)
Generate full prose plus structured criteria lists:
- Study design with justification (why this design answers this question)
- Setting: single-center vs multi-center, institution description
- Study period: start and end dates or planned duration
- Inclusion criteria (numbered list)
- Exclusion criteria (numbered list)
If design-study output is available, incorporate its recommendations on:
- Analysis unit (patient vs lesion vs exam)
- Comparator design
- Validation strategy
- Potential leakage risks and mitigations
Section 3: Sample Size Justification (150-300 words)
- If
protocol/sample_size_justification.mdexists (calc-sample-size output): embed VERBATIM. Do not rephrase numbers. - If not available: prompt the user to run
/calc-sample-sizefirst; only fall back to a basic justification if the user explicitly declines. - Must include: test type, expected effect size (with literature source), alpha level, power, attrition adjustment
- Final statement: "We plan to enroll N participants."
Section 4: Statistical Analysis Plan (300-500 words)
Generate full prose covering:
- Descriptive statistics: continuous variables as mean (SD) or median (IQR); categorical variables as count (%)
- Primary analysis: statistical test, assumptions, handling of violations
- Secondary analyses: pre-specified
- Subgroup analyses: pre-specified, with interaction tests
- Missing data: handling strategy (complete case, multiple imputation, sensitivity analysis)
- Software: name and version (e.g., R 4.4.0, Python 3.12, SAS 9.4)
- Significance level: two-sided alpha = 0.05 unless otherwise justified
Skeleton Sections (TODO Markers)
Section 5: Study Title and Registration
[TODO: Full study title]
[TODO: Short title / acronym]
[TODO: Clinical trial registry number if applicable (e.g., ClinicalTrials.gov, CRIS)]
[TODO: Protocol version number and date]
Section 6: Data Collection and Management
[TODO: List variables to be collected -- use your institution's case report form (CRF) template]
[TODO: Data collection method (chart review / prospective forms / electronic extraction)]
[TODO: Data storage and security measures (encrypted database, access controls)]
[TODO: Quality assurance procedures (double data entry, range checks)]
[TODO: Data retention period per institutional policy]
Section 7: Ethical Considerations
[TODO: IRB/Ethics committee name and expected submission date]
[TODO: Informed consent process -- or justification for waiver]
[TODO: Patient privacy and data protection measures]
Include regulatory guidance by jurisdiction:
- Korea: Personal Information Protection Act (PIPA), Bioethics and Safety Act
- United States: HIPAA Privacy Rule, Common Rule (45 CFR 46)
- European Union: GDPR Article 9 (health data), Clinical Trials Regulation (EU 536/2014)
[TODO: Confirm applicable regulations with your IRB office]
Refer to ${CLAUDE_SKILL_DIR}/references/ethics_checklist.md for the full checklist.
Section 8: Timeline and Milestones
[TODO: Adapt to your project schedule]
| Phase | Activity | Duration | Target Date |
|-------|---------------------------------------|-------------|-------------|
| 1 | IRB approval | [X] weeks | [TODO] |
| 2 | Data collection / Patient enrollment | [X] months | [TODO] |
| 3 | Data cleaning and analysis | [X] months | [TODO] |
| 4 | Manuscript preparation | [X] months | [TODO] |
| 5 | Submission | -- | [TODO] |