Python PPT Generator

# PPT Generator Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Python PPT Generator" with this command: npx skills add mr1008611/python-ppt

PPT Generator Skill

python-pptx 生成暗色科技风演示文稿。

使用方式

用户描述 PPT 内容后,生成 Python 脚本并执行,产出 .pptx 文件。

工作流

  1. 用户说明 PPT 主题、大纲、内容要点
  2. Agent 读取 scripts/ppt_lib.py(核心工具库)
  3. Agent 生成调用脚本,组合幻灯片内容
  4. 执行脚本 → 输出 .pptx
  5. 通过 lightclaw_upload_file 发送给用户

设计规范

  • 页面尺寸:16:9 (13.333 × 7.5 英寸)
  • 配色方案:深蓝黑背景 + 科技蓝/紫/绿/橙强调色
  • 字体:Microsoft YaHei(中文)、Arial(英文)
  • 布局:卡片式、顶部色条、装饰线

幻灯片类型

类型函数用途
封面页make_cover_slide()标题+副标题+日期
章节页make_section_slide()章节标题+要点列表
内容页make_content_slide()标题+2x2卡片网格
对比页make_compare_slide()左右两栏对比
架构页make_arch_slide()三列流程+底部补充
卡片页make_cards_slide()灵活卡片网格
总结页make_summary_slide()价值总结+收尾

调色板

DARK_BG    = (0x1A, 0x1A, 0x2E)  # 背景
ACCENT     = (0x00, 0xD2, 0xFF)  # 科技蓝
ACCENT2    = (0x7C, 0x3A, 0xED)  # 紫色
ACCENT3    = (0x10, 0xB9, 0x81)  # 绿色
ACCENT4    = (0xF5, 0x9E, 0x0B)  # 橙色
WHITE      = (0xFF, 0xFF, 0xFF)
LIGHT_GRAY = (0xCC, 0xCC, 0xCC)
CARD_BG    = (0x25, 0x25, 0x40)  # 卡片背景

依赖

pip install python-pptx

文件结构

skills/ppt-generator/
├── SKILL.md           # 本文件
└── scripts/
    └── ppt_lib.py     # 核心工具库(模板函数+调色板)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Moss Skill-9

Give your AI agent eyes to see the entire internet. Install and configure upstream tools for Twitter/X, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu, Douyi...

Registry SourceRecently Updated
Coding

Codex Deep Search

Deep web search using Codex CLI for complex queries that need multi-source synthesis. Use when web_search (Brave) returns insufficient results, when the user...

Registry SourceRecently Updated
Coding

Matz Swarm

Orchestrate OpenClaw Agent Swarm workflows for multi-project coding automation with Obsidian task intake, Claude coding, Codex review, GitLab MR flow, merge+...

Registry SourceRecently Updated
4610matzoh
Coding

xfetch

Use xfetch CLI to fetch X/Twitter data - tweets, user profiles, search results, timelines, lists, DMs, and notifications. Use this skill whenever you need to...

Registry SourceRecently Updated