Skip to content
cccskills
FreePublished on GitHub

pptx-converter

PPTXテンプレート変換 & ゼロからデッキ生成。テーマ・アニメーション・SmartArtを保持してコンテンツを書き換え。「PPTX変換」「スライド作成」「パワポ書き換え」「デッキ生成」等のリクエストで発動。

The English summary is being prepared. Showing the original description.

See how to install

Files included (8)

  • SKILL.md4.3 KB
  • agents/openai.yaml258 B
  • scripts/extractor.py27.6 KB
  • scripts/generator.py30.0 KB
  • scripts/mapper.py42.9 KB
  • scripts/pptx_converter.py30.6 KB
  • SKILL.en.md4.0 KB
  • SKILL.es.md4.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

トリガーワード

「PPTX変換」「スライド作成」「パワポ書き換え」「デッキ生成」「PowerPoint」

PPTX Converter

PowerPointファイルのテンプレート変換とゼロからのデッキ生成ツール。

機能

1. convert - テンプレート変換(1コマンド完結)

元PPTXをコピーして、全要素をGeminiで意味解析し、新トピックに合わせてコンテンツを自動書き換え。

python skills/pptx-converter/scripts/pptx_converter.py convert \
    source.pptx \
    --topic "2026年Q1営業報告" \
    -o output/slides/q1_report.pptx

保持されるもの: スライドマスター、テーマカラー、フォント定義、アニメーション、トランジション、SmartArt構造、レイアウト配置

2. extract - マッピングYAML生成

元PPTXの全要素を抽出・意味解析し、座標-要素マッピングYAMLを生成。手動確認・編集用。

python skills/pptx-converter/scripts/pptx_converter.py extract \
    source.pptx \
    -o mapping.yaml

3. build - マッピング + データ → PPTX

手動編集したデータYAMLで要素を書き換え。

python skills/pptx-converter/scripts/pptx_converter.py build \
    source.pptx \
    mapping.yaml \
    --data data.yaml \
    -o output.pptx

4. deck - ゼロからデッキ生成

トピックからGeminiでアウトライン生成 → PPTX自動作成。

python skills/pptx-converter/scripts/pptx_converter.py deck \
    --topic "AIエージェント活用提案" \
    --type proposal \
    --style corporate \
    -o output/slides/proposal.pptx

deck オプション:

  • --type: auto / presentation / proposal / report / educational / pitch
  • --style: corporate / creative / minimal / academic
  • --slides N: スライド枚数(0=AI決定)
  • --audience: 対象者
  • --outline-only: アウトラインYAMLのみ出力

対応要素タイプ

タイプ抽出書き換え備考
テキストooスタイル(フォント・色・太字等)完全保持
チャートoochart.replace_data() でデータのみ差し替え
テーブルooセルスタイル保持、行列内容のみ差し替え
画像ooデフォルト保持、個別に差し替え指定可能
図形oo図形内テキストの差し替え
グループoo子要素を再帰的に処理(深さ3まで)
SmartArto部分テキストノードのみXML直接操作で差し替え

マッピングYAML構造

source: "source.pptx"
generated_at: "2026-02-09T15:30:00"
slide_width: 12192000
slide_height: 6858000

slides:
  - slide_number: 1
    layout: "Title Slide"
    elements:
      - id: 2
        name: "Title 1"
        type: text
        role: title
        hint: "メインタイトル。15-25文字。"
        position: { left: 457200, top: 274638, width: 8229600, height: 1143000 }
        style: { font: "Meiryo UI", size: 36, bold: true, color: "2563EB" }
        value: "2025年度 営業戦略"
        placeholder: "{{slide_1_title}}"

placeholders:
  - key: "{{slide_1_title}}"
    type: text
    role: title
    current: "2025年度 営業戦略"

ワークフロー判断

  • テンプレートPPTXがある → convert(1コマンド完結)
  • マッピングを手動確認したい → extract → YAML編集 → build
  • ゼロから作成 → deck

環境変数

  • GEMINI_API_KEY or GOOGLE_API_KEY: Gemini API キー(必須)
  • GEMINI_FLASH_MODEL: テキスト処理モデル(デフォルト: gemini-2.5-flash)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

A/Bテストや実験の設計・実装を支援するスキル。 「A/Bテストを設計して」「スプリットテストしたい」「仮説を立ててテストしたい」「バリアントを比較」等のリクエストで発動。 トラッキング実装は analytics-tracking を参照。

The English summary is being prepared. Showing the original description.

minicoohei/ai-agent-camp346Updated Oct 7, 2026

マルチエージェントシステムのアーキテクチャ設計ツールキット。 「エージェントを設計して」「マルチエージェント構成」「エージェントのアーキテクチャ」「オーケストレーション設計」等のリクエストで発動。

The English summary is being prepared. Showing the original description.

minicoohei/ai-agent-camp346Updated Oct 7, 2026

ai-agent-campのローカル環境セットアップを確認するスキル。 「セットアップ確認」「環境チェック」「初期設定できてる?」「インストール確認」「依存関係チェック」等のリクエストで発動。

The English summary is being prepared. Showing the original description.

minicoohei/ai-agent-camp346Updated Oct 7, 2026

ai-agent-campのスラッシュコマンドをCodexでルーティングするスキル。 「/start-0-1を実行」「スラッシュコマンドを使いたい」「コマンドルーティング」「Cursorのコマンドを使いたい」等のリクエストで発動。

The English summary is being prepared. Showing the original description.

minicoohei/ai-agent-camp346Updated Oct 7, 2026

ai-agent-campの環境変数・認証情報を安全に管理するスキル。 「APIキーを設定」「.envを管理」「環境変数の設定」「credential managerを使いたい」「秘密情報の管理」等のリクエストで発動。

The English summary is being prepared. Showing the original description.

minicoohei/ai-agent-camp346Updated Oct 7, 2026

ai-agent-campリポジトリの案内・オリエンテーションスキル。 「リポジトリ案内」「次のレッスンは?」「どこから始める」「ツールの違い」「aiagent概要」等のリクエストで発動。

The English summary is being prepared. Showing the original description.

minicoohei/ai-agent-camp346Updated Oct 7, 2026

See all skills by minicoohei

Report a problem with this skill