ppt-master
- Repo stars 0
- Author updated Live
- Author repo ppt-master
- Domain
- Writing
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @lzfxxx · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Not required
- Operating systems
- macOS · Linux · Windows
- Runtime requirements
- Node.js · Python
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: ppt-master
description: AI-driven multi-format SVG content generation system for presentations, social media graphics, a…
category: writing
runtime: Node.js / Python
---
# ppt-master output preview
## PART A: Task fit
- Use case: AI-driven multi-format SVG content generation system for presentations, social media graphics, and marketing materials. Use when creating PPTs, posters, or visual content from documents..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “何时使用此 Skill / 核心工作流 / 快速开始” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “AI-driven multi-format SVG content generation system for presentations, social media graphics, and marketing materials. Use when creating PPTs, posters, or visual content from documents.”.
- **02** When the source has headings, the agent prioritizes “何时使用此 Skill / 核心工作流 / 快速开始” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source does not require a stable slash command. After installation, invoke the skill by name and describe the task.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands.
Start with a small task and check whether the result follows “何时使用此 Skill / 核心工作流 / 快速开始”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: ppt-master
description: AI-driven multi-format SVG content generation system for presentations, social media graphics, a…
category: writing
source: lzfxxx/ppt-master
---
# ppt-master
## When to use
- AI-driven multi-format SVG content generation system for presentations, social media graphics, and marketing materials…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “何时使用此 Skill / 核心工作流 / 快速开始” and keep inference separate from source facts.
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "ppt-master" {
input -> user goal + target files + boundaries + acceptance criteria
context -> 何时使用此 Skill / 核心工作流 / 快速开始
rules -> SKILL.md triggers / order / output contract
runtime -> Node.js / Python | read files, write/modify files, run shell commands | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} PPT Master - AI 视觉内容生成系统
基于 AI 多角色协作的 SVG 内容生成系统,支持演示文稿、社交媒体、营销海报等多种格式。
何时使用此 Skill
- 从 Markdown/PDF/URL 生成 PPT 演示文稿
- 创建小红书、朋友圈等社交媒体图文
- 设计营销海报、信息图
- 批量生成可视化内容
核心工作流
源文档 → 创建项目 → 模板选择 → Strategist 规划 → [Image Generator 配图] → Executor 生成 SVG → 后处理 → 导出 PPTX
快速开始
1. 前置检查
阅读角色定义前必须加载对应文件:
- Strategist - 内容规划
- Executor - SVG 生成
- Image Generator - 配图生成
阅读技术约束:
2. 创建项目
mkdir -p projects/<name>/{src,output/images,output/final}
# 源文档放入 src/ 目录
3. 源文档处理
| 格式 | 工具 | 命令 |
|---|---|---|
tools/pdf_to_md.py |
python3 tools/pdf_to_md.py <pdf> <out.md> |
|
| URL | tools/web_to_md.py |
python3 tools/web_to_md.py <url> <out.md> |
| 微信公众号 | tools/web_to_md.cjs |
node tools/web_to_md.cjs <url> <out.md> |
4. 执行工作流
Step 1: Strategist 分析
- 读取源文档
- 确定画布格式(PPT 16:9 / 小红书 / 海报等)
- 规划页数、内容结构
- 输出:
projects/<name>/plan.md
Step 2: Image Generator 配图(可选)
- 根据内容需求搜索或生成图片
- 图片放入
projects/<name>/output/images/ - 使用
tools/embed_images.py嵌入 SVG
Step 3: Executor 生成 SVG
- 按规划逐页生成 SVG
- 输出到
projects/<name>/output/ - 使用
tools/finalize_svg.py后处理
Step 4: 导出 PPTX
python3 tools/svg_to_pptx.py projects/<name> -o output.pptx
# 或使用 --use-final 使用 final/ 目录的 SVG
支持的画布格式
| 格式 | 尺寸 | 用途 |
|---|---|---|
ppt169 |
1920×1080 | 标准 PPT 16:9 |
ppt43 |
1440×1080 | 传统 PPT 4:3 |
xiaohongshu |
900×1200 | 小红书图文 |
moments |
1080×1080 | 朋友圈方形 |
phone9_16 |
1080×1920 | 手机全屏海报 |
a4 |
595×842 | A4 文档 |
工具速查
# SVG → PPTX
python3 tools/svg_to_pptx.py <project> -o <out.pptx>
# PDF/网页 → Markdown
python3 tools/pdf_to_md.py <in.pdf> <out.md>
python3 tools/web_to_md.py <url> <out.md>
# 图片处理
python3 tools/embed_images.py <svg> <image_dir>
python3 tools/crop_images.py <image> [options]
python3 tools/fix_image_aspect.py <image>
# SVG 后处理
python3 tools/finalize_svg.py <project>
python3 tools/svg_quality_checker.py <project>
# 项目管理
python3 tools/project_manager.py create <name>
python3 tools/project_manager.py list
示例项目
- examples/ppt169_demo - PPT 16:9 完整示例
- examples/xiaohongshu_demo - 小红书图文示例
- examples/poster_demo - 海报设计示例
依赖安装
# Python 依赖
pip install python-pptx Pillow beautifulsoup4 requests lxml
# Node.js 工具(可选,用于微信公众号抓取)
npm install
关键约束
- SVG 技术限制: 禁用
filter、mask、clipPath等 PPT 不兼容特性 - 图片格式: 嵌入前必须使用
embed_images.py处理 - 字体: 使用系统标准字体(微软雅黑、思源黑体等)
- 颜色: 遵循设计规范中的配色方案
完整文档
在线预览
查看生成效果:GitHub Pages 预览
Decide Fit First
Design Intent
How To Use It
Boundaries And Review