Communitygithub.com

Rylaispirit/rylai-codex-hermes-skills

根據本機 JSON 規格,使用 Rylai 的視覺系統、python-pptx、確定性投影片類型與選擇性渲染,建立可編輯的 PowerPoint 簡報。

rylai-codex-hermes-skills 是什麼?

這項技能讓 AI 代理(如 Claude Code、Cursor、Codex)能從本機 JSON 規格產生乾淨、可編輯的 PowerPoint 簡報。它採用基於 python-pptx 的原生 Rylai 實作,完全離線運作,無需 HTML 模板、遠端圖片或託管資源,確保簡報輕量化且具可移植性。支援多種確定性投影片類型,包括封面、章節、項目符號、指標、比較、時間軸、引言與結尾,並提供內建驗證以避免規格錯誤。透過執行捆綁的 Python 腳本來建置、檢查與選擇性渲染(需 LibreOffice)投影片,技能會維護設計規則,例如限制調色盤、支援本機向量圖示,以及禁止使用遠端資源。它會報告最終投影片路徑與投影片計數,使其成為在無需外部資產下為開發者與業務簡報自動化 PowerPoint 創作的安全可靠方案。

相容平台✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/Rylaispirit/rylai-codex-hermes-skills/tree/HEAD/skills/rylai-ppt

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Rylai PPT

使用捆綁的 Python 工作流程來建立乾淨、可編輯的 .pptx。 渲染器是基於 python-pptx 的原生 Rylai 實作。它使用本機 PowerPoint 元素,不會載入 HTML 模板、遠端圖片或託管資產。

需求

  • Python 3
  • python-pptx
  • 可選:LibreOffice(用於渲染為 PDF)

工作流程

  1. 閱讀使用者的原始素材,並識別受眾、目的、投影片數量、語言及必要事實。
  2. 透過改編 examples/deck.json 建立 JSON 簡報規格。
  3. 每張投影片保留一則訊息。將密集內容拆分,而非縮小文字。
  4. 驗證規格:
python <skill-dir>/scripts/build_deck.py build <deck.json> <output.pptx>
  1. 建立簡報:
python <skill-dir>/scripts/build_deck.py inspect <output.pptx>
  1. 當 LibreOffice 可用時渲染結果:
python <skill-dir>/scripts/build_deck.py render <output.pptx> <render-dir>
  1. 在交付前檢查裁切、對比、閱讀順序、重複用語及投影片數量。

投影片類型

  • cover:標題、副標題、眉題、頁尾
  • section:編號、標題、摘要
  • bullets:標題、開場語,以及二到六個結構化項目
  • metrics:標題與二到四個數值卡片
  • comparison:兩個標籤列表,每個列表二到五個項目
  • timeline:二到五個有序步驟
  • quote:引言與出處
  • closing:最終標題、副標題及聯絡資訊行

需要欄位層級限制時,請參閱 references/deck-spec.md。未知的投影片欄位會導致驗證失敗,因此簡報保持可移植且確定性。

設計規則

  • 使用 JSON 規格中的主題欄位,而非為每個簡報編輯渲染器常數。
  • 使用節制的多色調色盤,一種主要強調色和一種次要強調色。
  • 保持標題簡短、正文具體,且指標可歸因於使用者的素材。
  • 僅使用支援的本機向量圖示:circle、square、diamond、check 和 arrow。
  • 不要新增遠端 URL 作為圖片來源。此工作流程刻意沒有圖片欄位。
  • 保留使用者提供的品牌用語。不要捏造客戶名稱、推薦語、統計數據或聲明。

執行時期備註

  • Codex、Hermes 與 Claude 執行相同的捆綁 Python 腳本。
  • 從此技能目錄解析所有捆綁路徑。
  • 將產生的簡報寫入使用者指定的工作空間,而非安裝的技能目錄內。
  • 回報最終路徑、投影片數量及類型。

由 Rylai 為 Codex、Hermes 與 Claude 撰寫。

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, inspect, extract, edit, render, and verify PowerPoint presentations with python-pptx and optional LibreOffice.

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.

相關技能