mcpField
P
powerpoint

powerpoint

github.com/igorwarzochaドキュメント1226.0k 回インストール38 週間前に更新
リポジトリ

powerpoint について

HTMLによるスライド生成と、レイアウト確認・スライドの並べ替え・テキスト置換用スクリプトを備えた、PowerPoint作成・編集向けスキルです。精密な配置と視覚的な確認が必要なワークフローに適しています。

主な機能

  1. 01HTMLからPowerPointを生成
  2. 02グラデーションとアイコンをPNG化
  3. 03サムネイルによるレイアウト確認
  4. 04スライドの複製と並べ替え
  5. 05JSONに基づくテキスト置換
  6. 06文字切れや重なりの最終確認

活用シーン

  1. 01精密なレイアウトのスライド作成
  2. 02既存デッキのレイアウト確認
  3. 03テンプレートスライドの複製や並べ替え
  4. 04JSON一覧からスライドへ内容を入力

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/igorwarzocha/opencode-workflows --skill powerpoint

インストール後、Claude Code で/powerpointを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

references/
html2pptx.md
ooxml.md
references/ooxml/schemas/ecma/fouth-edition/
opc-contentTypes.xsd
opc-coreProperties.xsd
opc-digSig.xsd
opc-relationships.xsd
references/ooxml/schemas/ISO-IEC29500-4_2016/
dml-chart.xsd
dml-chartDrawing.xsd
dml-diagram.xsd
dml-lockedCanvas.xsd
dml-main.xsd
dml-picture.xsd
dml-spreadsheetDrawing.xsd
dml-wordprocessingDrawing.xsd
pml.xsd
shared-additionalCharacteristics.xsd
shared-bibliography.xsd
shared-commonSimpleTypes.xsd
shared-customXmlDataProperties.xsd
shared-customXmlSchemaProperties.xsd
shared-documentPropertiesCustom.xsd
shared-documentPropertiesExtended.xsd
shared-documentPropertiesVariantTypes.xsd
shared-math.xsd
shared-relationshipReference.xsd
sml.xsd
vml-main.xsd
vml-officeDrawing.xsd
vml-presentationDrawing.xsd
vml-spreadsheetDrawing.xsd

詳細

<high_fidelity_creation> 精密なレイアウト配置の推奨方法:

  1. HTML:スライド(720pt x 405pt)を作成します。テキストは必ず <p>、<h1>〜<h6>、または <ul> 内に配置してください。
  2. ビジュアル:Sharp を使ってグラデーション/アイコンを必ず先に PNG にラスタライズしてください。参照先:references/html2pptx.md。
  3. 実行:html2pptx.js を実行してプレゼンテーションを生成します。 </high_fidelity_creation>

<template_structure> スライドデッキの編集やテンプレートのマッピングを行う場合:

  • 監査:サムネイルグリッド(scripts/thumbnail.py)を生成してレイアウトを分析します。
  • 複製:scripts/rearrange.py を使ってスライドを複製し、順序を変更します。
  • テキストの挿入:JSON インベントリと scripts/replace.py を使ってコンテンツを入力します。 </template_structure>

<design_quality>

  • フォント:ウェブセーフフォント(Arial、Helvetica、Georgia)のみを必ず使用してください。
  • 色:PptxGenJS の16進カラーコードに # 接頭辞を付けないでください(データ破損の原因になります)。
  • レイアウト:2列または全画面レイアウトを優先してください。テキストの下にグラフを積み重ねないでください。
  • 検証:テキストの切れや重なりがないか確認するため、必ず --cols 4 を指定して最終サムネイルグリッドを生成してください。 </design_quality>

</powerpoint_professional_suite>

コメント