Logo Textbook To Presentation Generator

Textbook To Presentation Generator

Cộng đồng
dmccreary
textbook-to-presentation-generator

Generates a lecture PowerPoint from an intelligent textbook using pptxgenjs — visual design, 4-act storytelling structure, and speaker notes. Use when converting a textbook into slides for classroom delivery.

Tổng quan

Nhà phát hànhdmccreary
Kho mãibook-skills
Tên kỹ năngtextbook-to-presentation-generator
Sao
109
Bản fork
21
Tệp đi kèm
2
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 2 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được dmccreary công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Textbook To Presentation Generator trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/dmccreary/ibook-skills/tree/main/skills/archived/textbook-to-presentation-generator
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dmccreary/ibook-skills.git /tmp/ibook-skills
mkdir -p .claude/skills
cp -r /tmp/ibook-skills/skills/archived/textbook-to-presentation-generator .claude/skills/textbook-to-presentation-generator
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Textbook To Presentation Generator trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Textbook To Presentation Generator ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Textbook To Presentation Generator với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Presentation Generator

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.

Core Philosophy: The Medium IS the Message

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:

  • When teaching structure, the presentation IS structured (Pyramid Principle — governing thought in minute 2, not minute 55)
  • When teaching brevity, the slide has seven words maximum
  • When teaching storytelling, the lecture IS a story (4-act arc)
  • When teaching about cognitive load, no slide overloads the audience
  • Meta-moments: The speaker reveals "what I just did was [framework name]" AFTER demonstrating it. The audience learns through experience, then gets the vocabulary.

When to Use This Skill

Use when:

  • An intelligent textbook exists (MkDocs project with chapters, course-description.md, learning graph)
  • The user wants a lecture presentation for live delivery
  • The user wants to convert textbook content into a slide deck
  • The user says "create a presentation", "make slides", "build a deck", "lecture slides"

Do NOT use when:

  • No textbook content exists yet (use course-description-analyzer and chapter generators first)
  • The user wants a document, not a presentation (use docx skill)
  • The user wants to edit an existing presentation (use the pptx editing workflow)

Prerequisites

  • Node.js installed
  • npm install pptxgenjs (install locally in the output directory)
  • An intelligent textbook project with:
    • docs/course-description.md
    • docs/chapters/ with chapter content
    • CLAUDE.md with project conventions (optional but helpful)

Workflow

Step 1: Read the Textbook

Read these files to understand the content:

  1. Course description (docs/course-description.md) — extract title, audience, key topics, learning outcomes
  2. CLAUDE.md — extract tone, style, color palette, mascot info
  3. Chapter index files — scan docs/chapters/*/index.md for chapter titles, key concepts, and the pedagogical flow
  4. Student feedback (if available in input-knowledge/) — what resonated with prior audiences
  5. Original lecture notes (if available) — the speaker's natural flow and stories

Step 2: Design the Presentation Structure

Design a 4-act structure following Klein's storytelling model applied to the lecture itself:

ActPurposeSlidesTime
I: The Wake-Up CallHook, establish stakes, live challenge6-8~10 min
II: The ToolkitCore frameworks with before/after demos10-14~20 min
III: The Power ToolsAdvanced techniques, persuasion, AI6-10~12 min
IV: The CloseAction plan, textbook link, final quote4-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.

Step 3: Design the Visual System

Extract or create a color palette from the textbook's CLAUDE.md:

javascript
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:

  • Title font: Georgia (or serif from CLAUDE.md)
  • Body font: Calibri (or sans-serif from CLAUDE.md)
  • Title size: 32-44pt
  • Body size: 14-20pt (never below 13pt)

Layout rules:

  • No more than 7 words per line of body text
  • One idea per slide
  • Dark backgrounds (primary dark) for section dividers, title, close
  • Light backgrounds (white) for content slides
  • Accent color for emphasis bars, numbers, highlights

Step 4: Generate the Presentation

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:

  1. Title slide — dark bg, large title, subtitle, author, accent bar
  2. Section divider — dark bg, large text, subtitle, accent bar
  3. Big number — dark bg, one massive stat (80-120pt), context below
  4. Before/After comparison — two columns, red accent (before) vs green (after)
  5. Framework visual — shapes/diagrams illustrating a model (pyramid, stages, pillars)
  6. Evidence stack — 3 cards with accent bars showing research findings
  7. Interactive beat — light bg, challenge prompt in a card, instructions
  8. Quote — dark bg, large italic text, attribution
  9. Action items — numbered circles with titles and descriptions
  10. Resource/CTA — textbook link, QR code placeholder, stats

Step 5: Write Speaker Notes

Every slide gets detailed speaker notes. These are the real script — the slides are just visual anchors. Notes include:

  • TIMING: Cumulative minutes (e.g., "TIMING: 15:00")
  • SAY: The exact narrative to deliver (2-4 sentences, conversational)
  • META-MOMENT: Where the speaker reveals the framework AFTER demonstrating it (e.g., "Notice what I just did? That was Klein's Dilemma stage.")
  • TRANSITION: The bridge sentence to the next slide
  • AUDIENCE PULSE: When to pause, ask a question, or let silence work

Step 6: Generate and Verify

  1. Run the Node.js script to generate the .pptx
  2. Verify slide count matches the design
  3. Extract text with python -m markitdown output.pptx to confirm content
  4. Report the result to the user with slide count and timing estimate

Output

The presentation file should be saved to:

{project-root}/presentation/{kebab-case-title}.pptx

Along with the generation script:

{project-root}/presentation/generate.js

Adapting for Different Subjects

This skill works for ANY intelligent textbook, not just communication. The key adaptations:

  • Subject-specific stories: Open with a story from the textbook's domain (engineering, science, business)
  • Framework names: Use whatever frameworks the textbook teaches (not just Minto, Klein, etc.)
  • Color palette: Derive from the textbook's CLAUDE.md
  • Audience: Match the course-description.md target audience
  • Interactive beats: Design exercises relevant to the subject matter

The 4-act structure and McLuhan principle remain constant regardless of subject.

References

  • references/slide-patterns.md — Reusable pptxgenjs code patterns for each slide type
  • references/speaker-notes-guide.md — How to write effective speaker notes

Best Practices

  1. Cut aggressively: If a slide doesn't change understanding, delete it. The Dilution Effect applies to slide decks too.
  2. Story first, framework second: Always demonstrate a principle through a story or example before naming the framework.
  3. One idea per slide: If you need two sentences to explain what a slide is about, split it into two slides.
  4. Speaker notes ARE the presentation: The slides are visual anchors. The speaker's narrative, pauses, and meta-moments are where learning happens.
  5. Test the McLuhan principle: For every slide, ask "Is this slide itself an example of what it teaches?" If not, redesign it.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Textbook To Presentation Generator làm được gì?

Generates a lecture PowerPoint from an intelligent textbook using pptxgenjs — visual design, 4-act storytelling structure, and speaker notes. Use when converting a textbook into slides for classroom delivery.

Vì sao nên dùng Textbook To Presentation Generator trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Textbook To Presentation Generator là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Textbook To Presentation Generator trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/dmccreary/ibook-skills/tree/main/skills/archived/textbook-to-presentation-generator. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Textbook To Presentation Generator?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Textbook To Presentation Generator với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Textbook To Presentation Generator với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Textbook To Presentation Generator có miễn phí không?

Kỹ năng này được dmccreary phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇