agf-writing-pptx-reports

Solid

用 python-pptx 写"现代化中文制度 / 党政 / 企业宣贯 PPT"(含决议书提报、评审报告、管理办法、培训宣贯等 23 页量级 deck)。当用户要求程序化生成 PPT 且抱怨"老土 / 字体丑 / 表格乱 / 文字溢出 / 中文字体 fallback / 缺架构图"时启用——`python-pptx` 默认 API 一堆坑必须主动避开。提供:路径决策 / 设计 token / 12 个 helper 全套 / 7 个致丑反模式 / 12 个关键技巧 / LibreOffice 渲染验证闭环 / 跨平台中文字体生效 lxml 写法 / 配套 draw.io 画架构图选型(中文字体、配色、8 大坑、嵌入 PPT 链路)。

Data & Documents 423 stars 11 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
87
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 写 pptx 报告 — 高密度实战手册 > 沉淀自《AI 4A 架构评审管理办法》v1.0 PPT 实战(23 页,GAC 红主调,含双视图嵌入流程图),全部踩过 + 验证过的坑与方法。重型参考材料在 `references/`,按下方索引**按需 Read 全文**,不要凭记忆写代码。 ## 何时用本 skill | 信号 | 用本 skill | |---|:--:| | 需要程序化生成 PPT(数据驱动 / 模板批量 / 内容版本化) | ✅ | | 中文制度 / 党政 / 企业内部宣贯 deck | ✅ | | 用户反馈"老土 / 字体丑 / 表格乱 / 文字溢出 / 中文字体 fallback" | ✅ | | 内容会反复迭代,PPT 必须从源码可重生成 | ✅ | | 需要 mermaid 流程图嵌入 + 双视图卡片化 | ✅ | | 高度自由排版 / 视觉冲击型营销 deck | ❌ 直接 Keynote / Figma | | 复杂动画 / 视频嵌入 | ❌ python-pptx 弱项 | | 一次性单页海报 | ❌ 直接画 | | 要 docx / xlsx | ❌ 转 writing-docx-reports / xlsx skill | ## 路径决策(4 选 1) | 路径 | 何时选 | 代价 | |---|---|---| | **手动复制 .pptx 模板编辑** | 一次性 deck / 设计师介入 / 不需重生成 | 几分钟;后续维护成本高 | | **`pptx` skill 局部改** | 已有 .pptx 做小幅修改(≤ 5 张 slide / 仅换文字)| 中等;不适合从零生成 | | **基于模板 + `python-pptx` 混合** ⭐ | 仓库已有 .pptx 模板 / 视觉风格已定 / 需版本化 + 重生成 | 一次 ~500 行;保留模板视觉投入 + 代码可重跑 | | **`python-pptx` 全定制** | 没现成模板 / 视觉自己定义 / 跨平台中文 / 23+ 页量级 | 一次 ~800 行 Python,复用率 90% | 判定经验: - **本仓库 `template/` 已有 1 个 .pptx 模板**(`Template.pptx`,coral 团队风)→ 默认走"基于模板 + python-pptx 混合",不要重造视觉 - **用户说"老土 / 中文字体不对 / 表格乱"** 基本意味着要"模板混合"或"全定制"——只有"手动复制"路径根治不了 - **用户给了具体模板路径**(如 "用 Template.pptx")→ 必走"模板混合"路径,并先读对应的 `template-*-guide.md` ## References 索引(什么时候必读哪份) | 场景 | 必读(Read 全文) | |---|---| | 走"基于模板 + python-pptx 混合"路径(动手前) | [`references/template-based-generation.md`](./references/template-based-generation.md)(7 步流程 / 模板分析三件套 / Placeholder vs Shape / 关键文件指针)+ 对应 `template-*-guide.md`(如 [`template-team-guide.md`](./template-team-guide.md))| | 写 helper / 设...

Details

Author
pcliangx
Repository
pcliangx/AppGenesisForge
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

agf-writing-docx-reports

用 docx-js 写"阅读友好的中文 docx 报告"(决议书 / 评审报告 / 调研 / 分析 / 投标书等高密度报告型文档)。当用户要求把 markdown 内容转 docx 且抱怨"格式混乱 / 不专业 / 看不下去"时启用——pandoc 默认转换难以满足。提供:路径决策 / 设计 token / 可复用 helper 全套 / 11 个 pitfall / 生成-预览闭环。

423 Updated 1 weeks ago
pcliangx
AI & Automation Featured

deck-studio

PPT 生产 Agent:理解场景 → 推荐风格 → 先出大纲 → 定义页面 → 双通路交付(PPT 内容稿 / 逐页视觉图 / 信息图组图)。当用户要做汇报、路演、培训课件、提案、咨询报告的演示文稿,或要把大纲/文章做成 slides、deck、PPT、信息图、小红书图文、可视化传播图时使用。支持指定风格或从风格库推荐,支持 image 模型逐页出视觉稿。前身为 notion-infographic(v2)并吸收 ppt-designer 的设计原则。不用于:pptx 文件的纯技术操作(拆分/合并/提取,用宿主 pptx skill)、演讲稿或文章本体的写作(用 wechat-article-writer)、需要先做研究的内容调研(先走 deep-research 再回来)、单张海报或 logo 设计。

631 Updated 1 weeks ago
staruhub
Data & Documents Listed

pptx

Use this skill any time a .pptx 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 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, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill.

0 Updated 1 weeks ago
Drvivek34