← 返回 Skills 市场
herve-clawd

Apple Style PPT Maker

作者 HerveClawd · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
120
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install apple-style-ppt-maker
功能描述
Create Apple-style minimalist presentation slides through a strict JSON-first workflow. Use when an agent must clarify user requirements, lock topic/content/...
使用说明 (SKILL.md)

Apple Style PPT Maker

Overview

Drive a deterministic presentation pipeline for Apple-style minimalist decks. Enforce requirement clarification, strict schema validation, full-plan review, consistent slide rendering, selective page regeneration, and PPTX export.

Workflow

  1. Check uv availability. If missing, stop and ask the user to install uv.
  2. Clarify requirements with the user.
  3. Build and validate slides_plan.json.
  4. Get user review for the full JSON plan before image generation.
  5. Generate all slide images at default 2K and webp.
  6. Run result review and regenerate specific pages when requested.
  7. Export slides to final.pptx.

Step 0: Verify uv

Run:

uv --version

If the command fails:

  • stop the workflow immediately
  • ask the user to install uv
  • continue only after uv is available

Step 1: Clarify Requirements

Use a friendly, conversational tone. Do not expose internal schema field names to the user.

Ask in natural language and confirm:

  • this deck's core topic
  • target audience and meeting context
  • expected speaking duration and target page count
  • desired tone and language
  • must-keep points and sensitive points to avoid

Follow user input language by default. Do not generate images before all clarification items are confirmed.

Internal mapping rule (do not show to user):

  • map the confirmed answers to the internal requirement fields used by the JSON plan

Step 2: Build Structured Slide JSON

Create slides_plan.json and validate it against references/slides-schema.json. Start from references/slides-plan-template.json when you need a fast baseline.

Use references/apple-style-spec.md to keep visual consistency and style quality.

Define both content and visual intent for each page:

  • text payload (on_slide_text)
  • visual blueprint (visual_blueprint)
  • consistency checks (consistency_checks)

Step 3: Review Full Plan Before Rendering

Always show the complete slides_plan.json to the user. Pause until the user approves the full plan. Apply edits to the JSON plan first, then render images.

Step 4: Generate Slide Images

Run:

uv run scripts/generate_slides.py --plan slides_plan.json --out outputs/deck_a

Defaults:

  • resolution: 2K
  • format: webp
  • aspect ratio: 16:9
  • model: gemini-3-pro-image-preview (Nano Banana Pro path)

Generated files:

  • images/slide-XX.webp
  • prompts/slide-XX.prompt.md
  • meta/slide-XX.meta.json
  • deck_manifest.json

Step 5: Review and Regenerate Specific Page

Run:

uv run scripts/regenerate_slide.py \
  --plan slides_plan.json \
  --slide 4 \
  --change "Simplify data narrative and increase whitespace" \
  --out outputs/deck_a

Behavior:

  • Regenerate only the target slide.
  • Snapshot prior image, prompt, and metadata to history/.
  • Update manifest revision metadata.

Step 6: Export PPTX

Run:

uv run scripts/export_pptx.py \
  --images-dir outputs/deck_a/images \
  --output-pptx outputs/deck_a/final.pptx

Environment

Set one of:

  • APPLE_STYLE_PPT_MAKER_GEMINI_API_KEY
  • GEMINI_API_KEY

Optional:

  • place .env in current directory
  • place .env in this skill directory

Dependency management:

  • each executable script uses PEP 723 inline metadata
  • run scripts with uv run ... so dependencies bootstrap automatically

Notes

  • Keep style and spacing consistent across all pages.
  • Prefer concise, readable text over dense paragraphs.
  • Use regeneration instead of re-rendering the entire deck for isolated edits.
安全使用建议
This skill appears to do what it says: it uses a Gemini API key to generate images and assembles them into a PPTX. Before installing/running: 1) Ensure you are willing to provide a Gemini/Google GenAI API key (APPLE_STYLE_PPT_MAKER_GEMINI_API_KEY or GEMINI_API_KEY) because slide text and prompts will be sent to that remote API. 2) Confirm there are no sensitive credentials in .env files in the current directory, any parent directories, or your home (.codex/skills/...) because the skill will search and load .env from those locations. 3) Install the required 'uv' runner (or run the scripts directly with Python if you prefer), and review outputs directory paths to avoid overwriting important files. If you want to reduce scope, set the required API key explicitly in the environment before running and run the scripts from an isolated project directory without stray .env files.
功能分析
Type: OpenClaw Skill Name: apple-style-ppt-maker Version: 1.0.0 The skill bundle implements a legitimate workflow for generating minimalist presentations using the Gemini API. The Python scripts (generate_slides.py, export_pptx.py, workflow_core.py) use standard libraries and follow the documented JSON-first pipeline. A technical monkey-patch in export_pptx.py to enable WebP support in the python-pptx library is functional and non-malicious. No evidence of data exfiltration, unauthorized network calls, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description request Gemini API keys and a CLI runner (uv) and the code files call a Google GenAI client to generate images and export PPTX — these requirements align with an image-generation→PPTX workflow.
Instruction Scope
Runtime instructions are narrowly scoped to: require uv, clarify requirements with the user, build/validate a JSON plan, generate images via the GenAI client, allow per-slide regeneration, and export PPTX. They do not instruct unrelated system access. One notable behavior: the utility will search for and load .env files from the current dir, the skill dir, plan parents and a home path (.codex/skills/...) which can cause environment variables from ancestor or home locations to be loaded into the process.
Install Mechanism
No remote download/install spec; scripts are included and declare their Python dependencies via PEP-723 inline metadata. The workflow expects 'uv' to be present to bootstrap dependencies; no untrusted network fetches or obfuscated installers are present in the repository.
Credentials
The only required credentials are Gemini API keys (APPLE_STYLE_PPT_MAKER_GEMINI_API_KEY or GEMINI_API_KEY), which are appropriate for the stated purpose. However, the code will auto-load .env files from a list of candidate locations (including parent folders and a home .codex path), which could cause unrelated secrets present in those files to be loaded into the process — review any .env files in ancestor directories/home before running.
Persistence & Privilege
The skill does not request always:true, does not modify other skills, and writes outputs only to configured output directories (and snapshots history subfolders). It does not request system-wide persistent privileges beyond reading/writing files where run.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install apple-style-ppt-maker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /apple-style-ppt-maker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Apple-style PPT JSON-first workflow + image render + PPTX export
元数据
Slug apple-style-ppt-maker
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Apple Style PPT Maker 是什么?

Create Apple-style minimalist presentation slides through a strict JSON-first workflow. Use when an agent must clarify user requirements, lock topic/content/... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 120 次。

如何安装 Apple Style PPT Maker?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install apple-style-ppt-maker」即可一键安装,无需额外配置。

Apple Style PPT Maker 是免费的吗?

是的,Apple Style PPT Maker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Apple Style PPT Maker 支持哪些平台?

Apple Style PPT Maker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Apple Style PPT Maker?

由 HerveClawd(@herve-clawd)开发并维护,当前版本 v1.0.0。

💬 留言讨论