Skip to content
cccskills
FreePublished on GitHub

pptx-creator

トピックを入力するだけで、テンプレートのデザインを維持した .pptx を自動生成するスキル。「プレゼンを作って」「スライド生成」「PPTX作成」「提案資料を作成」等のリクエストで発動。

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

See how to install

Files included (17)

  • SKILL.md6.7 KB
  • agents/openai.yaml254 B
  • scripts/export_to_images.py4.9 KB
  • scripts/main.py296 B
  • scripts/outline_generator.py9.2 KB
  • scripts/pptx_creator.py8.1 KB
  • scripts/quality_reviewer.py6.8 KB
  • scripts/rich_elements.py29.0 KB
  • scripts/template_engine.py11.4 KB
  • SKILL.en.md5.9 KB
  • SKILL.es.md6.7 KB
  • templates/catalog.yaml4.4 KB
  • templates/pattern1/generate_template.py18.1 KB
  • templates/pattern1/template.pdf194.8 KB
  • templates/pattern1/template.pptx42.0 KB
  • templates/simple/template.pptx590.3 KB
  • templates/standard/template.pptx28.9 MB

SKILL.md (original)

Review the instructions the agent will receive before you install.

/pptx-creator — PPTX プレゼンテーション自動生成 v2

トピックを入力するだけで、テンプレートのデザインを維持した編集可能な .pptx ファイルを自動生成します。 生成後に画像エクスポート + Gemini Vision 品質検証が可能です。

トリガー

以下のようなリクエストで発動:

  • 「プレゼン作って」「スライド生成」「PPTX作成」「デッキ生成」
  • 「〜についてのプレゼンを作って」
  • 「提案資料を作成」「報告書スライドを生成」

仕組み

  1. Gemini Flash でトピックから構造化アウトライン(YAML)を生成
  2. テンプレート PPTX のデザイン(マスター/テーマ/フォント)を維持
  3. レイアウトPH注入 + リッチ要素コード生成 のハイブリッドで高品質スライド生成
  4. 画像エクスポート + Gemini Vision 品質レビュー(--verify)

テンプレート

テンプレートサイズフォント特徴
simple13.333" x 7.5"游ゴシックシンプル・汎用、PH注入方式
standard20.0" x 11.25"Noto Sans JP + Futura本格デザイン、code_gen方式

スライドタイプ(11種)

タイプ説明
title表紙スライド(中央タイトル + サブタイトル + アクセントライン)
sectionセクション区切り(番号 + タイトル + アクセントバー)
content箇条書きコンテンツ(タイトルバー + 箇条書き)
key_message1つの主要メッセージを大きく中央表示
two_column2列レイアウト(角丸カード内に左右コンテンツ)
comparison左右比較(ヘッダーバー + 箇条書き)
agenda番号付きアジェンダ(円番号 + 区切り線)
closing締めスライド(Thank you + アクセントライン)
kpi_dashboardKPIカード表示(3-4個、角丸カード + 変化率)
process_flowプロセスフロー(番号付き円 + 矢印 + 説明)
tableテーブル表示(ヘッダー行アクセント + 交互背景)

使い方

トピックからPPTX生成

python skills/pptx-creator/scripts/pptx_creator.py \
  --topic "AI活用提案" \
  --template simple \
  -o output/slides/proposal.pptx

生成 + 品質検証(推奨)

python skills/pptx-creator/scripts/pptx_creator.py \
  --topic "Q1業績報告" \
  --template standard \
  --slides 10 \
  --verify \
  -o output/slides/q1_report.pptx

アウトラインのみ生成(ドライラン)

python skills/pptx-creator/scripts/pptx_creator.py \
  --topic "新規事業計画" \
  --dry-run \
  --save-outline /tmp/outline.yaml

画像エクスポート単体

python skills/pptx-creator/scripts/export_to_images.py \
  output/slides/proposal.pptx \
  -o output/slides/proposal_images/

品質レビュー単体

python skills/pptx-creator/scripts/quality_reviewer.py \
  output/slides/proposal_images/ \
  --threshold 7.0

パラメータ

パラメータ必須デフォルト説明
--topic*1-プレゼンのトピック
--outline*1-既存アウトラインYAMLパス
--templateNosimpleテンプレート名 (simple/standard)
--output / -oNo自動生成出力PPTXパス
--slides / -nNo8スライド枚数
--audienceNobusiness対象聴衆
--language / -lNoja出力言語 (ja/en)
--save-outlineNo-アウトラインYAML保存先
--dry-runNofalseアウトライン生成のみ
--verifyNofalse生成後に画像エクスポート + 品質検証
--verify-thresholdNo7.0品質検証の合格スコア閾値

*1: --topic と --outline は排他必須

テンプレート配置

skills/pptx-creator/templates/
├── simple/template.pptx      ← ICHIBAN_SIMPLE_PPTXtemplate_游ゴシック.pptx
└── standard/template.pptx    ← template_basic.pptx

依存関係

  • Python 3.8+
  • python-pptx — PPTX操作
  • google-genai — Gemini API
  • pyyaml — YAML処理
  • python-dotenv — 環境変数
  • libreoffice — 画像エクスポート(--verify 使用時)
  • poppler-utils — PDF→PNG変換(--verify 使用時)
  • 環境変数: GEMINI_API_KEY または GOOGLE_API_KEY

エージェント向け実行手順

ユーザーが「プレゼンを作って」等のリクエストをした場合:

  1. トピックと要件をヒアリング
  2. 以下のコマンドを実行:
python skills/pptx-creator/scripts/pptx_creator.py \
  --topic "<ユーザーのトピック>" \
  --template simple \
  --slides <枚数> \
  --verify \
  -o output/slides/<ファイル名>.pptx
  1. 品質チェック結果を確認
  2. 不合格の場合はアウトラインを修正して再生成
  3. 出力ファイルパスをユーザーに伝達

Overview

トピックを入力するだけで、テンプレートのデザインを維持した編集可能な .pptx ファイルを自動生成するスキルです。Gemini Flash でアウトライン(YAML)を生成し、11種類のスライドタイプに対応。

Troubleshooting

エラー解決方法
API key not foundGEMINI_API_KEY または GOOGLE_API_KEY を環境変数に設定
Template not foundskills/pptx-creator/templates/ にテンプレートファイルが配置されているか確認
LibreOffice not found--verify 使用時は libreoffice のインストールが必要

Success Criteria

  • 指定枚数のスライドを含む .pptx ファイルが生成されている
  • --verify 指定時に品質スコアが閾値以上である
  • テンプレートのフォント・カラースキームが維持されている

Usage

上記「使い方」セクションを参照。基本例:

python skills/pptx-creator/scripts/pptx_creator.py --topic "AI活用提案" --template simple --verify -o output/slides/proposal.pptx

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