360 Secure SkillHub
360 安全技能中心

powerpoint

该 Skill 面向 PowerPoint 演示文稿的创建、设计与分析:可将 HTML 幻灯片转换为 PPTX,基于模板复制/重排页面并注入文本,生成缩略图网格检查版式,并提供 OOXML 校验脚本。依赖 Node 与 Python 脚本运行,适合需要精确布局和设计规范的场景。

IgorWarzocha
热度 0.00
最近更新 2026-10-19 02:32:23
分类:创作依赖:代码执行 / 读写文件 / 联网浏览搜索应用场景:演示设计 / 模板 / 工作流 / 文件转换 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add igorwarzocha/opencode-workflows/powerpoint
Metadata
name
powerpoint
description
Handle PowerPoint (.pptx) creation, design, and analysis. Use for pitch decks, status updates, and visual storytelling. Use proactively when precise layout positioning and design principles are needed. Examples: - user: "Create a 10-slide deck for the board meeting" -> use design principles + html2pptx - user: "Convert this report into a presentation" -> extract text and map to template - user: "Audit this deck for layout issues" -> generate thumbnail grid for inspection

<high_fidelity_creation> The preferred method for precise layout positioning:

  1. HTML: Create slides (720pt x 405pt). Text MUST be in <p>, <h1>-<h6>, or <ul>.
  2. Visuals: You MUST rasterize gradients/icons as PNGs using Sharp FIRST. Reference: references/html2pptx.md.
  3. Execution: Run html2pptx.js to generate the presentation. </high_fidelity_creation>

<template_structure> For deck editing or template mapping:

  • Audit: Generate thumbnail grid (scripts/thumbnail.py) to analyze layout.
  • Duplication: Use scripts/rearrange.py to duplicate and reorder slides.
  • Text Injection: Use scripts/replace.py with the JSON inventory to populate content. </template_structure>

<design_quality>

  • Fonts: You MUST use web-safe fonts ONLY (Arial, Helvetica, Georgia).
  • Colors: You MUST NOT use the # prefix in PptxGenJS hex codes (causes corruption).
  • Layout: You SHOULD prefer two-column or full-slide layouts. You MUST NOT stack charts below text.
  • Verification: You MUST generate a final thumbnail grid with --cols 4 to inspect for text cutoff or overlap issues. </design_quality>

</powerpoint_professional_suite>