Structures clinical trial protocol design with study type selection, endpoint definition, and power calculation. Use when designing trials, writing protocols, or calculating sample sizes.
Clinical trial design is the single highest-leverage decision in drug development. A poorly designed trial wastes years and millions of dollars; a well-designed one produces definitive evidence that regulators, payers, and clinicians can act on. This skill encodes the protocol-design workflow mandated by ICH-GCP E6(R2) Section 6, FDA 21 CFR 312.23(a)(6), and EMA scientific-advice guidance so that every protocol draft starts from regulatory-grade foundations rather than ad-hoc outlines.
Checkpoint A — Intake and Scoping
Before any design work begins, confirm the following inputs with the requesting team:
Required Intake Questions
What is the investigational product (drug, biologic, device, combination)?
What is the current development phase (Phase I, II, III, IV, or exploratory)?
What is the target indication and patient population (including age range, disease severity, prior treatments)?
Is there an existing Investigator's Brochure (IB) or Device Master File?
What regulatory pathway is targeted (FDA 505(b)(1), 505(b)(2), BLA, PMA, De Novo, EMA centralized)?
Are there existing preclinical or earlier-phase data informing dose selection?
What is the competitive landscape — are there approved therapies forming the standard of care comparator?
What is the sponsor's target product profile (TPP)?
Are there specific regulatory interactions (pre-IND, Type B, scientific advice) already completed?
What is the anticipated timeline from first-patient-in to database lock?
Phase IV: Pragmatic, registry-based, or post-marketing commitment designs
For each architecture, document:
Rationale for selection (cite ICH E9 and E10 for choice of control)
Blinding strategy (open-label, single-blind, double-blind, triple-blind) with justification
Randomization method (simple, block, stratified, adaptive) per ICH E9 Section 2.3
Use of placebo vs. active comparator vs. standard-of-care with ethical justification
Step 2 — Define Endpoints and Estimands
Specify primary, secondary, and exploratory endpoints following the ICH E9(R1) estimand framework:
Primary endpoint: Must be clinically meaningful or a validated surrogate. Define the variable, population, intercurrent-event handling strategy (treatment-policy, composite, hypothetical, principal-stratum, while-on-treatment), and summary measure.
Secondary endpoints: Rank-order by regulatory and clinical importance. Ensure multiplicity control plan exists (Hochberg, Bonferroni-Holm, hierarchical testing, graphical approach).
Exploratory endpoints: Biomarkers, patient-reported outcomes (PROs using validated instruments like EQ-5D, SF-36, disease-specific tools), pharmacokinetic/pharmacodynamic parameters.
Safety endpoints: Adverse events coded to MedDRA (latest version), laboratory abnormalities by CTCAE grading, ECG parameters, vital signs.
Step 3 — Calculate Sample Size and Statistical Power
Perform formal power calculations and document every assumption:
Effect size: Minimum clinically important difference (MCID) — justify from literature, earlier phases, or regulatory guidance
Variability estimate: Standard deviation or event rate from prior data; apply conservative estimates
Alpha level: Typically 0.05 two-sided; adjust for interim analyses (alpha-spending functions: O'Brien-Fleming, Lan-DeMets)
Power: 80% minimum; 90% preferred for pivotal trials
Dropout rate: Inflate sample by expected attrition (typically 10–20% for chronic disease trials)
Statistical test: Specify exact test (log-rank, ANCOVA, MMRM, CMH, etc.) matching the primary analysis
Software and method: Document tool used (EAST, nQuery, PASS, R package) and version
Present results as: N per arm, total N, power achieved at specified effect size, sensitivity analyses at ±20% of assumed effect.
Step 4 — Draft Eligibility Criteria
Write inclusion/exclusion criteria that balance internal validity with generalizability:
Inclusion criteria: Confirmed diagnosis (specify method — histology, imaging, lab value), age range, disease stage/severity score, adequate organ function (define thresholds for hepatic, renal, hematologic), informed consent capacity
Exclusion criteria: Contraindicated comorbidities, prior/concurrent therapies with washout periods, pregnancy/lactation, known hypersensitivity, psychiatric conditions affecting compliance, participation in another interventional trial within defined window
Vulnerable populations: Apply 21 CFR Part 50 Subparts B-D protections (children, prisoners, pregnant women); justify inclusion or exclusion per FDA guidance on broadening eligibility
Flag overly restrictive criteria that would compromise recruitment feasibility or external validity.
Stopping rules: Futility boundaries (beta-spending), safety stopping rules (predefined thresholds for specific AEs), DSMB charter triggers
DSMB/DMC: Determine whether required (generally yes for Phase III, recommended for Phase II); define composition, meeting frequency, charter elements
Step 7 — Write Protocol Synopsis
Compile the protocol synopsis per ICH E6(R2) Section 6 with these required elements:
Section
Content
Title
Full protocol title with compound identifier
Protocol Number
Sponsor's unique identifier
Phase
Development phase
Objectives
Primary, secondary, exploratory — one sentence each
Design
Study type, blinding, randomization, duration
Population
Key inclusion/exclusion, target N
Endpoints
Primary, secondary, safety
Statistical Methods
Primary analysis, sample size justification
Duration
Per-patient and overall study duration
Checkpoint B — Design Review
Before advancing to full protocol draft, verify:
Primary endpoint aligns with the TPP and regulatory pathway expectations
Sample size is adequately powered with documented assumptions
Eligibility criteria balance validity and feasibility — recruitment projections are realistic
Randomization and blinding strategy are operationally implementable
Safety monitoring plan meets ICH-GCP and FDA 21 CFR 312.32 requirements
Schedule of assessments captures all endpoint data without excessive patient burden
Comparator choice is ethically and scientifically justified per ICH E10
Statistical analysis plan outline addresses multiplicity, missing data, and estimand specification
Protocol synopsis has been reviewed by regulatory affairs, biostatistics, and clinical operations
Quality Audit
All design decisions are traceable to regulatory guidance or published evidence
Effect-size assumptions cite specific prior data sources
Estimand framework is explicitly defined per ICH E9(R1)
MedDRA version for AE coding is specified
CTCAE version for severity grading is specified
Randomization methodology is described with sufficient detail for reproducibility
Adaptive design features (if any) are pre-specified with simulation results
CONSORT-compliant participant flow can be generated from the design
Protocol deviations likely to occur are anticipated with mitigation strategies
All [VERIFY] flags have been resolved or escalated
Guidelines
Never fabricate effect-size estimates — always anchor to published data or earlier-phase results
Apply CONSORT 2010 standards to ensure the design supports transparent reporting
For non-inferiority trials, justify the non-inferiority margin per FDA guidance ("Non-Inferiority Clinical Trials to Establish Effectiveness")
For adaptive designs, follow FDA guidance on "Adaptive Designs for Clinical Trials of Drugs and Biologics" (2019)
Always consider patient diversity (ICH E17 for multi-regional trials) and FDA guidance on enhancing diversity in clinical trials
Distinguish between regulatory endpoints (for approval) and clinical endpoints (for practice-changing evidence)
When recommending Bayesian designs, pre-specify prior distributions and justify informativeness
Escalate to senior biostatistician and regulatory affairs when pivotal-trial design choices involve novel endpoints or surrogate markers
Mark any assumption lacking empirical support with [VERIFY] for human review
This skill produces design documents — it does not replace protocol committee review or IRB approval
1---2name: designing-clinical-trials3description: Structures clinical trial protocol design with study type selection, endpoint definition, and power calculation. Use when designing trials, writing protocols, or calculating sample sizes.4---56# Designing Clinical Trials
78## Why This Skill Exists
910Clinical trial design is the single highest-leverage decision in drug development. A poorly designed trial wastes years and millions of dollars; a well-designed one produces definitive evidence that regulators, payers, and clinicians can act on. This skill encodes the protocol-design workflow mandated by ICH-GCP E6(R2) Section 6, FDA 21 CFR 312.23(a)(6), and EMA scientific-advice guidance so that every protocol draft starts from regulatory-grade foundations rather than ad-hoc outlines.
1112---
1314## Checkpoint A — Intake and Scoping
1516Before any design work begins, confirm the following inputs with the requesting team:
1718### Required Intake Questions
191. What is the investigational product (drug, biologic, device, combination)?
202. What is the current development phase (Phase I, II, III, IV, or exploratory)?
213. What is the target indication and patient population (including age range, disease severity, prior treatments)?
224. Is there an existing Investigator's Brochure (IB) or Device Master File?
235. What regulatory pathway is targeted (FDA 505(b)(1), 505(b)(2), BLA, PMA, De Novo, EMA centralized)?
246. Are there existing preclinical or earlier-phase data informing dose selection?
257. What is the competitive landscape — are there approved therapies forming the standard of care comparator?
268. What is the sponsor's target product profile (TPP)?
279. Are there specific regulatory interactions (pre-IND, Type B, scientific advice) already completed?
2810. What is the anticipated timeline from first-patient-in to database lock?
2930### Required Source Documents
31- Investigator's Brochure (current edition)
32- Target Product Profile or label concept
33- Preclinical toxicology and pharmacology summaries
34- Earlier-phase clinical data (if any)
35- Regulatory meeting minutes (pre-IND, EOP2, scientific advice)
36- Relevant FDA guidance documents for the therapeutic area
37- Published trials in the same indication (for benchmarking)
3839---
4041## Step 1 — Select Study Design Architecture
4243Determine the trial type based on development phase and regulatory objectives:
4445- **Phase I**: Dose-escalation (3+3, mTPI, BOIN, CRM); single-ascending / multiple-ascending dose; food-effect; first-in-human
46- **Phase II**: Randomized dose-finding (proof-of-concept); Simon two-stage (oncology); adaptive seamless Phase II/III
47- **Phase III**: Parallel-group superiority, non-inferiority, or equivalence; factorial; crossover (where appropriate)
48- **Phase IV**: Pragmatic, registry-based, or post-marketing commitment designs
4950For each architecture, document:
511. Rationale for selection (cite ICH E9 and E10 for choice of control)
522. Blinding strategy (open-label, single-blind, double-blind, triple-blind) with justification
533. Randomization method (simple, block, stratified, adaptive) per ICH E9 Section 2.3
544. Use of placebo vs. active comparator vs. standard-of-care with ethical justification
5556---
5758## Step 2 — Define Endpoints and Estimands
5960Specify primary, secondary, and exploratory endpoints following the ICH E9(R1) estimand framework:
6162- **Primary endpoint**: Must be clinically meaningful or a validated surrogate. Define the variable, population, intercurrent-event handling strategy (treatment-policy, composite, hypothetical, principal-stratum, while-on-treatment), and summary measure.
63- **Secondary endpoints**: Rank-order by regulatory and clinical importance. Ensure multiplicity control plan exists (Hochberg, Bonferroni-Holm, hierarchical testing, graphical approach).
64- **Exploratory endpoints**: Biomarkers, patient-reported outcomes (PROs using validated instruments like EQ-5D, SF-36, disease-specific tools), pharmacokinetic/pharmacodynamic parameters.
65- **Safety endpoints**: Adverse events coded to MedDRA (latest version), laboratory abnormalities by CTCAE grading, ECG parameters, vital signs.
6667---
6869## Step 3 — Calculate Sample Size and Statistical Power
7071Perform formal power calculations and document every assumption:
72731. **Effect size**: Minimum clinically important difference (MCID) — justify from literature, earlier phases, or regulatory guidance
742. **Variability estimate**: Standard deviation or event rate from prior data; apply conservative estimates
753. **Alpha level**: Typically 0.05 two-sided; adjust for interim analyses (alpha-spending functions: O'Brien-Fleming, Lan-DeMets)
764. **Power**: 80% minimum; 90% preferred for pivotal trials
775. **Dropout rate**: Inflate sample by expected attrition (typically 10–20% for chronic disease trials)
786. **Statistical test**: Specify exact test (log-rank, ANCOVA, MMRM, CMH, etc.) matching the primary analysis
797. **Software and method**: Document tool used (EAST, nQuery, PASS, R package) and version
8081Present results as: N per arm, total N, power achieved at specified effect size, sensitivity analyses at ±20% of assumed effect.
8283---
8485## Step 4 — Draft Eligibility Criteria
8687Write inclusion/exclusion criteria that balance internal validity with generalizability:
8889- **Inclusion criteria**: Confirmed diagnosis (specify method — histology, imaging, lab value), age range, disease stage/severity score, adequate organ function (define thresholds for hepatic, renal, hematologic), informed consent capacity
90- **Exclusion criteria**: Contraindicated comorbidities, prior/concurrent therapies with washout periods, pregnancy/lactation, known hypersensitivity, psychiatric conditions affecting compliance, participation in another interventional trial within defined window
91- **Vulnerable populations**: Apply 21 CFR Part 50 Subparts B-D protections (children, prisoners, pregnant women); justify inclusion or exclusion per FDA guidance on broadening eligibility
9293Flag overly restrictive criteria that would compromise recruitment feasibility or external validity.
9495---
9697## Step 5 — Design Visit Schedule and Assessments
9899Build the Schedule of Assessments (SoA) table:
1001011. **Screening period**: Duration (typically 14–28 days), required evaluations, rescreening rules
1022. **Treatment period**: Dosing schedule, visit windows (±days), required assessments per visit
1033. **Follow-up period**: Duration post-last-dose, safety follow-up requirements (typically 30 days for AEs, 90 days for SAEs or per protocol)
1044. **Assessment alignment**: Map each endpoint to specific visit assessments; ensure primary-endpoint data are collected at optimal timepoints
1055. **Burden assessment**: Evaluate total blood draws, imaging procedures, and visit frequency against patient burden; remove non-essential assessments
106107---
108109## Step 6 — Define Safety Monitoring and Stopping Rules
110111Specify the safety architecture:
112113- **Adverse event collection**: Define solicited vs. unsolicited AEs, collection period, severity grading (CTCAE v5 or investigator judgment), causality assessment method (WHO-UMC or Naranjo)
114- **Dose-limiting toxicity (DLT)** definitions (Phase I): Enumerate specific toxicities, grade thresholds, evaluation window
115- **Stopping rules**: Futility boundaries (beta-spending), safety stopping rules (predefined thresholds for specific AEs), DSMB charter triggers
116- **DSMB/DMC**: Determine whether required (generally yes for Phase III, recommended for Phase II); define composition, meeting frequency, charter elements
117118---
119120## Step 7 — Write Protocol Synopsis
121122Compile the protocol synopsis per ICH E6(R2) Section 6 with these required elements:
123124| Section | Content |
125|---------|---------|
126| Title | Full protocol title with compound identifier |
127| Protocol Number | Sponsor's unique identifier |
128| Phase | Development phase |
129| Objectives | Primary, secondary, exploratory — one sentence each |
130| Design | Study type, blinding, randomization, duration |
131| Population | Key inclusion/exclusion, target N |
132| Endpoints | Primary, secondary, safety |
133| Statistical Methods | Primary analysis, sample size justification |
134| Duration | Per-patient and overall study duration |
135136---
137138## Checkpoint B — Design Review
139140Before advancing to full protocol draft, verify:
1411421. [ ] Primary endpoint aligns with the TPP and regulatory pathway expectations
1432. [ ] Sample size is adequately powered with documented assumptions
1443. [ ] Eligibility criteria balance validity and feasibility — recruitment projections are realistic
1454. [ ] Randomization and blinding strategy are operationally implementable
1465. [ ] Safety monitoring plan meets ICH-GCP and FDA 21 CFR 312.32 requirements
1476. [ ] Schedule of assessments captures all endpoint data without excessive patient burden
1487. [ ] Comparator choice is ethically and scientifically justified per ICH E10
1498. [ ] Statistical analysis plan outline addresses multiplicity, missing data, and estimand specification
1509. [ ] Protocol synopsis has been reviewed by regulatory affairs, biostatistics, and clinical operations
151152---
153154## Quality Audit
155156- [ ] All design decisions are traceable to regulatory guidance or published evidence
157- [ ] Effect-size assumptions cite specific prior data sources
158- [ ] Estimand framework is explicitly defined per ICH E9(R1)
159- [ ] MedDRA version for AE coding is specified
160- [ ] CTCAE version for severity grading is specified
161- [ ] Randomization methodology is described with sufficient detail for reproducibility
162- [ ] Adaptive design features (if any) are pre-specified with simulation results
163- [ ] CONSORT-compliant participant flow can be generated from the design
164- [ ] Protocol deviations likely to occur are anticipated with mitigation strategies
165- [ ] All [VERIFY] flags have been resolved or escalated
166167---
168169## Guidelines
1701711. Never fabricate effect-size estimates — always anchor to published data or earlier-phase results
1722. Apply CONSORT 2010 standards to ensure the design supports transparent reporting
1733. For non-inferiority trials, justify the non-inferiority margin per FDA guidance ("Non-Inferiority Clinical Trials to Establish Effectiveness")
1744. For adaptive designs, follow FDA guidance on "Adaptive Designs for Clinical Trials of Drugs and Biologics" (2019)
1755. Always consider patient diversity (ICH E17 for multi-regional trials) and FDA guidance on enhancing diversity in clinical trials
1766. Distinguish between regulatory endpoints (for approval) and clinical endpoints (for practice-changing evidence)
1777. When recommending Bayesian designs, pre-specify prior distributions and justify informativeness
1788. Escalate to senior biostatistician and regulatory affairs when pivotal-trial design choices involve novel endpoints or surrogate markers
1799. Mark any assumption lacking empirical support with [VERIFY] for human review
18010. This skill produces design documents — it does not replace protocol committee review or IRB approval
Run npx skillmds add majiayu000/designing-clinical-trials in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Structures clinical trial protocol design with study type selection, endpoint definition, and power calculation. Use when designing trials, writing protocols, or calculating sample sizes. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.