Generate a compelling PowerPoint lecture presentation from an intelligent textbook (MkDocs project with chapters, learning graph, and course description). The presentation embodies McLuhan's "the medium IS the message" — every slide exemplifies the principle it teaches. Uses pptxgenjs to create .pptx files with speaker notes, visual design, and 4-act storytelling structure. Use this skill whenever the user wants to create a presentation, lecture deck, slide deck, or PowerPoint from a textbook, course, or educational content. Also use when converting book content into presentation format, or when the user says "create slides", "make a deck", "build a presentation", "lecture slides", or "presentation from the textbook".
Version: 1.0
Generate a lecture-ready PowerPoint presentation from an intelligent textbook project. The presentation is designed for live delivery — visual, story-driven, with progressive disclosure, audience interaction beats, and speaker notes that script the entire performance.
The presentation doesn't teach about communication or subject-matter frameworks. It is the framework in action. The audience should experience principles before being told about them. Every slide must answer: "Is this slide itself an example of the principle it discusses?"
This means:
Use when:
Do NOT use when:
npm install pptxgenjs (install locally in the output directory)docs/course-description.mddocs/chapters/ with chapter contentCLAUDE.md with project conventions (optional but helpful)Read these files to understand the content:
docs/course-description.md) — extract title, audience, key topics, learning outcomesdocs/chapters/*/index.md for chapter titles, key concepts, and the pedagogical flowinput-knowledge/) — what resonated with prior audiencesDesign a 4-act structure following Klein's storytelling model applied to the lecture itself:
| Act | Purpose | Slides | Time |
|---|---|---|---|
| I: The Wake-Up Call | Hook, establish stakes, live challenge | 6-8 | ~10 min |
| II: The Toolkit | Core frameworks with before/after demos | 10-14 | ~20 min |
| III: The Power Tools | Advanced techniques, persuasion, AI | 6-10 | ~12 min |
| IV: The Close | Action plan, textbook link, final quote | 4-6 | ~8 min |
Target: 25-35 slides for a 50-60 minute lecture. At ~1.5 min/slide average. Fewer slides = more speaker time per slide = more engaging.
Present the proposed structure to the user for approval before generating.
Extract or create a color palette from the textbook's CLAUDE.md:
const C = {
primary: "XXXXXX", // From CLAUDE.md palette
primaryDark: "XXXXXX",
primaryLight: "XXXXXX",
accent: "XXXXXX", // Highlight color
white: "FFFFFF",
offWhite: "F5F5F5",
black: "212121",
gray: "757575",
red: "C62828", // For "before" / negative examples
green: "2E7D32", // For "after" / positive examples
};
Typography:
Layout rules:
Create a Node.js script that uses pptxgenjs to generate the .pptx file. Read references/slide-patterns.md for the reusable slide pattern library.
Slide categories and their patterns:
Every slide gets detailed speaker notes. These are the real script — the slides are just visual anchors. Notes include:
python -m markitdown output.pptx to confirm contentThe presentation file should be saved to:
{project-root}/presentation/{kebab-case-title}.pptx
Along with the generation script:
{project-root}/presentation/generate.js
This skill works for ANY intelligent textbook, not just communication. The key adaptations:
The 4-act structure and McLuhan principle remain constant regardless of subject.
references/slide-patterns.md — Reusable pptxgenjs code patterns for each slide typereferences/speaker-notes-guide.md — How to write effective speaker notes