返回技能列表

utility-slideshow-creator

product-on-purpose
更新于 2 days ago
8 次查看
239
33
239
在 GitHub 上查看
powerpoint

关于

This skill generates professional PowerPoint presentations (.pptx/.pdf) from JSON specifications, automatically selecting from 18 slide types with dark/light variants and handling content-to-layout logic. It includes a default theme and supports custom theming, making it ideal for creating stakeholder updates or product reviews programmatically. Developers can use it to produce presentation decks without manual design decisions at generation time.

快速安装

Claude Code

推荐
主要方式
npx skills add product-on-purpose/pm-skills -a claude-code
插件命令备选方式
/plugin add https://github.com/product-on-purpose/pm-skills
Git 克隆备选方式
git clone https://github.com/product-on-purpose/pm-skills.git ~/.claude/skills/utility-slideshow-creator

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

<!-- PM-Skills | https://github.com/product-on-purpose/pm-skills | Apache 2.0 -->

Slideshow Creator

Generate professional presentations (.pptx and .pdf) from a JSON deck specification. Zero design decisions at generation time . Claude selects slide types and fills content slots; all visual properties are pre-decided by the theme.

When to Use

  • Creating slide decks for stakeholder updates, product reviews, team presentations
  • Generating professional .pptx files from content briefs
  • Producing consistent presentations without manual formatting
  • Exporting presentations to PDF for sharing or archiving

When NOT to Use

  • Creating complex data visualizations (use dedicated charting tools)
  • Building interactive web presentations (this produces .pptx, not HTML)
  • Editing existing PowerPoint files (this creates new decks from scratch)

How It Works

Two-phase architecture:

  1. Spec phase (Claude) . Read the content brief, select slide types using decision logic, write a JSON deck specification. Content slots have character limits calibrated to prevent overflow. This is the only phase that costs tokens.
  2. Generation phase (Local script) . Run node scripts/generate-deck.js deck-spec.json to produce .pptx. Optionally run node scripts/export-pdf.mjs deck-spec.json for PDF. Deterministic rendering, zero token cost.

Both outputs come from the same JSON spec, so .pptx and .pdf always match.

18 Slide Types

#Type KeyPurposeDefault Variant
1title_darkOpening slide (bold)dark only
2title_lightOpening slide (internal/lighter)light only
3sectionSection dividerdark
4contentParagraph explanationlight
5bullets3-6 key pointslight
6two_colSide-by-side comparisonlight
7statSingle key metriclight
8dual_statTwo metrics compareddark
9quoteTestimonial or pull quotedark
10three_cardThree parallel conceptsdark
11four_gridFour concepts in 2x2 griddark
12timelineDates or milestones (max 6)light
13process_flowSequential workflow (max 5)light
14agendaMeeting agenda (max 7)light
15highlightKey finding or executive summarylight
16tableTabular datalight
17icon_rowsFeature list with markers (max 4)light
18closingEnd slidedark only

Full slot definitions and character limits: references/slide-types.md

Decision Logic (Quick Reference)

Content PatternUse
Opening the deck (bold)title_dark
Opening the deck (internal)title_light
Transitioning between topicssection
Paragraph explanationcontent
List of 3-6 pointsbullets
Side-by-side comparisontwo_col
Single key metricstat
Two metrics compareddual_stat
Testimonial or pull quotequote
Three parallel conceptsthree_card
Four concepts in a gridfour_grid
Dates or milestonestimeline
Sequential workflowprocess_flow
Meeting agendaagenda
Key finding or summaryhighlight
Tabular datatable
Feature list with markersicon_rows
Ending the deckclosing

Full decision logic with variant strategy: references/decision-logic.md

JSON Deck Spec Format

{
  "title": "Q3 Product Update",
  "author": "Product Team",
  "footerText": "Internal . Q3 Review",
  "slides": [
    { "type": "title_dark", "title": "Q3 Product Update", "subtitle": "October 2026" },
    { "type": "stat", "stat": "94%", "label": "Customer satisfaction score", "accentColor": "secondary" },
    { "type": "bullets", "title": "What Shipped", "bullets": ["Feature A", "Feature B", "Feature C"] },
    { "type": "closing" }
  ]
}

Colors accept theme token names ("accent", "secondary", "tertiary", "warm") or 6-character hex strings ("2563EB").

Full schema and workflow: references/TEMPLATE.md and references/platform-rules.md

Instructions

  1. Read the content brief . Understand topic, audience, length, specific requirements
  2. Plan the deck . Select slide types using the decision logic table. Assign dark/light variants for visual rhythm (alternate to avoid monotony).
  3. Write the JSON deck specification . Fill content slots, respecting character limits from references/slide-types.md
  4. Run the generation script . node scripts/generate-deck.js deck-spec.json
  5. Optionally export PDF . node scripts/export-pdf.mjs deck-spec.json output.pdf
  6. Report the output . Tell the user where the file(s) are

Output Contract

  • Planning artifact: JSON deck specification (the file Claude writes)
  • Final output: .pptx file (+ optional .pdf), generated locally from the spec
  • Quality gate: All items in the quality checklist pass

Quality Checklist

  • Every slide has a valid type key (one of the 18 defined types)
  • All content slots respect character limits from references/slide-types.md
  • Dark/light variants alternate for visual rhythm (no 3+ consecutive same-variant slides)
  • Deck has a title slide (first) and a closing slide (last)
  • Section dividers separate distinct topics in decks > 6 slides
  • Speaker notes included for key slides (stats, highlights, transitions)
  • JSON is valid (no trailing commas, proper quoting, correct nesting)
  • Color values are valid theme tokens or 6-character hex strings (no # prefix)

References

FilePurpose
references/TEMPLATE.mdJSON deck specification template with field documentation
references/EXAMPLE.mdWorked example: Q3 Product Update deck (9 slides)
references/slide-types.mdAll 18 slide types: content slots, character limits, variants
references/decision-logic.mdContent pattern → slide type mapping, variant strategy, deck sizing
references/platform-rules.mdpptxgenjs requirements, Google Slides compatibility, output format

GitHub 仓库

product-on-purpose/pm-skills
路径: skills/utility-slideshow-creator
0
agent-skillsai-skillsclaude-codeclaude-desktopdesign-sprintfoundation-sprint

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能

polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能

creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能

sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能