ppt-complex-diagram-collab
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ppt-complex-diagram-collab" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-413e06f3fd32a0ea57d5f5b5fb6e55f1ca48660615f127b366edcf84bf86440a. Verify the upstream source and version against https://github.com/Sven-LI-sankyuu/presentation-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
For human-assisted generation of publication-quality, editable PPT complex diagrams, especially suited to visualizations like system architecture, data flows, and user journeys that require shape-level connector validation and reproducible output.
Introduction source: third_party · Sven-LI-sankyuu · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Use when collaborating with humans to produce publication-grade complex diagrams in editable PPT, especially for system architecture, dataflow, and user-journey visuals that require shape-level connector validation and reproducible outputs.
- Testing
- Not tested
Browse files
Frontmatter
name: ppt-complex-diagram-collab
description: Use when collaborating with humans to produce publication-grade complex diagrams in editable PPT, especially for system architecture, dataflow, and user-journey visuals that require shape-level connector validation and reproducible outputs.PPT Complex Diagram Collab
归档说明
- 本 skill 在仓库中已经归档到
old/ppt-complex-diagram-collab/,后续主线能力统一迁移到ppt-polished-deck-collab/。 - 这里保留的价值主要是复杂图、connector 校验和视觉经验,不再作为主线持续扩展入口。
概览
把“业务讲清楚 + 图可复用 + 论文可交付”作为同一个任务完成。 优先交付图包(planning + mermaid + editable PPT + 校验结果),不要只交单张图。
执行目录约定
- 以下命令默认在
old/ppt-complex-diagram-collab/目录内执行(即本SKILL.md同级目录)。 - 若你从其他目录执行,请自行补齐前缀路径。
工作流
按下面顺序执行,避免返工。
- 先确认环境基线
- 先读取 references/tested_environment.md。
- 至少确认 Python、
python-pptx、Node/npm、mermaid-cli 可用。 - 不强制新建 conda 环境:如果现有环境能安装并稳定运行所需包,直接复用即可;需要隔离再新建临时环境。
- 如果当前环境和基线差异较大,先记录差异再开始出图,避免“图能生成但不可复现”。
- 先锁定交付规格
- 明确主图用途:论文主图、答辩图、工程文档图。
- 明确输出形态:
*.md(含 mermaid)、*.mmd(可选)、*.pptx(可编辑)。 - 明确可编辑定义:
- 如果使用 connector:拖动节点时连线仍然绑定,不是“视觉上像连着”;
- 如果不使用 connector(分层架构图常见):用箭头/卡片表达层级递进,此时连线校验期望
connectors=0。
- 先选视觉语法(分层架构图 vs 数据流/因果图),避免把两张图硬塞一张图。
- 拆分图集而不是硬塞一张图
- 先给图清单:总览分层图 + 关键执行链路图 + 用户视角流程图。
- 给每张图编号(如 Fig00~Fig09)并定义“读者问题 -> 图回答什么”。
- 使用 references/figure_planning_template.md 组织范围和边界。
- 先做可讨论版本(mermaid)
- 在一个文档里集中维护图集与解释,保证评审快。
- 保持节点命名稳定,避免后续 PPT 版无法对齐。
- 用脚本批量渲染 SVG/PDF/PNG,确保论文与汇报都能复用。
- 再做可编辑版本(PPT)
- 用
python-pptx直接画 shape(必要时才画 connector),不要仅插入 PNG。 - 分层架构图(Fig00)推荐默认用 Layer Card + 递进箭头,避免 hairball;数据流图(Fig01)再用 connector。
- 如果使用 connector:
- 连接线必须使用
begin_connect()/end_connect()粘连到具体 shape; - 优先连接“业务节点框”,不要连接 lane/cluster 外框;
- 控制 edge budget(参考视觉/连线策略文档)。
- 连接线必须使用
- 如果不使用 connector:
- 箭头应表达“层级递进/主方向”,不要用长 chevron 文案当装饰;
- 仍然建议运行连线校验,确认
connectors=0。
- 强制做连线校验
- 运行
scripts/check_pptx_connectors.py校验:- 每条 connector 同时存在
stCxn和endCxn; - 连接的 shape id 必须可解析到文本节点;
- 不允许粘到被禁止前缀(如
Lane)节点。
- 每条 connector 同时存在
- 可选:如果这张图预期必须存在 connector,用
--min-connectors防止“意外生成了 0 条连线”。 - 用 references/ppt_connector_debug.md 做人工复核。
- 迭代时只改关键差异
- 用户反馈“线条拖动会散”时,先定位具体哪条边,不做大重画。
- 优先修连接点索引映射和目标 shape 绑定关系。
- 每次迭代后重新生成 PPT 并复跑校验脚本。
交付清单
一次完整交付至少包含:
- 图集说明文档(图编号、用途、约束)。
- mermaid 源和批量渲染脚本。
- 可编辑
pptx生成脚本。 - 连线校验脚本输出(命令 + 结果)。
- 视觉方案与连线策略说明(建议作为附录或
style_spec.md),保证可复用与可复现。
快速命令
# 1) 生成可编辑 PPT(示例)
python <diagram_dir>/build_editable_pptx.py
# 2) 校验连线是否真绑定
python scripts/check_pptx_connectors.py \
--pptx <diagram_dir>/pptx/<name>.pptx \
--slide 10 \
--forbid-prefix "Lane " \
--min-connectors 1
资源使用规则
- 需要确认系统/工具环境时,读取 references/tested_environment.md。
- 需要规划图集范围时,读取 references/figure_planning_template.md。
- 需要诊断“拖动散线/连错对象”时,读取 references/ppt_connector_debug.md。
- 需要统一视觉方案/控制连线密度时,读取 references/visual_style_and_edge_policy.md。
- 需要程序化验收时,运行
scripts/check_pptx_connectors.py。
Version history
-
skills-2026-07-27-cb26bae
GitHub ↗
Original release notes
Current root-level skill packages built from commit cb26bae. Assets: - ppt-polished-deck-collab-cb26bae.zip - word-polished-doc-collab-cb26bae.zip - web-demo-video-synthesis-cb26bae.zip - xhs-markdown-card-collab-cb26bae.zip - presentation-skills-all-skills-cb26bae.zip - SHA256SUMS.txt The zip files were generated with git archive from HEAD, so they contain the committed skill directories without local temp files or ignored cache files.
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决专业用户(论文/答辩/工程文档)的核心痛点
- 提供端到端可复现方案(mermaid + PPT + 校验)
- 直接提升出版级复杂图表制作效率
Highlights
- 触发词精准覆盖 system architecture, dataflow, user-journey 等关键场景
- 明确强调 shape-level connector validation 和 reproducible outputs
- 边界清晰,避免与其他图表工具混淆
Areas to improve
-
归档状态说明 Reported severity: Minor
文档开头说明本 skill 已归档到 old/ 目录,可能影响用户首次使用认知
Recommendation: 建议在 description 或开头明确说明'虽已归档但仍可使用,复杂图表场景推荐'
Highlights
- 7步工作流清晰完整(环境→规格→拆分→mermaid→PPT→校验→迭代)
- 交付清单明确具体(图集说明、mermaid源、PPT脚本、校验输出、视觉方案)
- 提供端到端快速命令示例
Areas to improve
-
脚本依赖说明不足 Reported severity: Minor
scripts/check_pptx_connectors.py 的具体实现依赖未在文档中详细说明
Recommendation: 建议在 references/ 目录下补充该脚本的使用前提和依赖说明
Highlights
- 工具链完整(python-pptx、mermaid-cli、Node/npm)
- 强制连线校验机制防止生成无效图表
- 覆盖环境差异、迭代修复等主要异常场景
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.