首頁 / Skills / 辦公與文件 / 簡報檔產生 PowerPoint Deck Builder
辦公與文件

簡報檔產生 PowerPoint Deck Builder

AIBarsMITSkill 語言: 英文
授權已核對不含腳本中風險
演示真實執行紀錄 · claude-sonnet-5-5 · 2026年10月
Create a 5-slide PowerPoint called q3-update.pptx for a fictional company's quarterly update to its team, 16:9: a title slide, a slide with three bullet points, a slide with a small table of 3 regions and their sample sales, a slide with a column chart of the same numbers, and a closing slide. Add speaker notes to the bullet slide. Mark all numbers as sample. Then re-open the file and tell me what you verified.
Skill: powerpoint-deck-builder

I built the 5-slide deck and re-opened it to check it. Appearance is unchecked, because there's no renderer here (LibreOffice isn't installed) and python-pptx can't draw slides. I haven't seen how the slides look, including whether any text overflows, so open it once in PowerPoint or Keynote.

File: q3-update.pptx in the working folder. The build script is build_deck.py, and the re-open check is verify_deck.py.

# Layout Title
1 Title Slide Q3 Update
2 Title and Content Q3 in three points
3 Title Only Q3 sales by region (sample data)
4 Title Only Q3 sales by region – chart (sample data)
5 Title Slide Thank you

What I verified after re-opening:

  • Slide count and size: There are 5 slides at 16:9 (13.333 × 7.5 in, ratio 1.778).
  • Titles: Each slide's title matches the list above.
  • Bullets: Slide 2 has exactly 3 bullets.
  • Speaker notes: Slide 2 has notes, and no other slide does.
  • Table: Slide 3 is a native 4×2 table with a header row. It holds North 120, South 95 and West 140, in $K.
  • Chart: Slide 4 is a native clustered column chart with one series, "Sales ($K, sample)", and the same three values as the table.
  • Sample labels: "Sample" appears on the title slide, in each bullet, in the table header, in both slide titles, in the chart title and series name, in the notes, and on the closing slide.

Assumptions to confirm:

  • The company name "Acme Co." and the numbers are made up, as you asked.
  • The bullet wording ("West led", "Q4 focus: lift South") is mine, chosen to match the sample numbers.
  • The deck uses python-pptx's default theme, which is plain white.

Test run: a five-slide sample deck built with python-pptx in a temporary folder, allowed to write files and run python3 only. I re-opened the file myself: 5 slides at 16:9, a native table, a native chart and notes on slide 2. LibreOffice was not installed, so appearance and text overflow were not checked. All content and numbers are sample.

它做什麼

撰寫並執行一個 Python 腳本來建立或修改簡報,讓它能在 PowerPoint 裡正常開啟。它填寫範本自帶的版面配置與預留位置,所以佈景主題得以保留,之後可以在投影片母片裡統一改樣式;每張投影片只講一件事,標題簡短、重點不多,細節放進講者備忘稿。它會加入原生表格、依你提供的資料產生原生圖表,以及你提供的圖片檔。修改既有簡報時,先輸出投影片與圖形的大綱,只改你要求的部分,逐段替換文字以保留格式,並另存為新檔名。它也能擷取文字、表格、圖表數列與備忘稿。儲存後它會重新開啟檔案,回報投影片數量、標題、備忘稿以及表格與圖表的內容,並明確說明外觀、動畫與 SmartArt 不在檢查範圍內。

輸出

.pptx 檔案、腳本、投影片清單、核對報告,以及需要你確認的佔位內容。

適合什麼場景

把大綱或資料變成簡報草稿,更新範本裡的文字,或把既有簡報的內容擷取出來。

說明與風險

中風險:純指令檔,本身沒有腳本,但它會撰寫並執行 Python,在你的工作目錄建立檔案,也可能建議在虛擬環境安裝 python-pptx。它不會覆蓋你的原檔案,不建立巨集,也不取得遠端媒體。已在暫存資料夾用範例數字試用一次:產生了含表格、圖表與備忘稿的五頁簡報,並由我重新開啟確認;因為沒裝 LibreOffice,外觀與文字是否溢出沒有檢查。簡報前請在 PowerPoint 裡看一遍。AIBars 原創(MIT)。

SKILL.md 原文套件內共 2 個檔案