技能图谱SKILLSGROVE
技能图谱/办公文档/tristan-mcinnis/pptx-from-layouts-skill/powerpoint

powerpoint

安装

$npx skills add https://github.com/tristan-mcinnis/pptx-from-layouts-skill --skill powerpoint
$git clone --depth 1 https://github.com/tristan-mcinnis/pptx-from-layouts-skill.git /tmp/pptx-from-layouts-skill && mkdir -p ~/.claude/skills && cp -r /tmp/pptx-from-layouts-skill/alternatives/powerpoint-igorwarzocha ~/.claude/skills/powerpoint
请帮我安装这个 Agent Skill:https://github.com/tristan-mcinnis/pptx-from-layouts-skill/tree/46e7c6638305bcb424f257b5c49dcd2603dc71ea/alternatives/powerpoint-igorwarzocha ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MITHandle 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
以下 SKILL.md 内容转载自 tristan-mcinnis/pptx-from-layouts-skill(提交 46e7c66),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 Tristan 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。
<instructions> <powerpoint_professional_suite> <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> </instructions>
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 Tristan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.