Ppt Design 标志

Ppt Design

社区
Phlegonlabs
ppt-design

Design presentation slides, infographic pages, and PPT-style visuals as 1600x900 HTML slides with optional PPT export. Use when the agent needs to pick or explain a slide style, recommend styles based on content, generate one or more static HTML slides, support `background_mode` paper or white for compatible light styles, or render finished slides into a high-fidelity image-based PPTX.

概览

发布者Phlegonlabs
代码仓库Powerpoint-fancy-design
技能名称ppt-design
星标数
42
复刻数
2
附带文件
130
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 130 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Phlegonlabs 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ppt Design AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Phlegonlabs/Powerpoint-fancy-design/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Phlegonlabs/Powerpoint-fancy-design.git \
  .claude/skills/ppt-design
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ppt Design,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ppt Design。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ppt Design 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

PPT Design

Design each slide as a standalone 1600x900 HTML file, then export to PPT only when the user asks for it.

In this repo, the executable slide contract lives in ./scripts/slide_engine/. The shared JS manifest and shared renderers are the runtime source of truth. Files in ./styles/style_[a-j].md remain human-facing design references and must stay manually aligned with that executable manifest.

Workflow

  1. Identify the topic, audience, and deliverable.
  2. If the user provides a Markdown document, treat each Page X section as one slide unless the document clearly indicates a different page structure.
  3. Read style-selector.md before choosing a style.
  4. If the deck is in Chinese or mixed Chinese and English, read bilingual-typography.md.
  5. Recommend 2-3 styles when the user has not already chosen one.
  6. Explain each recommended style in plain language:
    • style name
    • one-line visual description
    • what kind of content it fits best
    • use English by default for these style explanations and recommendations
  7. Confirm or infer background_mode:
    • default to paper
    • allow white only for compatible light styles
    • if the chosen style does not support white, say so and keep paper or recommend a compatible style
  8. Read background-modes.md.
  9. Read presentation-layout-rules.md.
  10. Read html-review-checklist.md.
  11. When the deck is client-facing or public-stage, read presentation-quality-rubric.md.
  12. Read layout-prototypes.md. Classify each slide's content role and select a layout prototype before writing HTML. Do not repeat the same layout on consecutive slides.
  13. Read safe-zone.md. Enforce content boundaries on every slide: all primary content must live inside the main frame area (y = 108px to y = 804px). Include chrome labels only on cover and closing slides when chrome=bookend.
  14. If a slide contains strict tables, org charts, framework diagrams, or other geometry-sensitive structures, read geometry-preserve.md before writing that slide.
  15. Read the chosen style file in ./styles/style_[a-j].md before writing HTML. Treat it as the design reference for mood, typography, and ornament logic; runtime behavior is enforced by the shared slide engine.
  16. Preserve the chosen style's native whitespace, ornament density, contrast, and pacing. Do not normalize all styles toward the same layout density.
  17. When the slide copy is Chinese or bilingual, follow the style's Chinese and English pairing guidance rather than reusing the English display font everywhere.
  18. Recompose page content into slide hierarchy instead of preserving raw Markdown formatting literally, except when geometry-sensitive structure should be preserved.
  19. Generate one HTML file per slide in ./outputs/html/.
  20. Review every generated HTML slide before delivery. Treat this as mandatory, not optional.
  21. Fix layout, spacing, typography, hierarchy, and geometry issues found in review using the smallest change that keeps the slide true to the chosen style.
  22. When speaker_notes_mode is enabled, generate a sidecar notes file for presenter use.
  23. If the user wants PPT, render the HTML slides to PNG and package them into a PPTX.

For public-stage work, treat the flow as a task pipeline:

  1. draft generation
  2. polish pass
  3. audit gate
  4. render / export

Do not skip the polish pass and do not export before the audit gate passes.

Inputs

Use these fields when the user provides them or when you need to make them explicit in your own reasoning:

  • input_markdown: the source Markdown for the deck, ideally grouped by Page 1, Page 2, and so on
  • style: A-J or a named style
  • background_mode: paper or white
  • chrome: all, bookend, or none
  • geometry_mode: auto, preserve, or recompose
  • presentation_scenario: brand-launch, investor-board, client-pitch, or research-brief
  • quality_tier: internal, client-facing, or public-stage
  • speaker_notes_mode: none, outline, or full
  • brand_profile: brand lock settings for logo, footer, palette, and font policy
  • deliverable: html, ppt, or both

Default behavior:

  • input_markdown: infer page structure from headings when possible
  • style: recommend candidates first when unspecified
  • background_mode: paper
  • chrome: bookend
  • geometry_mode: auto
  • presentation_scenario: brand-launch
  • quality_tier: public-stage
  • speaker_notes_mode: outline
  • deliverable: html

Repo note:

  • The bundled demo builders in ./scripts/build_template_style_cases.mjs and ./scripts/build_twitter_style_cases.mjs are fixed internal benchmark pipelines.
  • They currently render with chrome=bookend and validate HTML before PNG/PPT export.
  • They do not expose every skill input as a CLI flag.

Style Selection

Read style-selector.md first.

When the user has not chosen a style:

  • Recommend only 2-3 styles, not all 10.
  • Match the recommendation to the content rather than to arbitrary taste words like "nice" or "cool".
  • Explain what the style looks like and what kind of material it suits.
  • Default the style recommendation language to English, even when the working conversation is in another language.
  • Keep generated slide copy in the user's source language unless the user explicitly asks for translation.

Examples:

  • Business report, finance, policy, research summary: bias toward A, D, or I.
  • Brand story, culture, exhibition, philosophy, editorial: bias toward B, E, or F.
  • Creative proposal, event, youth brand, campaign, entertainment: bias toward C, G, H, or J.

Background Modes

Read background-modes.md.

Apply these rules:

  • paper keeps paper grain, print texture, and warm off-white stock when the style supports it.
  • white switches the slide canvas to clean white and removes paper-specific texture, fold marks, and stock simulation.
  • white does not remove style identity. Keep the typography, grid, ornament, contrast system, and non-paper decorative devices.
  • white is supported only by styles A, B, C, D, E, G, and J.
  • Styles F, H, and I are dark-native. Do not whitewash them.

HTML Rules

  • Create one file per slide: slide_01.html, slide_02.html, and so on.
  • Keep the canvas fixed at 1600x900.
  • Use static HTML, CSS, and inline SVG only.
  • Do not use JavaScript in the slide files.
  • Do not use external images other than Google Fonts.
  • Save outputs in ./outputs/html/.
  • Design for projection and presentation first, not for dense document reading.

Use this base structure unless the style file overrides a specific detail:

html
<!DOCTYPE html>
<html lang="zh-Hant">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=1600">
  <title>Slide Title</title>
  <link href="https://fonts.googleapis.com/css2?family=..." rel="stylesheet">
  <style>
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      background: #e0e0e0;
      overflow: hidden;
    }
    .slide {
      position: relative;
      width: 1600px;
      height: 900px;
      overflow: hidden;
    }
    .slide::before {
      content: '';
      position: absolute;
      inset: 0;
      z-index: 50;
      pointer-events: none;
    }
    .chrome-top, .chrome-bottom {
      position: absolute;
      left: var(--edge, 96px);
      right: var(--edge, 96px);
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 14px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--muted, #999);
      z-index: 2;
    }
    .chrome-top { top: 28px; }
    .chrome-bottom { bottom: 24px; }
    .main-frame {
      position: absolute;
      left: var(--edge, 96px);
      right: var(--edge, 96px);
      top: 108px;
      bottom: 96px;
      z-index: 3;
    }
  </style>
</head>
<body>
  <div class="slide">
    <!-- Include chrome-top and chrome-bottom on cover and closing slides only when chrome=bookend -->
    <div class="chrome-top">
      <div class="style-id">STYLE A / Swiss International</div>
      <div class="meta-id">Cover</div>
    </div>
    <div class="chrome-bottom">
      <div class="meta-id">cover-swiss-rail</div>
      <div class="page-id">01 / 05</div>
    </div>
    <!-- Main content frame — present on EVERY slide -->
    <main class="main-frame">
      <!-- All primary content goes here -->
    </main>
  </div>
</body>
</html>

Chrome Labels

Read safe-zone.md.

Apply these rules:

  • chrome=bookend: show .chrome-top and .chrome-bottom on cover and closing slides only.
  • chrome=all: show .chrome-top and .chrome-bottom on every slide.
  • chrome=none: omit chrome labels entirely.
  • The main content frame does not move when chrome visibility changes.

Style Fidelity

Apply these rules on every slide:

  • The shared engine manifest is the executable source of truth; the chosen style file is the human design reference.
  • Preserve the style's native whitespace strategy. Minimal and editorial styles should stay restrained.
  • Preserve ornament logic. Decorative rules, frames, and accents should support the composition, not dominate it.
  • When fixing density or collisions, prefer content edits, card count changes, or local spacing adjustments over turning every style into the same template.
  • A successful revision should still look unmistakably like the chosen style family.

Presentation Typography

Read presentation-layout-rules.md.

Apply these rules on every slide:

  • Prioritize legibility at presentation distance.
  • Do not allow text blocks, labels, or numbers to collide with each other.
  • Prefer fewer, larger text groups over many small annotations.
  • Keep headline and body contrast obvious in size, weight, and spacing.
  • If a slide is text-heavy, redesign the hierarchy instead of shrinking everything.
  • If a slide contains table-like information, convert it into presentation-friendly structure unless the user explicitly requires a literal dense table.

For presentation use, apply the full typography scale from presentation-layout-rules.md. The eight roles and their hard minimums are:

RoleEN MinCN Min
Display Title44px40px
Section Heading28px28px
Body22px24px
Table Header20px22px
Table Cell18px20px
Support Copy18px20px
Label / Caption16px18px
Page Number (chrome only)14px14px

Do not shrink any role below its minimum. If content does not fit, reduce content, split the slide, or rebuild the hierarchy. When the chosen style is intentionally fancy or experimental, preserve the style but still protect legibility.

Tables And Text-Heavy Content

Read presentation-layout-rules.md.

When the user asks for tables, comparisons, or many words:

  • Default to redesigned comparison blocks, metric cards, timeline rows, or labeled columns instead of raw spreadsheet tables.
  • Use a true table only when row-column comparison is the main point and simplifying it would lose meaning.
  • Break large tables into multiple slides when needed.
  • Highlight only the few values or row groups that matter.
  • Maintain generous padding inside cells or cards so text never feels cramped.
  • For dense content, prefer 3-6 major points per slide rather than squeezing everything into one page.

Geometry-Sensitive Content

Read geometry-preserve.md when a slide contains diagrams, framework maps, org charts, box-and-arrow structures, or strict tables.

Apply these rules:

  • geometry_mode=auto: preserve geometry when box size, connector position, or table structure carries meaning.
  • geometry_mode=preserve: keep the structural skeleton intact even if that means reducing copy or splitting the figure across slides.
  • geometry_mode=recompose: reinterpret the content into slide-friendly cards or bands only when the user explicitly wants that.
  • For geometry-sensitive slides, style changes surface treatment only. Do not distort the diagram's core proportions just to match a preferred layout prototype.
  • Use explicit tracks, coordinates, or bounded box sizes for the diagram skeleton instead of leaving box proportions fully driven by text length.
  • If content does not fit inside the diagram cleanly, shorten labels, split the figure, or move detail into notes. Do not compress the geometry until the structure becomes misleading.

Mandatory HTML Review

Read html-review-checklist.md.

After generating each slide, perform a second-pass review before delivery:

  1. Check for overlap, collision, clipping, and crowding.
  2. Check that typography is large enough for presentation.
  3. Check that text-heavy or table-heavy content has been reformatted for slides.
  4. Check that geometry-sensitive diagrams or tables still preserve their intended proportions.
  5. Check that the chosen style is still intact after readability adjustments.
  6. When tools allow it, render the HTML and inspect the actual visual result instead of relying only on source review.
  7. If exporting to PPT, confirm the rendered PNG aspect ratio matches the final PPT slide.
  8. Revise the HTML if any item fails.

Never hand off first-draft HTML without this review pass.

PPT Export

When the user wants ppt or both, use the bundled scripts:

  1. Ensure dependencies are installed with npm install.
  2. Render HTML slides to PNG:
powershell
node .\scripts\render_slides.mjs --input .\outputs\html --output .\outputs\rendered
  1. Build the PPTX:
powershell
node .\scripts\export_ppt.mjs --input .\outputs\rendered --output .\outputs\ppt\deck.pptx

The PPT export is intentionally image-based for fidelity. Each slide becomes one full-bleed PNG inside a 16:9 deck.

Quality Checks

  • The chosen style matches the content type and tone.
  • The user can understand why that style was chosen.
  • background_mode is honored correctly.
  • Compatible light styles can switch between paper and white.
  • Incompatible dark styles reject white explicitly.
  • Every slide remains visually coherent within one style family.
  • Text does not overlap, collide, clip, or crowd nearby elements.
  • Typography is large enough for projection and presentation use.
  • Text-heavy and table-like content has been reformatted into stronger slide hierarchy where appropriate.
  • A second-pass HTML review happened after generation, not only before.
  • PPT pages preserve the HTML composition without cropping or scaling errors.
  • Decorative blocks, especially dark or saturated ones, do not invade the primary reading zones unless that overlap is deliberate, padded, and presentation-safe.
  • All primary content stays within the main frame area (108px to 804px vertically).
  • No text content appears in the top reserved zone (0-96px) or bottom reserved zone (804-900px) except chrome labels allowed by the current chrome mode.
  • Consecutive slides use different layout prototypes.
  • A 10-slide deck uses at least 5 distinct layout prototypes.
  • Refinements preserve the original style instead of flattening all decks toward the same density or ornament pattern.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 70 个文件。

常见问题

Ppt Design AI 技能有什么作用?

Design presentation slides, infographic pages, and PPT-style visuals as 1600x900 HTML slides with optional PPT export. Use when the agent needs to pick or explain a slide style, recommend styles based on content, generate one or more static HTML slides, support `background_mode` paper or white for compatible light styles, or render finished slides into a high-fidelity image-based PPTX.

为什么在 TypingMind 中使用 Ppt Design?

因为您只需安装一次,就能搭配任何模型使用。Ppt Design 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ppt Design?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Phlegonlabs/Powerpoint-fancy-design/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ppt Design?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ppt Design 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ppt Design 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ppt Design AI 技能免费吗?

Phlegonlabs 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇