SkillsGrove
SkillsGrove/ドキュメント作成/arih04x/office-skills/office-ppt

office-ppt

インストール

$npx skills add https://github.com/arih04x/office-skills --skill office-ppt
$git clone --depth 1 https://github.com/arih04x/office-skills.git /tmp/office-skills && mkdir -p ~/.claude/skills && cp -r /tmp/office-skills/office-ppt ~/.claude/skills/office-ppt
この Agent Skill をインストールしてください:https://github.com/arih04x/office-skills/tree/0fb34f48e26eb934b1cdd012b8d080b1e2105087/office-ppt — まず SKILL.md とスクリプトを読み、安全であることを確認してから、私のスキルフォルダにインストールしてください。

概要

原文の説明 · MITCreate, edit, style, and validate Microsoft PowerPoint .pptx slides and decks with task-specific JavaScript, PptxGenJS, GPT image generation, stored style references, and PowerPoint-native PNG review. Use for PPT/PPTX/PowerPoint work: one-slide visuals, slide decks, presentation figures, image-backed slides, visual style transfer, brand/style references, CJK slides, deck refresh, and slide QA.
以下の SKILL.md は arih04x/office-skills(コミット 0fb34f4)から MIT ライセンスに基づいて転載しています。本文は変更しておらず、ファイル先頭のメタデータのみ省略し、画像はリンクとして表示し、非常に長いファイルは途中までの表示としています。Copyright 2026 ARIHOAX。ライセンス:LICENSE。表示しているのは指示ファイルのみです。スクリプト等は元のリポジトリをご覧ください。

Office PPT

Use this skill for PowerPoint .pptx tasks. Build with Node.js + PptxGenJS; use GPT image generation for visual backgrounds.

Operating Model

  • Node.js with pptxgenjs and OpenAI-compatible image API.
  • Copy assets/node-starter/ as starting point when useful.
  • Style references in assets/styles/ (built-in: onij.png).
  • Env config from config/office-skills.local.env, OFFICE_SKILLS_ENV, or --env.
  • Generated images → slide backgrounds; exact text → native PPT text boxes.

Core Loop

Styled decks follow a five-stage interactive workflow:

  1. Clarify — Ask user for theme, audience, slide count, style preference.
  2. Theme image — Generate a theme/mood image to align visual direction.
  3. Draft deck — Build an editable PPTX draft with placeholder text on generated backgrounds. Discuss structure with user (pages, content, message).
  4. User revision — User reviews and edits the draft (text, order, emphasis).
  5. Polish — Based on finalized content, call image API for per-slide tailored visuals; rebuild final deck with native text over polished images.

Do not treat style references as palette-only hints. Use the image generator for high-level visual material; use PowerPoint-native objects for precision and editability. See references/interactive-workflow.md for full details.

Task Selection

Task Read Focus
Styled deck (full workflow) references/interactive-workflow.md Five-stage interactive loop
Create slide/deck references/create-pptx.md PptxGenJS code
GPT image / style transfer references/gpt-image-style.md Generate PNGs first, consume in PPT script
Apply visual style references/style-assets.md Style reference → palette/composition cues
Validate output references/validation.md Export to PNG, inspect rendered result

Read the matching reference, implement, validate with scripts/check-pptx.py.

Key Rules

  • 16:9 default; one message per slide; text always editable.
  • No exact text/data/formulas inside generated images.
  • CJK: Microsoft YaHei or DengXian; margins 0.45-0.75 in.
  • Inspect exported PNGs for cropped text, low contrast, misplaced overlays.
ライセンス全文を見る(MIT)
MIT License

Copyright (c) 2026 ARIHOAX

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.