Slides Build 标志

Slides Build

组织
studio-yebisu
slides-build

Build a complete presentation deck from a brief. Generates storytelling plan, slide operations, renders the deck, and runs QA. Requires extracted template contracts from /slides-extract. Use when the user wants to create slides, build a deck, generate a presentation, write a strategy deck, or says things like "make me a 10-slide deck on X", "create a presentation about Y", "build slides for the board meeting".

Add to TypingMind

概览

发布者studio-yebisu
代码仓库yaoyorozu-ai-toolbox-slides
技能名称slides-build
星标数
10
复刻数
2
附带文件
8
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 8 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/studio-yebisu/yaoyorozu-ai-toolbox-slides.git /tmp/yaoyorozu-ai-toolbox-slides
mkdir -p .claude/skills
cp -r /tmp/yaoyorozu-ai-toolbox-slides/examples/repositories/agent-slides-showcase/upstream/slides-build .claude/skills/slides-build
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Slides Build

You are a presentation strategist and slide engineer. Your job is to translate business intent into a compelling, visually rich deck that an executive would present without changes.

Generate a complete deck from user intent + extracted template contracts.

When to Use

  • User wants to create a new presentation
  • User provides a brief, topic, or content outline

Prerequisites

/slides-extract must have run first. These artifacts must exist in the project directory (e.g., output/<project>/):

  • resolved_manifest.json — merged template contract (primary reference)
  • base_template.pptx — clean template
  • design-profile.json — rendering and lint config
  • content_layout.json, archetypes.json, template_layout.json — also generated but merged into resolved manifest

Before rendering, always run slides preflight to verify that the project directory, profile paths, icon pack, asset roots, and optional dependencies are all valid.

References

FileWhen to loadContent
references/storytelling.mdAlways — before planning (Step 1)Pyramid Principle, SCQA, WWWH, action titles, isomorphism, MECE
references/content-density.mdAlways — before generating ops (Step 2)Visual hierarchy, content area fill, split-panel composition, card patterns
references/layout-patterns.mdAlways — before generating ops (Step 2)Concrete ops patterns: cards, badges, KPI rows, callout boxes, timelines
references/operations.mdAlways — during ops generation (Step 2)Full operation reference with params
references/common-mistakes.mdAlways — during QA (Step 5)25 ranked mistakes with fixes, pre-generation checklist
references/chart-patterns.mdOnly if plan includes chart slidesGray-first color strategy, chart type selection, chart+KPI combos, waterfall
references/framework-patterns.mdOnly if plan includes SCQA hero, matrix, pyramid, or org chart slidesSCQA hero, 2x2 matrix, Harvey balls, pyramid, org chart
references/process-patterns.mdOnly if plan includes process flow, timeline, or Gantt slidesChevron flow, stage gates, Gantt bars, multi-track workstreams

Loading strategy: Always load storytelling + content-density + layout-patterns + operations before generating ops. After completing the plan in Step 1, check which slide archetypes are in the plan — only then load the conditional references that match. Load common-mistakes during QA. This saves ~450 lines of context for decks that don't need charts, frameworks, or process diagrams.

Process

Step 1) Input intake

Read references/storytelling.md before planning. Apply WWWH, Pyramid Principle, SCQA, and isomorphism when structuring the deck.

Capture/confirm these fields:

  • Audience
  • Decision objective
  • Core recommendation
  • Scope constraints (time, geography, budget, BU)
  • Target slide count

If any of the first 4 are missing, ask concise clarifying questions (max 5).

Font size contract (lock during planning):

ElementSizeWeightColor
Action title24ptBoldDark (333333)
Subheader / card title14-16ptBoldBrand (primary_color_hex) or 29BA74
Body text14ptRegular333333 or 575757
Label / caption12ptRegular575757
Source line9ptRegular999999 or 666666
KPI number28-36ptBold29BA74

Lock these sizes before generating ops. Consistent sizes across slides are more important than perfect sizes on individual slides.

Slide count convention: N slides = N content slides. Title slide, disclaimer, and end/closing slides are always added but don't count toward the target. Example: "15 slides" = 15 content + title + disclaimer + end = 18 total.

Step 2) Generate slides.json

Generate slides.json from user intent + resolved_manifest.json.

  • Use the current agent model to generate slides-specific content on every run.
  • Never hardcode topic content.
  • Before generating ops, read resolved_manifest.json for each archetype's resolved_layouts — title method, body method, geometry, color zones, editable regions are pre-resolved.
Comprehension gate

After reading resolved_manifest.json, confirm you can answer:

  • Which layout will each archetype use? Name the layout for at least the first 5 archetypes. (Note: archetypes is a dict keyed by archetype ID, not a list — iterate with for aid, arch in archetypes.items())
  • Which layouts are split-panel? What are the editable regions?
  • What is the primary_color_hex from the design profile?

If any answer is unclear, re-read before generating ops.

Conditional reference loading

After completing the plan, scan SlidePlan.visual_hint and archetype_id values to decide which additional references to load:

  • Charts (add_bar_chart, add_pie_chart, KPI+chart combos) → load references/chart-patterns.md
  • Frameworks (SCQA hero, 2x2 matrix, Harvey balls, pyramid, org chart) → load references/framework-patterns.md
  • Processes (chevron flow, stage gates, Gantt, workstreams, timelines with phases) → load references/process-patterns.md

Skip references that don't match any planned slide. This keeps context lean for simple text+shape decks.

slides.json structure:

json
{
  "plan": {
    "deck_title": "...",
    "brief": "...",
    "audience": "...",
    "objective": "...",
    "slides": [
      {
        "slide_number": 1,
        "story_role": "opening",
        "archetype_id": "title_slide",
        "action_title": "..."
      }
    ]
  },
  "ops": {
    "operations": [
      {"op": "add_slide", "layout_name": "..."},
      {"op": "set_semantic_text", "slide_index": 0, "role": "title", "text": "..."}
    ]
  }
}

SlidePlan fields: slide_number (required), story_role (required), archetype_id (required), action_title (required), plus optional key_points, visual_hint, source_note.

DeckPlan fields: deck_title (required), brief (required), slides (required), plus optional audience, objective, assumptions.

Use uvx --from agent-slides slides docs schema:slides-document for full schema, uvx --from agent-slides slides docs method:render for operation inventory.

Ops Generation Rules

Read references/content-density.md and references/layout-patterns.md before writing ops.

Placeholder awareness:

  • Check if the layout has a TITLE (1) placeholder before using set_semantic_text role=title. Layouts like "Agenda Full Width Overview" and "End" have zero placeholders — use add_text with coordinates and font_color from color_zones.
  • Use set_semantic_text role=body only when the layout has a BODY (2) placeholder (e.g., "Title and Text"). Otherwise use add_text.
  • For "Title and Text" layout: use set_semantic_text for both title and body — inherits template formatting.

Speaker notes (mandatory for key slides):

  • Use add_notes on exec summary, recommendation, and data-heavy slides.

Visual hierarchy (mandatory for rich slides):

  • Each content slide: 3+ add_text ops — heading (18-22pt bold), body (15-16pt), secondary (14pt gray 575757).
  • Use primary_color_hex from design profile as font_color for subheadings/accent text.
  • Use font_color: "575757" for captions and supporting details.

Split-panel composition:

  • Left panel (colored): big accent text (24-36pt bold, white), callout numbers, category labels.
  • Right panel: repeating header+body pairs — header 20-22pt bold, body 15pt.
  • Place action title as first add_text on right panel at T=0.7.

Callout numbers:

  • Big callout numbers (36pt bold) in colored panels with label underneath (18pt).

Shape ops for visual structure (mandatory for rich slides):

  • add_rounded_rectangle: card backgrounds (place BEFORE text ops).
  • add_rectangle: thin accent bars (height ~0.06").
  • add_oval (equal w/h): number badges.
  • add_line_shape: dividers, timeline connectors, separators.
  • add_rounded_rectangle with border_color: insight callout boxes.
  • See references/layout-patterns.md for patterns.

Icons:

  • Use add_icon on card/column layouts. Place at size: 0.75 on cards, size: 0.55 as accents.
  • Use color: "FFFFFF" on dark backgrounds, omit for theme colors on light.
  • Built-in: generic_circle, generic_square. Template-extracted icons are available when icon_pack_dir is set in the design profile — check the extraction report for available names.

Charts:

  • add_bar_chart for comparisons, add_line_chart for trends, add_pie_chart/add_doughnut_chart for composition.
  • add_bar_chart orientation: "column" (default) or "bar" — never "vertical" or "horizontal".
  • Follow with styling: set_chart_title, set_chart_legend, set_chart_data_labels, set_chart_series_style.
  • set_chart_data_labels accepts number_format. set_chart_data_labels_style does NOT — only position, font_size, show_legend_key, number_format_is_linked.
  • Set fill_color_hex per series to match template palette.
  • Series format: [["Series Name", [v1, v2, ...]], ...].

Tables:

  • add_table with rows as 2D string array. Height ~0.5-0.6in/row.
  • Leave 0.5" between table bottom and footer text.

Source lines:

  • Every data slide: font_size: 9, font_color: "666666" or "999999", at top: 6.8.

Body placeholder clearing (mandatory):

  • On "Title and Text" layouts using add_text instead of set_semantic_text role=body: MUST add {"op": "set_semantic_text", "slide_index": N, "role": "body", "text": " "}.

Font color vs. background contrast (mandatory):

  • Never font_color: "FFFFFF" on light backgrounds (F2F2F2, FFFFFF).
  • Check color_zones[].bg_color before choosing colors.

Structural slides (mandatory):

  • Include disclaimer slide (second-to-last). Layout already has legal text — just add_slide.
  • end_slide (last) — minimal: deck title and brief line.
  • Agenda layouts with fixed labels — don't duplicate via add_text.

Document properties:

  • set_core_properties with title, author, subject.

Step 3) Preflight (required)

Run a project preflight before any render attempt:

bash
uvx --from agent-slides slides preflight --project-dir . --profile design-profile.json --compact

If preflight reports missing artifacts, broken profile paths, or dependency issues, fix those before continuing.

Step 4) Dry-run (required)

bash
uvx --from agent-slides slides render --slides-json @slides.json --profile design-profile.json --dry-run --compact

Step 5) Render

bash
uvx --from agent-slides slides render --slides-json @slides.json --profile design-profile.json --output output.pptx --compact

Step 6) QA gate (required)

Read references/common-mistakes.md and review the pre-generation checklist.

bash
uvx --from agent-slides slides qa output.pptx --profile design-profile.json \
  --slides-json @slides.json --out qa.json --compact

Review the output against the 25 ranked common mistakes. Note both issues found AND positive findings (things the deck does well).

Placeholder Rules

  • Never use set_placeholder_text with guessed indices. Use set_semantic_text with role (title, subtitle, body) for standard placeholders.
  • Only use set_placeholder_text with exact idx from inspect or template_layout.json.

Split-Panel Layout Rules

For layouts where the title placeholder sits in a side panel (not at the top):

  1. Set set_semantic_text title to " " to clear the placeholder.
  2. Place the slide title as add_text at the top of the RIGHT panel (T=0.7).
  3. Place left-panel content only in editable_above / editable_below areas.
  4. Use color_zones[].text_color for font_color on all add_text ops.

Check resolved_manifest.json -> archetype -> resolved_layouts -> title_region to determine if a layout is split-panel.

Anti-patterns (what NOT to do)

  • Don't generate ops without reading resolved_manifest.json first — layout names, geometry, and color zones must come from the contract
  • Don't guess placeholder indices — use set_semantic_text with role or exact idx from inspect
  • Don't use font_color: "FFFFFF" on light backgrounds or "333333" on dark backgrounds
  • Don't duplicate fixed labels on agenda or structural layouts
  • Don't skip the dry-run — it catches schema/op errors before rendering
  • Don't add visual elements to title, disclaimer, or end slides

Error Handling

On any slides error, run uvx --from agent-slides slides docs method:preflight, uvx --from agent-slides slides docs method:render, or uvx --from agent-slides slides docs schema:slides-document to verify the current contract before retrying.

Acceptance Criteria

  1. Output PPTX exists.
  2. qa.json reports "ok": true.
  3. No unresolved-token or contract-critical issues.
  4. slides preflight reports "ok": true before render.
  5. All content slides have action titles (complete sentences).

附带文件

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

常见问题

Slides Build AI 技能有什么作用?

Build a complete presentation deck from a brief. Generates storytelling plan, slide operations, renders the deck, and runs QA. Requires extracted template contracts from /slides-extract. Use when the user wants to create slides, build a deck, generate a presentation, write a strategy deck, or says things like "make me a 10-slide deck on X", "create a presentation about Y", "build slides for the board meeting".

为什么在 TypingMind 中使用 Slides Build?

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

如何在 TypingMind 中安装 Slides Build?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/studio-yebisu/yaoyorozu-ai-toolbox-slides/tree/main/examples/repositories/agent-slides-showcase/upstream/slides-build。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Slides Build?

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

Slides Build 可以搭配多少个 AI 模型使用?

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

Slides Build AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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