Community程式設計與開發github.com

ppt-generation

當使用者要求生成、建立或製作簡報(PPT/PPTX)時使用此技能。透過為每張投影片生成圖片並組合成 PowerPoint 檔案,來建立視覺豐富的投影片。

ppt-generation 是什麼?

此技能用於生成專業的 PowerPoint 簡報,流程包含:根據使用者需求規劃簡報結構與統一視覺風格、使用圖片生成技能依序為每張投影片產生獨特的 AI 圖片(並利用前一張投影片作為參考以維持風格一致性),最後將所有圖片組合成一個 PPTX 檔案。支援多種簡報風格,如玻璃擬態、暗色高級、漸層現代、新粗獷主義等。此技能適用於需要快速產出高品質、視覺一致簡報的開發者或 AI 代理使用者,支援 Claude Code、Cursor 等平台。其核心優勢在於順序生成圖片的機制,確保整份簡報的視覺連續性與專業度。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bytedance/deer-flow/tree/main/skills/public/ppt-generation

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

PPT 生成技能

概述

此技能透過為每張投影片建立 AI 生成的圖片,並將其組合成 PPTX 檔案,來產生專業的 PowerPoint 簡報。工作流程包括:規劃具有一致視覺風格的簡報結構、依序生成投影片圖片(使用前一張投影片作為風格一致的參考),以及將它們組裝成最終的簡報。

核心功能

  • 規劃並建構具有統一視覺風格的投影片簡報
  • 支援多種簡報風格:商務、學術、極簡、Apple Keynote、創意
  • 使用圖片生成技能為每張投影片產生獨特的 AI 圖片
  • 透過將前一張投影片作為參考圖片來維持視覺一致性
  • 將圖片組合成專業的 PPTX 檔案

簡報風格

建立簡報計畫時,請選擇以下其中一種風格:

風格描述最適合用於
glassmorphism帶有模糊效果的磨砂玻璃面板、浮動的半透明卡片、充滿活力的漸層背景、透過層次堆疊產生的深度感科技產品、AI/SaaS 示範、未來感提案
dark-premium濃郁的黑色背景 (#0a0a0a)、發光的強調色、微妙的發光效果、奢華品牌美學高級產品、高層簡報、高端品牌
gradient-modern大膽的網格漸層、流暢的色彩過渡、當代字體、活潑且精緻新創公司、創意代理商、品牌發表
neo-brutalist原始粗獷的字體、高對比度、故意的「醜陋」美學、反設計作為設計、孟菲斯風格啟發前衛品牌、Z 世代目標客群、破壞式創新新創
3d-isometric乾淨的等角插圖、浮動的 3D 元素、柔和的陰影、科技前衛美學科技解說、產品功能、SaaS 簡報
editorial雜誌級版面、精緻的字體層級、戲劇性的攝影、Vogue/Bloomberg 美學年度報告、奢華品牌、思想領導
minimal-swiss基於網格的精確度、Helvetica 風格字體、大膽運用負空間、永恆的現代主義建築、設計公司、高級諮詢
keynoteApple 啟發的美學,結合大膽字體、戲劇性圖像、高對比度、電影感主題演講、產品發表、啟發性談話

工作流程

步驟 1:了解需求

當使用者要求生成簡報時,請確認:

  • 主題/主旨:簡報內容是什麼
  • 投影片數量:需要多少張投影片(預設:5-10)
  • 風格:商務 / 學術 / 極簡 / keynote / 創意
  • 長寬比:標準 (16:9) 或經典 (4:3)
  • 內容大綱:每張投影片的重點
  • 不需要檢查 /mnt/user-data 下的資料夾

步驟 2:建立簡報計劃

在 /mnt/user-data/workspace/ 中建立一個 JSON 檔案來定義簡報結構。重要:包含 style 欄位來定義整體視覺一致性。

{
  "title": "簡報標題",
  "style": "keynote",
  "style_guidelines": {
    "color_palette": "深黑色背景、白色文字、單一強調色(藍色或橘色)",
    "typography": "粗體無襯線標題、乾淨內文字體、戲劇性的大小對比",
    "imagery": "高品質攝影、滿版圖片、電影感構圖",
    "layout": "寬敞留白、居中焦點、每張投影片元素最少化"
  },
  "aspect_ratio": "16:9",
  "slides": [
    {
      "slide_number": 1,
      "type": "title",
      "title": "主標題",
      "subtitle": "副標題或標語",
      "visual_description": "用於圖片生成的詳細描述"
    },
    {
      "slide_number": 2,
      "type": "content",
      "title": "投影片標題",
      "key_points": ["重點 1", "重點 2", "重點 3"],
      "visual_description": "用於圖片生成的詳細描述"
    }
  ]
}

步驟 3:依序生成投影片圖片

重要:嚴格地逐一、依序生成投影片。請勿並行化或批次處理圖片生成。每張投影片都依賴前一張投影片的輸出作為參考圖片。並行生成投影片會破壞視覺一致性,這是不允許的。

  1. 讀取圖片生成技能:/mnt/skills/public/image-generation/SKILL.md

  2. 對於第一張投影片(投影片 1),建立一個奠定視覺風格的提示詞:

{
  "prompt": "專業簡報投影片。[來自計畫的 style_guidelines]。標題:'你的標題'。[visual_description]。此投影片為整個簡報建立視覺語言。",
  "style": "[基於選擇的風格 - 例如:Apple Keynote 美學、戲劇性燈光、電影感]",
  "composition": "具有清晰文字層級的乾淨版面,[風格特定的構圖]",
  "color_palette": "[來自 style_guidelines]",
  "typography": "[來自 style_guidelines]"
}
python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/slide-01-prompt.json \
  --output-file /mnt/user-data/outputs/slide-01.jpg \
  --aspect-ratio 16:9
  1. 對於後續投影片(投影片 2+),使用前一張投影片作為參考圖片:
{
  "prompt": "專業簡報投影片,延續參考圖片的視覺風格。維持相同的配色方案、字體風格和整體美學。標題:'投影片標題'。[visual_description]。與參考圖片保持視覺一致性。",
  "style": "完全比照參考圖片的風格",
  "composition": "與參考圖片相似的版面原則,並針對此內容進行調整",
  "color_palette": "與參考圖片相同",
  "consistency_note": "此投影片看起來必須與參考圖片屬於同一份簡報"
}
python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/slide-02-prompt.json \
  --reference-images /mnt/user-data/outputs/slide-01.jpg \
  --output-file /mnt/user-data/outputs/slide-02.jpg \
  --aspect-ratio 16:9
  1. 對所有剩餘的投影片重複此步驟,始終參考前一張投影片:
# 投影片 3 參考投影片 2
python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/slide-03-prompt.json \
  --reference-images /mnt/user-data/outputs/slide-02.jpg \
  --output-file /mnt/user-data/outputs/slide-03.jpg \
  --aspect-ratio 16:9

# 投影片 4 參考投影片 3
python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/slide-04-prompt.json \
  --reference-images /mnt/user-data/outputs/slide-03.jpg \
  --output-file /mnt/user-data/outputs/slide-04.jpg \
  --aspect-ratio 16:9

步驟 4:組合成 PPT

在所有投影片圖片生成後,呼叫組合腳本:

python /mnt/skills/public/ppt-generation/scripts/generate.py \
  --plan-file /mnt/user-data/workspace/presentation-plan.json \
  --slide-images /mnt/user-data/outputs/slide-01.jpg /mnt/user-data/outputs/slide-02.jpg /mnt/user-data/outputs/slide-03.jpg \
  --output-file /mnt/user-data/outputs/presentation.pptx

參數:

  • --plan-file:簡報計劃 JSON 檔案的絕對路徑(必要)
  • --slide-images:依序排列的投影片圖片絕對路徑(必要,以空格分隔)
  • --output-file:輸出 PPTX 檔案的絕對路徑(必要)

[!NOTE] 請勿讀取 python 檔案,直接使用參數呼叫即可。

完整範例:玻璃擬態風格(最现代前卫)

使用者要求:「建立一個關於 AI 產品發表的簡報」

步驟 1:建立簡報計劃

建立 /mnt/user-data/workspace/ai-product-plan.json:

{
  "title": "Introducing Nova AI",
  "style": "glassmorphism",
  "style_guidelines": {
    "color_palette": "充滿活力的紫色到青色漸層背景 (#667eea→#00d4ff),透明度 15-20% 的磨砂玻璃面板、電光般的強調色",
    "typography": "SF Pro Display 風格,粗體 700 重量白色標題帶有微妙文字陰影,乾淨的 400 重量內文字體,在玻璃上對比度極佳",
    "imagery": "抽象 3D 玻璃球體、浮動的半透明幾何形狀、柔和發光的球體、透過層疊透明度產生的深度",
    "layout": "置中磨砂玻璃卡片,32px 圓角,48-64px 內邊距,浮動於漸層之上,透過柔和陰影產生層次深度",
    "effects": "玻璃面板上 20-40px 的背景模糊、微妙的白色邊框發光、與漸層匹配的柔和彩色陰影、光折射效果",
    "visual_language": "Apple Vision Pro / visionOS 美學、透過透明度呈現高級深度、未來感卻平易近人、2024 設計趨勢"
  },
  "aspect_ratio": "16:9",
  "slides": [
    {
      "slide_number": 1,
      "type": "title",
      "title": "Introducing Nova AI",
      "subtitle": "Intelligence, Reimagined",
      "visual_description": "驚豔的漸層背景,從深紫色 (#667eea) 流暢過渡到洋紅色再到青色 (#00d4ff)。中央:大型磨砂玻璃面板,具有強烈的背景模糊效果,包含粗體白色標題 'Introducing Nova AI' 和較淺的副標題。卡片周圍漂浮著 3D 玻璃球體和抽象形狀,營造深度感。玻璃面板後方散發出柔和光芒。高級 visionOS 美學。玻璃卡片具有微妙的白色邊框(1px rgba 255,255,255,0.3)和紫色調的柔和陰影。"
    },
    {
      "slide_number": 2,
      "type": "content",
      "title": "Why Nova?",
      "key_points": ["10x faster processing", "Human-like understanding", "Enterprise-grade security"],
      "visual_description": "相同的紫色-青色漸層背景。左側:浮動的磨砂玻璃卡片,包含粗體白色標題 'Why Nova?',下方三個重點以微妙的玻璃藥丸徽章呈現。右側:抽象 3D 神經網路可視化,呈現為互連的玻璃節點,帶有柔和光芒。浮動的半透明幾何形狀(二十面體、環面)增加深度。與前一張投影片一致的玻璃擬態美學。"
    },
    {
      "slide_number": 3,
      "type": "content",
      "title": "How It Works",
      "key_points": ["Natural language input", "Multi-modal processing", "Instant insights"],
      "visual_description": "與先前投影片一致的漸層背景。中央構圖:三個堆疊的磨砂玻璃卡片以略微傾斜的角度展示工作流程步驟,並以柔和發光的線條連接。每個卡片都有一個抽象圖示。周圍漂浮著玻璃球體和光粒子。標題 'How It Works' 以粗體白色顯示在頂部。透過卡片分層和透明度創造深度。"
    },
    {
      "slide_number": 4,
      "type": "content",
      "title": "Built for Scale",
      "key_points": ["1M+ concurrent users", "99.99% uptime", "Global infrastructure"],
      "visual_description": "相同的漸層背景。不對稱佈局:右側是大型磨砂玻璃面板,以粗體字體顯示指標。左側:由玻璃面板和連接線組成的抽象 3D 地球儀,代表全球規模。浮動的數據可視化元素,表現為帶有數字的小型玻璃卡片。整體環境光線柔和。高級科技美學。"
    },
    {
      "slide_number": 5,
      "type": "conclusion",
      "title": "The Future Starts Now",
      "subtitle": "Join the waitlist",
      "visual_description": "戲劇性的結尾投影片。漸層背景略顯鮮豔。中央的磨砂玻璃卡片帶有粗體標題 'The Future Starts Now' 和行動呼籲副標題。卡片後方:柔和光線的爆發和漂浮的玻璃粒子,營造慶祝效果。多層次的玻璃形狀創造深度。在維持風格一致性的同時,成為視覺上最具衝擊力的投影片。"
    }
  ]
}

步驟 2:讀取圖片生成技能

讀取 /mnt/skills/public/image-generation/SKILL.md 以了解如何生成圖片。

步驟 3:使用參考鏈結依序生成投影片圖片

投影片 1 - 標題(奠定視覺語言):

建立 /mnt/user-data/workspace/nova-slide-01.json:

{
  "prompt": "採用玻璃擬態設計的超高級簡報標題投影片。背景:從深紫色 (#667eea) 經由洋紅色 (#f093fb) 到青色 (#00d4ff) 的順暢流動漸層,柔和且充滿活力。中央:大型磨砂玻璃面板,具有強烈的背景模糊效果,圓角 32px,包含粗體白色無襯線標題 'Introducing Nova AI'(72pt,SF Pro Display 風格,字重 700)搭配微妙文字陰影,下方副標題 'Intelligence, Reimagined' 使用較淺字重。玻璃面板具有微妙的白色邊框(1px rgba 255,255,255,0.25)和紫色調的柔和投影。卡片周圍漂浮著:具有折射效果的 3D 玻璃球體、半透明的幾何形狀(二十面體、抽象團塊),營造深度和立體感。玻璃面板後方散發出柔和的光芒。小型的漂浮光粒子。Apple Vision Pro / visionOS UI 美學。專業簡報投影片,16:9 長寬比。超現代、高級科技產品發表氛圍。",
  "style": "Glassmorphism, visionOS aesthetic, Apple Vision Pro UI style, premium tech, 2024 design trends",
  "composition": "置中玻璃卡片作為焦點,邊緣浮動 3D 元素創造深度,40% 負空間,清晰的視覺層級",
  "lighting": "來自漸層的柔和環境光線,穿過玻璃元素的光折射,3D 形狀上微妙的邊緣光",
  "color_palette": "紫色漸層 #667eea, 洋紅色 #f093fb, 青色 #00d4ff, 磨砂白 rgba(255,255,255,0.15), 純白文字 #ffffff",
  "effects": "玻璃面板上的背景模糊,帶有顏色色調的柔和投影,光折射,玻璃上微妙的雜訊紋理,浮動粒子"
}
python /mnt/skills/public/image-generation/scripts/generate.py \
  --prompt-file /mnt/user-data/workspace/nova-slide-01.json \
  --output-file /mnt/user-data/outputs/nova-slide-01.jpg \
  --aspect-ratio 16:9

**投影片

…

[截斷以進行翻譯]

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bootstrap

Generate a personalized SOUL.md through a warm, adaptive onboarding conversation. Trigger when the user wants to create, set up, or initialize their AI partner's identity — e.g., "create my SOUL.md", "bootstrap my agent", "set up my AI partner", "define who you are", "let's do onboarding", "personalize this AI", "make you mine", or when a SOUL.md is missing. Also trigger for updates: "update my SOUL.md", "change my AI's personality", "tweak the soul".

bytedance/academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bytedance/chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

bytedance/claude-to-deerflow

Interact with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to DeerFlow for research/analysis, start a DeerFlow conversation thread, check DeerFlow status or health, list available models/skills/agents in DeerFlow, manage DeerFlow memory, upload files to DeerFlow threads, or delegate complex research tasks to DeerFlow. Also use when the user mentions deerflow, deer flow, or wants to run a deep research task that DeerFlow can handle.

bytedance/consulting-analysis

Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

bytedance/data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to CSV/JSON/Markdown.

bytedance/deep-research

Use this skill instead of WebSearch for ANY question requiring web research. Trigger on queries like "what is X", "explain X", "compare X and Y", "research X", or before content generation tasks. Provides systematic multi-angle research methodology instead of single superficial searches. Use this proactively when the user's question needs online information.

bytedance/find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

bytedance/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

bytedance/github-deep-research

Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.

bytedance/image-generation

Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes, products, or any visual content. Supports structured prompts and reference images for guided generation.

bytedance/podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/ppt-generation

Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

bytedance/skill-creator

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

bytedance/surprise-me

Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

bytedance/vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/video-generation

Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.

bytedance/web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

相關技能