Build complete medical academic lecture presentations as .pptx files. Handles the full lecture lifecycle - structured intake, medicine-specific slide architecture, speaker notes, AI image generation via Gemini, light PubMed reference search, and optional phased preparation when a deadline is provided. Trigger when user says "make a lecture on X", "create a lecture on X", "build a lecture on X", "prepare a talk on X", "lecture on X", or any request to create a medical teaching presentation or lecture slide deck.
Builds structured medical lecture .pptx presentations with speaker notes, evidence-based content, and optional AI-generated visuals. Always run in full mode — no shortcuts.
Use AskUserQuestion to collect all of the following at once:
Recommend based on duration at ~1.5 min/slide:
| Duration | Recommended slides |
|---|---|
| 20 min | 13–14 |
| 30 min | 18–20 |
| 45 min | 28–30 |
| 60 min | 38–40 |
Present the recommendation and ask the user to confirm or adjust before proceeding.
Create a project subfolder at the user's specified output path:
lecture-[topic-slug]/
├── lecture-brief.md ← human-editable direction file (user can update anytime)
├── outline.md ← structured slide-by-slide content
├── progress.md ← LQS log (phased prep only)
├── resources/
│ ├── references.md ← collected or user-provided references
│ ├── daily-YYYY-MM-DD.md ← Phase 1 daily collection logs (phased prep only)
│ └── synthesis.md ← end-of-Phase-1 synthesis (phased prep only)
└── [topic-slug]-lecture.pptx
Slugify the topic: lowercase, hyphens, no special characters (e.g., "Atrial Fibrillation" → atrial-fibrillation).
Always create lecture-brief.md at setup using the template in references/scheduled-prep.md — even for immediate development. It anchors the lecture goals and the user can edit it to redirect at any time.
User-provided: Ask them to paste references now or drop them into resources/references.md. Use Vancouver/AMA numeric citation format.
Light PubMed search: Use WebSearch to find 5–8 key papers. Search query format: site:pubmed.ncbi.nlm.nih.gov [topic] [relevant subtopics]. Save results to resources/references.md with title, authors, journal, year, PMID. Flag to user that citations must be verified before delivery.
Ask the user:
"Do you want to sleep on it — let me collect resources and build the outline over multiple days so the slides are ~80% ready when you sit down to review? Or should I develop the slides now?"
references/scheduled-prep.md for full setup. Uses the deadline provided in intake to calculate phase lengths.If the user chose "sleep on it" but gave no deadline or a deadline ≤2 days away, flag that phased prep requires at least 3 days and offer to proceed with immediate development instead.
Build outline.md using the medicine-specific slide structure. See references/slide-structure.md for full structure, slide types, visual recommendations, and audience calibration guidance.
Key rules:
Format each slide in outline.md:
## Slide N: [Title]
**Type:** [slide type from slide-structure.md]
**Content:**
- bullet 1
- bullet 2
**Speaker Notes:**
- talking point 1
- talking point 2
**Image:** [None | anatomical diagram: description | pathophysiology flowchart: description | data visualization: description | clinical scenario illustration: description]
If user opted for AI-generated images:
outline.md — identify all slides with a non-None image recommendationbaoyu-danger-gemini-web skill for each imageresources/ and update the image field in outline.md with the filenameInvoke anthropic-skills:pptx to build the final presentation from outline.md.
Instructions to pass:
outline.md directly to a slide[topic-slug]-lecture.pptx inside the project folderAfter generation, report:
references/slide-structure.md — full medicine-specific slide architecture, types, ordering, and audience calibrationreferences/scheduled-prep.md — phased preparation workflow for deadline-driven lectures