Claude Skill
sunbigfly/ppt-agent-skills
PPT Agent Skills is a code-driven presentation generation framework using multi-agent AI, HTML-to-PPTX, and visual QA to create professional slide decks and pitch decks.
Overview
Repository
Install this Skill
npx skills add sunbigfly/ppt-agent-skillsRegistry
Summary
A code-driven presentation generation framework that treats slide creation like building software engineering projects. It leverages multi-agent AI, HTML-to-PPTX conversion, and visual QA to produce professional PowerPoint decks, pitch decks, and slide generators.
一个代码驱动的演示文稿生成框架。像构建软件工程一样生成演示文稿。
Key features
- Multi-agent AI collaboration for slide content generation
- HTML-to-PPTX conversion for flexible slide layouts
- Visual QA pipeline to ensure slide quality
- Code-driven approach for reproducible presentations
- Support for pitch decks and professional slide decks
Use cases
- Automated pitch deck creation for startups
- Code-based slide generation for technical presentations
- Multi-agent AI for complex presentation content
- Visual QA for error-free slide decks
- Reproducible presentation generation for teams
README excerpt
<div align="center"> <img src="assets/logo.png" alt="PPT Agent Logo" width="160" /> <h1>PPT Agent</h1> <p>基于软件工程理念的演示文稿全自动生成框架</p> <p><a href="README_EN.md">English</a> | 中文</p> <p> <a href="#快速开始"><img src="https://img.shields.io/badge/快速开始-blue?style=for-the-badge" alt="Quick Start" /></a> <a href="LICENSE"><img src="https://img.shields.io/badge/MIT-blue?style=for-the-badge" alt="License" /></a> </p> <p> <img src="https://img.shields.io/badge/流水线-7_阶段-4f7df5?style=flat-square" /> <img src="https://img.shields.io/badge/主题风格-8_套-ff6b35?style=flat-square" /> <img src="https://img.shields.io/badge/版式类型-10_种-00d4ff?style=flat-square" /> <img src="https://img.shields.io/badge/图表模板-13_种-8b5cf6?style=flat-square" /> <img src="https://img.shields.io/badge/组件库-8_类-22c55e?style=flat-square" /> <img src="https://img.shields.io/badge/脚本工具-15_个-f59e0b?style=flat-square" /> </p> </div> --- **PPT Agent** 以严格的状态机驱动多 Agent 协作,将一句话需求输出为专业级 PPTX 文件,从根源解决传统大模型生成的幻觉、重叠与布局混乱问题。 ## 最近更新 `2026-04-09 · v4.1` - 补齐 Step 3 `density_bias` 与 Step 4 `density_label / density_contract` 合同,页面密度预算开始成为明确的可校验约束。 - `visual_qa.py` 新增 `planning + html` 双层断言,除了看图,也会核对结构与装饰预算。 - 新增 `subagent_logger.py`,把 PageAgent / PagePatchAgent 的阶段命令与运行日志补齐,断点返工更容易审计与回放。 ## 安装 ``` npx skills add sunbigfly/ppt-agent-skills ``` ## 核心亮点 **Subagent 阶段隔离**:Research / Outline / Style / Planning 四大阶段各自运行独立的子代理,Context 不互染。每个子代理创建时强制携带 `SUBAGENT_MODEL` 参数,禁止走默认回退。 **像素级 Visual QA 闭环**:每页 HTML 构建后自动截图,由大模型进行视觉审计。检测到布局溢出后,子代理以 DOM + CSS 结构重写的方式消除冲突,而非依赖间距微调。 **无状态断点恢复**:全流程不依赖任何进度状态文件。中断后通过扫描磁盘上已存在的产物文件(`outline.txt` / `style.json` / `slide-N.png` 等)自动推断恢复点。 **数据层与渲染层隔离**:每页先生成并由 `planning_validator.py` 通过校验的 JSON 合同,再驱动 HTML 渲染。针对生成的静态文件拥有 `html` 级物理结构探测器拦截非标骨架。 **《阴阳割线