Communitygithub.com

Rylai PPTX - PowerPoint操作スキル

python-pptxとオプションでLibreOfficeを使用して、PowerPointプレゼンテーションの作成、検査、抽出、編集、レンダリング、検証を行います。

Rylai PPTX - PowerPoint操作スキル とは?

このスキルは、`python-pptx`ライブラリを活用してPowerPoint(PPTX)ファイルをプログラム的に操作するためのツールです。開発者は、ローカルコンテンツからスライドをゼロから構築したり、既存のデッキを検査・編集したり、テキストをMarkdownとして抽出したり、プレゼンテーションをPDFにレンダリング(LibreOfficeが必要な場合)できます。ワークフローは、目的の確認、既存デッキの検査、JSONベースのスライド仕様の作成、画像のローカルパス使用の徹底、そして出力の検証(スライド数の確認、テキストの収まり、画像の可読性など)を重視します。バンドルされたCLIスクリプト`scripts/rylai_pptx.py`により、`build`、`inspect`、`extract`、`render`といった操作を簡潔に実行できます。元のデッキを上書きせず、リモートテンプレートや画像のホットリンクは禁止されており、品質保証として出力ファイルが問題なく開き、スライド構成が承認内容と一致することを確認します。

対応✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills/tree/HEAD/skills/pptx

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Rylai PPTX

オリジナルのCodex-Hermes-Claudeスキル(作成者:Rylai)。

python-pptxを使用してローカルコンテンツからプレゼンテーションを構築します。LibreOfficeはオプションのPDFレンダリングにのみ使用します。画像のホットリンク、リモートテンプレートの取得、ユーザーからの明示的な要求がない限り元のデッキの上書きは行わないでください。

ランタイム

インストール前に以下のコマンドで確認します:

python -c "import pptx; print(pptx.__version__)"

不足している場合のみインストールします:

python -m pip install python-pptx

scripts/rylai_pptx.pyはこのスキルディレクトリからの相対パスで解決します。

ワークフロー

  1. 対象者、目的、ソース資料、出力先パス、おおよそのスライド枚数を確認します。
  2. 既存のデッキを編集する前に、その構造を検査します。
  3. ゼロから構築する場合は、コンパクトなJSONコンテンツ仕様を作成します。
  4. ローカル画像パスのみを使用します。URLは無効な入力として扱います。
  5. デッキを生成した後、スライドタイトルと抽出されたテキストを検査します。
  6. LibreOfficeが利用可能な場合はPDFにレンダリングし、代表的なスライドを視覚的に確認します。
  7. テキストが枠内に収まり、画像が判読可能で、デッキ全体に一貫した階層構造があることを確認します。

既存のデッキを編集する場合は、ワークスペースにタスク固有のpython-pptx編集スクリプトを作成します。元のファイルは保持し、変更しないスライドはそのままにして、改訂版は新しいパスに保存します。

JSONビルド形式

{
  "title": "プロジェクトレビュー",
  "subtitle": "決定事項と次のステップ",
  "slides": [
    {
      "title": "現状",
      "bullets": ["機能している点", "注意が必要な点"]
    },
    {
      "title": "エビデンス",
      "bullets": ["指標1", "指標2"],
      "image": "local-chart.png"
    }
  ]
}

imageフィールドはオプションで、ローカルファイルを指定する必要があります。相対パスはJSONファイルの場所を基準に解決されます。

バンドルされたCLI

ビルド:

python scripts/rylai_pptx.py build deck.json output.pptx

構造の検査:

python scripts/rylai_pptx.py inspect output.pptx

テキストをMarkdownとして抽出:

python scripts/rylai_pptx.py extract output.pptx output.md

LibreOfficeでPDFにレンダリング:

python scripts/rylai_pptx.py render output.pptx rendered

既存の出力を置き換える場合にのみ--forceを使用します。

品質基準

  • PPTXが正常に再オープンでき、期待されるスライド数が含まれていること。
  • タイトル、本文テキスト、スライド順序が承認された内容と一致していること。
  • テキストがクリップされていたり、スライド境界外に配置されていないこと。
  • 画像がローカルの帰属可能なファイルから取得されており、プレゼンテーションサイズで読み取り可能であること。
  • レンダリング出力に空白や破損したスライドが含まれていないこと。
  • 元のデッキ、ユーザーパス、リモートアセット、一時的なテストアーティファクトがスキルにバンドルされていないこと。

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

Rylaispirit/rylai-codex-hermes-skills

Plan, build, render, and verify academic presentation decks with citations, accessible visuals, clear argument flow, speaker-ready pacing, and visual QA.

Rylaispirit/rylai-codex-hermes-skills

Create publication-quality chart images from supplied data using an available plotting library, with explicit scales, labels, and visual QA.

Rylaispirit/rylai-codex-hermes-skills

Plan, draft, and review persuasive copy for landing pages, product pages, ads, email, headlines, offers, calls to action, positioning, and message variants.

Rylaispirit/rylai-codex-hermes-skills

Plan, draft, revise, and audit creative or long-form writing with a portable core workflow that does not depend on missing legacy templates.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, edit, and verify Word DOCX files with python-docx, including Markdown conversion, text replacement, metadata inspection, and optional PDF render.

Rylaispirit/rylai-codex-hermes-skills

Create or optimize marketing images, social graphics, product mockups, banners, cover art, listing visuals, brand assets, image prompts, WebP files, and OG images.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, extract, merge, split, rotate, and render PDF files with local open-source tools, including structural and visual verification.

Rylaispirit/rylai-codex-hermes-skills

Create editable PowerPoint decks from a local JSON specification using Rylai's visual system, python-pptx, deterministic slide types, and optional rendering.

Rylaispirit/rylai-codex-hermes-skills

Perform an evidence-led SEO audit using accessible pages, source code, crawl data, and current search documentation without assuming missing plugins.

Rylaispirit/rylai-codex-hermes-skills

Extract a practical design system from screenshots or mockups and produce implementation-ready UI specifications using vision and repository context.

Rylaispirit/rylai-codex-hermes-skills

Plan and produce video with available AI tools or programmatic frameworks. Use for video prompts, avatars, explainers, demos, templates, pipelines, and generation.

Rylaispirit/rylai-codex-hermes-skills

Create, inspect, edit, and verify Excel XLSX workbooks with openpyxl, including CSV import, formulas, styling, error checks, and optional LibreOffice rendering.

関連スキル