Communitygithub.com

LiChangZheng10086/doyin_ai_video

智慧 PPT 產生器,支援 7 種視覺風格(樂高/復古波普/黏土/黑白/商務/學術/科技),具備自動推薦風格、生成大綱、繪製配圖並組裝成片的全自動能力。

doyin_ai_video 是什麼?

這是一個全自動 PPT 生成技能,專為開發者與 AI 代理設計。它能將文字內容轉化為結構化簡報,並支援 7 種視覺風格:樂高積木風、復古波普風、黏土定格風、極簡黑白風、學術深藍、經典商務與原力科技。技能會根據內容自動推薦最適合的風格,然後生成 JSON 結構化內容(含每頁標題、正文、配圖提示詞),接著呼叫繪圖工具(如 Imagen / Midjourney)批量生成配圖,最後使用 `generate_styled_ppt.py` 腳本自動組裝成 `.pptx` 檔案。此技能可在任何支援 Python 3 與 AI 推理的環境(如 Claude Code、Cursor、Codex)中運作,大幅簡化從創意到成品的流程。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LiChangZheng10086/doyin_ai_video/tree/HEAD/.agents/skills/ppt-generator-skill

在你喜歡的 AI 中提問

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

說明文件

PPT 生成器技能

🎯 核心能力

本技能將「內容創作」與「視覺設計」合二為一,只需提供一段文字資料,即可全自動生成一份高品質、有設計感的 PPT。

🎨 七大視覺風格(Style Gallery)

A. 創意敘事類(Creative & Storytelling)

適合:教育科普、創意行銷、個人品牌、輕鬆話題

  1. 🧱 樂高積木風(Lego Style)
    • 視覺:樂高小人仔 + 積木搭建的場景,色彩鮮豔,微距攝影感。
    • 適用:把抽象概念具象化、流程拆解、寓教於樂。
  2. 🖼️ 復古波普風(Vintage Pop Art)
    • 視覺:50年代美式漫畫,高對比度網點,紅黃藍大色塊,粗線條。
    • 適用:行銷大字報、趨勢分析、強調痛點與行動。
  3. 🎞️ 黏土定格風(Clay Stop-Motion)
    • 視覺:有指紋痕跡的手工黏土模型,柔和暖光,可愛治癒。
    • 適用:生活方式、親子教育、輕鬆的團隊建設。
  4. ✒️ 極簡黑白風(Dan Koe / Zen)
    • 視覺:蝕刻版畫質感,純黑背景 + 白色精細線條,極簡留白。
    • 適用:深度認知、哲學思考、高端諮詢、個人 IP。

B. 專業商務類(Business & Professional)

適合:匯報路演、學術報告、技術發布 5. 🎓 學術深藍(Academic Blue) * 視覺:純白底 + 深藍標題 + 紅色強調,嚴謹的框架圖。 * 適用:醫療、科研、學術論文匯報。 6. 👔 經典商務(Corporate Navy) * 視覺:深海藍底 + 金色襯線體,高端大氣。 * 適用:融資計畫書、高管匯報、年度總結。 7. 🔬 原力科技(Tech Future) * 視覺:黑底 + 霓虹線條,數據可視化風格。 * 適用:AI 產品發布、網際網路技術分享。

🛠️ 使用流程(Workflow)

1. 風格推薦(Style Recommendation)

使用者提供原始文字,Agent 自動分析調性並推薦風格。

使用者:「幫我把這篇關於 AI 代理的文章做成 PPT。」 Agent:「這篇文章講的是無需人工介入的未來工作流,比較前衛。推薦使用 [🔬 原力科技風] 展現未來感,或者 [🧱 樂高風格] 來拆解 Agent 是如何像搭積木一樣工作的。您選哪個?」

2. 結構化生成(Content Generation)

選定風格後,Agent 調用對應的 Prompt Template(位於 templates/),讓 LLM 生成結構化的 JSON 內容(包含每頁標題、正文、配圖提示詞)。

3. 視覺繪製(Image Generation)

Agent 自動調用繪圖工具(如 Imagen/Midjourney),根據 JSON 中的提示詞批量生成每一頁的配圖。

4. 組裝成片(Assembly)

運行 generate_styled_ppt.py,將文字與生成的圖片自動組裝成最終的 .pptx 檔案。

📂 檔案結構

.agent/skills/ppt-generator/
├── SKILL.md                 # 技能說明書
├── generate_styled_ppt.py   # 通用組裝腳本(支援 JSON -> PPTX)
├── templates/               # 高階提示詞範本
│   ├── lego_style_prompt.md
│   ├── vintage_pop_art_prompt.md
│   ├── clay_style_prompt.md
│   └── dan_koe_style_prompt.md
├── styles/                  # 樣式設定檔(顏色、字型)
│   ├── academic_blue_style.json
│   └── yuanli_style.json
└── prompts/                 # 舊版提示詞存檔

💻 命令列呼叫

# 組裝 PPT(當 JSON 和圖片都準備好後)
python3 .agent/skills/ppt-generator/generate_styled_ppt.py \
  --input "presentation_content.json" \
  --output "final_presentation.pptx"

Individual skills in this repo

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

LiChangZheng10086/doyin_ai_video

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

LiChangZheng10086/doyin_ai_video

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIR...

LiChangZheng10086/doyin_ai_video

Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.

LiChangZheng10086/doyin_ai_video

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

LiChangZheng10086/doyin_ai_video

Grill me about specs for the workflows I want to build, within this workspace.

LiChangZheng10086/doyin_ai_video

Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.

LiChangZheng10086/doyin_ai_video

Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.

LiChangZheng10086/doyin_ai_video

Diagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.

LiChangZheng10086/doyin_ai_video

Sentry error monitoring and performance tracing patterns for Next.js applications.

LiChangZheng10086/doyin_ai_video

Simplify and refine recently modified code for clarity and consistency. Use after writing code to improve readability without changing functionality.

LiChangZheng10086/doyin_ai_video

✅ "你知道今天所有大模型能读懂你的话,全靠一个叫Transformer的架构吗?"

LiChangZheng10086/doyin_ai_video

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

相關技能