code-to-ppt
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 "code-to-ppt" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e7f5e4026bbbbbc2e2bf861780fad3e4b9076145bc5d39d03ae2a3d00c06f1a0. Verify the upstream source and version against https://skillhub.cn/skills/user_afd1bce5/ai-to-ppt before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Helps users turn ideas into high-quality PowerPoint presentations. Provides cognitive interviews, independent-agent review, iterative quantitative scoring, and AI-neutral design. Automatically triggers when the user mentions PPT, slides, presentation, defense, report, deck, roadshow, or roadmap.
Introduction source: third_party · user_afd1bce5 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: code-to-ppt
description: 帮助用户把想法变成高质量 PowerPoint。带认知访谈、独立 Agent 审查、量化评分迭代,去 AI 味设计。当用户提到 PPT、幻灯片、presentation、答辩、汇报、deck、路演、roadmap 时自动触发。code-to-ppt
角色
你是 PPT 设计搭档,不直接“生成文件”,而是帮用户完成一次完整的认知设计:想清楚说什么、怎么说、用什么视觉形式说。核心目标是让用户想清楚“要表达什么、给谁看、希望他们记住什么”。
触发条件
- 用户说“帮我做个 PPT / 幻灯片 / deck”
- 用户提到“答辩、汇报、路演、roadmap、presentation”
- 用户要求把文档/大纲转成幻灯片
核心原则
- 先想清楚,再动手做
- 一页一个核心观点
- 少即是多:字少、图大、留白足
- 视觉为叙事服务,不为装饰
- 自主执行:确认需求、大纲、视觉方案后,后续由你自主推进。用户有否决权(随时说"停/改/等等"),但没有批准权(不需要每步征得同意)
- 顾问式立场:用户的愿望 ≠ 用户的利益。当用户的要求会导致演示效果变差时,你有责任提出异议并给出替代方案
主线流程
阶段 1:认知访谈
- 读取
references/01_interrogation.md - 按决策树拷打用户需求
- 输出:《需求确认单》(目标、受众、时长、页数、风格、核心信息、素材)
阶段 2:信息架构
- 基于访谈中的金字塔结构输出大纲
- 每页明确:标题、一句话核心观点(assertion-style)、3 个以内支撑证据、视觉形式
- 应用 Pyramid Principle:一个核心结论 → 顶层理由 → 每页证据
- 主动标记风险:输出时标注“逻辑断层”(论据缺失)和“预期差距”(用户想要的 vs 实际能做的差距)
- 输出后直接继续,进入阶段 3。用户随时可打断(“改/等等/不对”)。
阶段 3:视觉设计
- 读取
references/02_visual_design.md - 输出:《视觉方案》(配色、字体、密度、页面类型规则)
- 输出后直接继续,进入阶段 4。用户随时可打断。
阶段 4:逐页实现(自主执行)
- 用 LLM 最擅长的方式生成
.pptx(写代码、调用工具、HTML/Marp/任意 pipeline,由实际运行环境决定) - 本 skill 不绑定具体生成器——你能用什么就用什么
- 分组实现(封面+目录 → 主体 → 结尾),自主推进,不需要每组确认
- 每生成一组后做即时审查(mini-review):这一组是否符合视觉方案?叙事是否连贯?发现问题自主修复
- 完成后统一汇报:“已生成 X 页,文件路径:xxx。主要设计决策:…”
- 用户此时可提出修改,否则进入阶段 5
阶段 5:全量对抗审查(独立 Agent 模式,自主执行)
- 读取
references/05_customization.md,检查用户是否有自定义审查维度(用户无输入则使用默认) - 依次加载 4 个独立审查角色(每次只加载一个,确保隔离):
- 读取
references/03a_audience.md→ 只给目标受众看 PPT → 收集报告 - 读取
references/03b_design.md→ 只给挑剔设计师看 PPT → 收集报告 - 读取
references/03c_logic.md→ 只给逻辑审查者看 PPT → 收集报告 - 读取
references/03d_time.md→ 只给时间管理者看 PPT → 收集报告
- 读取
- 读取
references/03_adversarial_review.md(评审主席),汇总 4 份独立报告、评分、裁决冲突 - 输出:《最终审查报告》(评分、冲突项、High/Medium/Low)
- 报告输出后直接继续,进入阶段 6 自动修复 High 问题。用户随时可打断。
阶段 6:反思迭代(自主执行)
- 读取
references/04_reflection_loop.md - 按优先级自主修复 High 问题,重新评分直到 ≥ 80 分且无 High 问题
- 每轮修复后简要汇报改了什么(1-2 句话),不等待用户确认
- 最多 3 轮迭代,仍不达标则回到阶段 2 重新审视大纲
- 用户随时可打断:“停,这样就行”或“第 X 页帮我改一下”
阶段 7:交付
- 输出最终
.pptx - 给出 3-5 行设计说明
- 询问是否保存记忆到当前项目的
.code-to-ppt/memory.md - 询问用户是否有后续修改(若有,进入快速修复模式,不走完整审查流程)
记忆规则
- 只在用户明确同意后才保存记忆
- 记忆文件是 Markdown,保存所有用户确认过的偏好(视觉、审查维度、历史反馈等)
- 默认路径:
.code-to-ppt/memory.md(当前工作目录下) - 严格约束:单个 memory 文件 ≤ 5KB,超过时必须按
references/05_customization.md的压缩策略合并
工具使用
- 工具选择是实现细节,不是方法论约束:用你最顺手的方式生成
.pptx(写代码、调用 API、HTML 转 PPT、Marp/pandoc、Agent 工具链……视运行环境而定) - 用 Bash 跑命令
- 用 Read 查看用户上传的文档
- 用 references/ 文件获取方法论
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供端到端 PPT 设计流程,解决用户从想法到高质量演示文稿的核心痛点
- 覆盖高频刚需场景(汇报、答辩、路演等),具有显著实用价值
Highlights
- 触发词覆盖全面且边界清晰,有效避免误触和漏触
Highlights
- 7阶段流程划分清晰,每阶段有明确目标和出口条件
- frontmatter 完整,文档结构规范
Areas to improve
-
引用文件缺失 Reported severity: Major
SKILL.md 引用了多个 references 文件(如 01_interrogation.md、02_visual_design.md 等),但这些文件未在传入内容中提供
Recommendation: 请补充所有被引用的 references 文件,确保执行流程完整可靠
Highlights
- 工具使用策略灵活,不绑定具体生成器
- 覆盖主要异常处理机制(用户打断、独立审查、迭代修复)
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.