Back to skills
SKILL.md
planners-ppt-hell
ASecurity做 PPT、幻灯片、商业 Deck、提取或维护参考模板,以及通过 SVG 视觉工作台排布共创与按需外发导出(PPTX / PDF)时使用。
- 251 stars
- 0 votes
- 0 copies
- 0 views
- Added November 21, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add thePlannerIvan/planners-ppt-hell --agent claude-codeAre you the author of planners-ppt-hell?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/theplannerivan-planners-ppt-hell)---
name: planners-ppt-hell
description: 做 PPT、幻灯片、商业 Deck、提取或维护参考模板,以及通过 SVG 视觉工作台排布共创与按需外发导出(PPTX / PDF)时使用。
---
# Planner's PPT Hell
> 来源:阿祖不看 TVC · [demyth.info](https://demyth.info) · `Lawyif@163.com`。署名保留在 Skill 与审阅工作台,不写入客户最终 PPTX、导出 PDF/SVG 或 PNG。
本 Skill 的**核心交付物是持久化 SVG 视觉工作台 (`Workbench`)**——它本身就是人机共创、排布、批注与演示的交互终端。用户画布直改与模型候选共用版本库(`workbench_store.py`),`.pptx`、`.pdf` 与冻结快照仅在按需外发时生成。核心术语见 [GLOSSARY.md](GLOSSARY.md),架构裁决见 [docs/adr/](docs/adr/)。
## 同一主线下的任务切入(`Non-linear Playbook`)
所有任务共享**「1. 接收 → 2. 定方向与模板 → 3. 工作台制作与审阅交付(默认终点)」**同一条主线,按当前任务与已有半成品切入:
| 当前任务 | 执行路径 | 按需加载的模块 (Disclosed References) |
|---|---|---|
| **从零 / 从 Bypage 做幻灯片** | `1 → 2 → 3(打开并交付 Workbench 即完成)` | [02_content_stage.md](references/workflow/02_content_stage.md) → [01_template_intake.md](references/workflow/01_template_intake.md) → [04_svg_stage.md](references/workflow/04_svg_stage.md) + [svg_to_ppt_rules.md](references/domain/svg_to_ppt_rules.md) |
| **处理工作台返修 / 换模板与版式** | 直接进 `3`(`workbench_store.py state` 读任务) | [04_svg_stage.md](references/workflow/04_svg_stage.md) + [07_visual_review.md](references/workflow/07_visual_review.md) |
| **提炼外部参考 / 维护库模板包** | 走 `2` 的参考快提或模板入库链 | [01_template_intake.md](references/workflow/01_template_intake.md) + [template_package.md](references/contracts/template_package.md) |
| **按需外发导出(PPTX / PDF / 冻结快照)** | 仅在用户明确要求导出或工作台点击导出唤醒时执行 | [project_contract.md](references/contracts/project_contract.md#选定版本输出) |
## 核心深模块 CLI(`Deep-module Tools`)
在 Skill 根目录运行,路径使用绝对路径,具体参数以 `--help` 为准:
| 工具 CLI | 职责与调用时机 (Seam) |
|---|---|
| `python3 scripts/init_svg_project.py` | 初始化项目画布与目录(`--source` / `--width` / `--height`);已有项目直接恢复原目录。 |
| `python3 scripts/workbench_store.py --root <project>` | 页面版本与任务唯一入口:提供 `state`、`get`、`checkout`、`save`、`add-page`、`delete-page`、`resolve` 参数化子命令(亦兼容 `--command-json` stdin);参数详情见 `<subcmd> --help`,契约见 [project_contract.md](references/contracts/project_contract.md)。 |
| `python3 scripts/orchestrate/ppt_pipeline.py <project> <cmd>` | 无状态编排:`check --summary`(按需渲 PNG + 几何/对比防线 + 双向文案对表)、`review [--surface-only]`(生成并打开/刷新 `Workbench`)、`template-select`、`template-review`、`export`(仅显式导出时调用)。 |
| `python3 scripts/template/template_library.py` | 模板库管理:`list`、`apply`、`publish`、`refresh`、`verify`。配合 `extract_template_pack.py`、`scaffold_template_pack.py`、`apply_layout_selection.py`、`layout_index.py` 使用。 |
---
## 1. 接收(`Intake & Resume`)
- **恢复或新建**:已有项目直接跑 `workbench_store.py --root <project> state` 恢复当前页序、修订版与待办任务;新项目按输入源运行 `init_svg_project.py`(衔接细节见 [02_content_stage.md](references/workflow/02_content_stage.md)):
- **Bypage 逐页稿(`planners-doc/2`)**:用 `--source <Project>/.planners/by-page.md` 初始化,自动校验 `fact-audit.json` 与 `by-page.assets.json`,整理进 `_internal/01_content/page_content.json`,沿用同一 `project-memory.md` 与权威 `source-index.json`。
- **直接材料**:按复杂度整理进 `page_content.json`,或多源研究时先委派 `planners-bypage`。
- **Completion Criterion**:来源与画幅可读,每页拥有稳定 `page_key` 与 `page_content.json` 记录,全部源图片已登记且零静默遗漏。
## 2. 定方向与模板(`Direction & Template`)
- **确认秩序与密度基调**:一次确认画幅与视觉来源(用户已指明则直接执行),将本次选择写入 `_internal/01_content/design_direction.md`。
- **角色分工(`Template Pack vs. Page Composition`)**:
- **模板管皮肤与参考骨架**:已选 `Template Pack` 时,色彩、字体、容器形式与现成原语(`primitives/*.svg`)100% 服从模板;
- **页面构图力学管层级、双密度与原型**:开画前结合 [page_composition.md](references/domain/page_composition.md),按每页内容体量动态适配**高密咨询台账(`High-Density Consulting Ledger & Grid`)**或**低密聚光灯留白(`Low-Density Spotlight & Manifesto`)**,并按需选用 9 大拓扑原型。
- **选用、快提或入库模板**:见 [01_template_intake.md](references/workflow/01_template_intake.md)。开画前必须实际查看所选模板的 `SPEC.md` 与样张(或 `extract_template_pack.py` 生成的 `contact_sheet.png`)。
- **Completion Criterion**:`design_direction.md` 已落盘,所选模板的规范文档与参考样张已实际查看。
## 3. 工作台制作与审阅交付(`Workbench & Review` — 默认终点)
按 [04_svg_stage.md](references/workflow/04_svg_stage.md) 与 [svg_rules.md](references/domain/svg_rules.md)(导出兼容另读 [svg_to_ppt_rules.md](references/domain/svg_to_ppt_rules.md))逐页制作、返修并交付工作台:
1. **Checkout → 编辑候选 → Save**:通过 `workbench_store.py` `checkout` 获取候选路径、基版与受保护的 `guards`,编辑候选 SVG 后执行 `save`(附 `base-revision` 与可选 `layout-id` / `task-id`);整页重建遇到 `human_edits_lost` 时按回执 `guards` 原位保留用户直改。
2. **版式与反馈任务**:工作台提交的空间批注(`Annotation`)、整套模板(`template_id`)与逐页参考版式(`layout_id`)均作为 pending task 存入 Store。按参考版式组织该页(版式是参考起点,内容冲突时优先保住主张与证据,并在回执说明偏离),保存后调用 `resolve` 绑定结果 revision。
3. **Check → 多模态看图自检**:运行 `ppt_pipeline.py <project> check --pages ... --summary` 检查技术防线(含切字、低对比淡黄、字宽溢出、未定义 CSS 变量、Emoji 与双向文案对表),**直接打开渲染出的逐页 PNG 大图(`check` 返回的 `png` 路径)目检阅读层级、换行与图片裁切**,发现缺陷立即修候选重跑。
4. **打开并交付 `Workbench` 即完成本轮工作**:按 [07_visual_review.md](references/workflow/07_visual_review.md) 打开或刷新工作台——DSH 环境跑 `ppt_pipeline.py <project> review --surface-only` 后交 `review_open` 挂入侧栏;非 DSH 跑 `ppt_pipeline.py <project> review` 启动 `planners-review-core` 本地宿主。至此向用户交付工作台并停下等待审阅。
- **Completion Criterion**:本轮所有变更均取得 Store 保存回执(非 `no_change`),`check` 零硬错误,已实际目检最新 PNG 大图,待办 `task_id` 已 `resolve`,且 `Workbench` 已打开或刷新交付。
> **按需外发导出**:仅当用户明确要求导出 `.pptx` / `.pdf` 或工作台点击导出唤醒时,读取 [project_contract.md](references/contracts/project_contract.md#选定版本输出) 执行冻结快照与导出。
## 协同能力与工程维护
- **同行 Skill 协同**:修改页面文案表达调 `slide-copy`;补充论证视角调 `planners-method-wiki`;页面改写改变了数字、主体、时间、单位或限定条件时,在交付前按 [02_content_stage.md](references/workflow/02_content_stage.md) 调用 `planners-fact-check` 复核受影响页。
- **架构与升级**:模块唯一主人、接口契约与测试门禁见 [references/architecture.md](references/architecture.md)。升级或维护本 Skill 时遵循 `planning-before-create-skill`,候选问题记入 [GOTCHAS.md](GOTCHAS.md),正式变更记入 [references/maintenance-history.md](references/maintenance-history.md)。
Files in this skill
- COMMERCIAL.md
- GLOSSARY.md
- GOTCHAS.md
- NOTICE
- SKILL.md
- TRADEMARK.md
- agents/openai.yaml
- evals/evals.json
- references/architecture.md
- references/maintenance-history.md
- scripts/canvas_frame.py
- scripts/copy_audit.py
- scripts/generate_review_html.py
- scripts/generate_template_review_html.py
- scripts/generate_template_select_html.py
- scripts/image_diagnostics.py
- scripts/import_bypage.py
- scripts/init_svg_project.py
- scripts/native_svg_to_ppt.py
- scripts/prepare_source_material.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.