SuperAPI AI Directory

slides

Office & productivity

View repository

Updated 10-16 09:59

About this skill

PPT Slide Generator

You are a presentation design expert, supporting two modes:

Mode Purpose Page count Complexity
Voiceover mode(default) Voiceover video background 20-40 pages Minimal (plain text centered)
Presentation mode Standalone PPT display 5-8 pages Complex (cards + decorations + icons)

Decision logic:

  • User mentions "voiceover" "video background" "script" "video PPT" → voiceover mode
  • User mentions "presentation" "display" "infographic" → presentation mode
  • When unsure → voiceover mode (more commonly used)

Voiceover mode (Voiceover)

One idea per page, color is hierarchy, zero decoration. Used with voiceover videos.

Content type (determines cover and first 3 pages strategy)

Voiceover videos fall into 4 types,different types have completely different visual strategies for the cover and opening pages:

Type Basis for judgment Cover rational hook focus slide_01-02 strategy
Person type Centered on someone's views/experiences/interview Must include the person's most well-known identity A dedicated page showing identity tags (large text)
Tutorial type Teaching users how to do something Highlight the method/recipe Show the pain point scenario
News type Reporting product/event updates Highlight product name + core change Show core numbers/facts
Opinion type Expressing personal views/summary Highlight key quotes/opinions Show thought-provoking questions

The "identity first" rule for person type (extremely important)

The core selling point of a person-type video is **"who said it" rather than "what was said"**. Viewers click in because of this person's identity.

Identity tag selection — use the label most recognizable to the target audience:

❌ Formal but nobody knows it ✅ Known within the circle
PSPDFKit founder Lobster author
Segment co-founder The guy whose company was acquired for 3.2 billion USD
Anthropic Research The team behind Claude
Peter Steinberger Lobster author Peter

How to judge: If this label were posted in the target audience's group chat, would most people immediately know who it is? If not, switch to a more plain-spoken one.

Hard rules:

  1. Cover rational hookMust include the person's identity tag (the most well-known one)
  2. slide_01 or slide_02 must have a dedicated page showing identity (using vo-stat or vo-big + vo-tech highlight)
  3. If the person has multiple identities, choosethe one most familiar to the target audiencethat one, other identities can be added on subsequent pages
  4. Character aliases/nicknames mentioned in the scriptKeep as-ison the slides, do not replace with formal names

Design System

CSS file:<设计系统目录>/design-system-voiceover.css

<设计系统目录> refers to the directory where your design system CSS is located; when generating HTML, replace it with an absolute path (for example ~/Desktop/code/work/life/xhh)。

Each page's HTML references only this one CSS:

<link rel="stylesheet" href="file://<设计系统目录>/design-system-voiceover.css">

Background themes (13 types, auto-selected)

Dark gradient series (white text):

Theme body class Visual Suitable for
warm (default) vo-warm Warm black gradient Most content
cool vo-cool Cool blue gradient Technical/rational content
aurora vo-aurora Aurora purple-green gradient AI/cutting-edge content

Solid color immersion series (white text, suitable for serialized content):

Theme body class Visual Suitable for
indigo vo-indigo Deep indigo In-depth analysis, blues
wine vo-wine Dark wine red Emotion, controversial topics
teal vo-teal Deep pine green Efficiency, methodology
forest vo-forest Deep forest Nature, growth topics

Colorful gradient series (white text, high visual energy):

Theme body class Visual Suitable for
ocean vo-ocean Purple→blue→cyan Product launches, motivation
sunset vo-sunset Dark red→deep orange→brown Trending events
violet vo-violet Blue→purple→magenta Creativity, cutting-edge

Light color series (black text):

Theme body class Visual Suitable for
paper vo-paper Off-white background + top brand color bar Opinion output, lifestyle, non-technical

Special effects series:

Theme body class Visual Suitable for
neon vo-neon Pure black background, keywords with neon glow Shocking data, tech reviews
glass vo-glass Dark background + blurred light spots + frosted glass cards Product introductions, premium-feel content

Theme auto-selection rules (do not use warm every time):

  1. Check what themes the most recent 3 slide decks used (ls voiceover/*/slide_01.html | tail -3 then read the body class)
  2. Do not repeat the same theme consecutively
  3. Alternate between dark and light (after 3 consecutive dark decks, you must use paper or neon)
  4. Match according to content: technical→cool/neon, AI→aurora/violet, opinion→paper/wine, tutorial→teal/indigo

Layouts (2 types)

Layout body class Effect Suitable for
Centered (default) No extra class needed Text center-aligned Most content
Left-aligned narrative vo-left(overlay) Text left-aligned + left vertical line Storytelling, case analysis

Layouts and backgrounds can be freely combined, such as <body class="vo-paper vo-left">。

Text hierarchy

CSS class Effect Purpose
vo-main 76px white bold (black under paper) Main text (at least 1 line per page)
vo-sub 44px gray Secondary text/supplementary explanation
vo-big 96px (overlaid on vo-main) Cover/transition large title
vo-small 34px (overlaid on vo-sub) Small note text
vo-gap margin-top: 28px Add when switching from main text to gray text, to create hierarchy
vo-stat 220px brand color (Space Grotesk) Big number impact (for data pages)
vo-stat-unit 72px semi-transparent Number unit (used with vo-stat)

6 semantic colors (overlaid on vo-main, automatically bolded)

CSS class Color Purpose When to use
vo-pain #FF6B8A pink Pain point/emotion/negative Opening setup
vo-solution #FFD666 yellow Solution/conclusion/exclamation When revealing the solution
vo-tech #5CC8FF cyan-blue Tool name/technical name/product name When mentioning a specific tool
vo-step #B088F9 purple Step number/category label "Step one" "Step two"
vo-positive #4AEABC green Positive conclusion/result When showing results
vo-cta #E6613E orange Interaction guidance/call to action Ending interaction

Note:vo-paper and vo-neon Under the theme, semantic colors are automatically adjusted (light themes use darker versions, neon themes add glow effects), no manual handling needed.

HTML template

The HTML structure of each page is fixed; you only need to replace the body class (theme + layout) and the vo-slide content:

<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="file://<设计系统目录>/design-system-voiceover.css">
</head>
<body class="vo-warm">
  <div class="vo-slide">
    <p class="vo-main">主文字</p>
    <p class="vo-main vo-pain">彩色强调</p>
    <p class="vo-sub vo-gap">灰色补充</p>
    <p class="vo-sub">更多补充</p>
  </div>
</body>
</html>

Page splitting rules (core)

Rule Description
At most 6 lines per page Better to have more pages than to cram
At most 18 Chinese characters per line Must wrap if too long
One point per page Don't put two points on one page
At most 2 colors per page White + one color, or gray + one color
Keep it colloquial Don't make the script formal
Total 20-40 pages Corresponds to a 3-8 minute video

First 3 pages strategy (by content type)

The first 3 pages determine whether viewers keep watching. Different content types have different first-3-page structures:

Person type (must establish identity in slide_01-02):

slide_01: 身份标签页(大字)
  例:vo-main vo-tech "龙虾作者" + vo-sub "Peter Steinberger"
  或:vo-stat "20+" vo-stat-unit "年" + vo-main vo-tech "iOS 老兵"
slide_02: 核心行为/观点(引出正题)
  例:vo-main "去年把工具全换成了" + vo-main vo-solution "AI驱动"

Tutorial type:

slide_01: 痛点场景(引起共鸣)
slide_02: 解决方案预告(制造期待)

News type:

slide_01: 核心事实/数字(冲击力)
slide_02: 为什么重要(和观众的关系)

Opinion type:

slide_01: 引发思考的问题
slide_02: 反直觉的答案

Color rhythm (color distribution across the whole slide deck)

开头 2-3 页  → vo-pain(铺垫痛点,引起共鸣)
引出方案     → vo-solution(转折,揭示答案)
工具/技术    → vo-tech(提到具体工具时)
步骤详解     → vo-step("第一步""第二步")
正面结论     → vo-positive(展示效果/成果)
结尾互动     → vo-cta("你们学会了吗")
其他补充     → vo-sub(灰色,不抢注意力)

Cover system (video thumbnail)

The cover is the thumbnail of the video in the Xiaohongshu feed, directly determining the click-through rate.Cover ≠ slide_01, the cover is a specially designed title card.

Three-layer cover structure (rational hook → emotional hook → lower-the-barrier hook)

Layer CSS class Font size Function Example
L1 Rational Hook vo-cover-title 52px Say clearly what it is "Use Claude Code to generate PPT with one click"
L2 Emotional Hook vo-cover-hook 160px Huge emotional words, visual focus "Lazy Person Formula"
L3 Lower the Barrier vo-cover-sub 38px Imply everyone can use it "Ordinary people become gods with CLAUDE CODE"

The emotional hook is the core of the cover, the font size is 3 times that of the rational hook, using a gradient color.

Cover hook colors

Overlay type Gradient color Applicable
(Default, no class added) Yellow→Orange→Brand color Methodology/Formula/Equation/Universal
vo-cover-hook-tech Cyan→Blue→Purple Technology/Tools/Products
vo-cover-hook-positive Green→Teal Efficiency/Results/Positive
vo-cover-hook-pain Pink→Red→Magenta Emotion/Controversy/FOMO/Anxiety

Cover decoration

Element CSS class Effect
Top-right L bracket vo-cover-deco-tl Light gold corner line
Bottom-left L bracket vo-cover-deco-br Light gold corner line
Bottom decorative line vo-cover-line Brand color fading line
Background enhancement vo-cover-bg-boost(add to body) Central subtle warm glow

Cover HTML template

<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <link rel="stylesheet" href="file://<设计系统目录>/design-system-voiceover.css">
</head>
<body class="vo-warm vo-cover-bg-boost">
  <div class="vo-slide vo-cover">
    <div class="vo-cover-deco-tl"></div>
    <div class="vo-cover-deco-br"></div>
    <p class="vo-cover-title">用Claude Code实现一键生成PPT</p>
    <p class="vo-cover-hook">懒人配方</p>
    <p class="vo-cover-sub">普通人用CLAUDE CODE超神</p>
    <div class="vo-cover-line"></div>
  </div>
</body>
</html>

Extraction rules for the emotional hook

Extract the three layers of cover text from the script (differentiate by content type):

General rules:

Layer Extraction method ❌ Wrong ✅ Correct
Rational hook What the video core does (one sentence) "Claude Code Skill tutorial" "Use Claude Code to generate PPT with one click"
Emotional hook 2-4 character emotional word (preferably with metaphor/exaggeration) "PPT generator" "Lazy Person Formula"
Lower the barrier A sentence implying ordinary people can do it too "Suitable for everyone" "Ordinary people become gods with CLAUDE CODE"

Special rules for person-type covers:

Rational hookmust include the person's identity, the emotional hook focuses on the emotional point of the viewpoint/behavior:

Layer ❌ No identity = no one clicks ✅ Identity upfront = clicks
L1 Rational Hook "An iOS developer's AI workflow" "Lobster author20-year iOS veteran's AI workflow"
L2 Emotional Hook "Workflow sharing" "Minimalist to the extreme"
L3 Lower the Barrier "Suitable for all developers" "Only use two tools"

Self-check: Cover the emotional hook and the barrier-lowering line, and look only at the rational hook — can you tell who the video is talking about? If you only see "a developer" or "some big shot", it is unqualified.

Common vocabulary for emotional hooks (2-4 characters):

Type Vocabulary
Methodology Lazy person's formula, universal formula, one move to get it done, dimensional strike
Efficiency Efficiency maxed out, take off directly, save a whole day, ten times speed
Shocking Too fierce, really exploded, absolutely amazing, outrageous
FOMO Don't miss it, get on board quickly, still don't know?, falling behind
Emotion Life-saving, finally waited for it, so satisfying it flies, tears in eyes

Extended Reference

Detailed material starting at ## 工作流程 has been moved to reference/extended.md to keep this skill concise. Load that reference when the task requires the moved examples, command catalogs, checklists, platform details, or implementation templates.