Communitygithub.com

Rylaispirit/rylai-codex-hermes-skills

根据本地 JSON 规范,使用 Rylai 的视觉系统、python-pptx 和确定性幻灯片类型创建可编辑的 PowerPoint 演示文稿,并可选择渲染。

rylai-codex-hermes-skills 是什么?

Rylai PPT 是一个 AI 代理技能,它通过一个基于 python-pptx 的确定性渲染管道,将结构化的 JSON 规范转换为干净、可编辑的 PowerPoint 文件。原生支持 Codex、Hermes 和 Claude 等 AI 代理平台,确保跨平台行为一致。该技能定义了多种幻灯片类型(如封面、项目符号、指标、时间线等),并通过验证强制保持便携性和可预测性。流程包括从源材料生成 JSON 规范、构建演示文稿、以及在 LibreOffice 可用时可选的 PDF 渲染;此外还内置了设计规则,例如使用受限调色板、本地矢量图标,并禁止使用远程图片或 HTML 模板。

兼容平台✓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.

相关技能