360 Secure SkillHub
360 安全技能中心

corporate-ppt-generator

该 Skill 以 block_xml 为主要输入,通过复用技能目录内的 PPT_Template.pptx 模板幻灯片生成新的 .pptx 文件,支持 template_first 与 template_only 渲染策略及 HTML 回退开关,返回输出路径、幻灯片数量与状态消息;示例 XML 覆盖目录、矩阵、饼图/柱状图/折线图、表格与标语块。

分类:创作
phil-osophy-42
phil-osophy-42
热度 37.45
最近更新 2026-05-11 17:48:15

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add phil-osophy-42/slug
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
corporate-ppt-generator
version
1.0.2
description
Generate PPT decks from prompts/block XML while preserving corporate brand style.
categories
["productivity","presentation"]

Corporate PPT Generator

Description

Generate a new .pptx by reusing existing template slides from PPT_Template.pptx. The runtime is XML-only and prioritizes template-first rendering.

When To Use

Use this skill when the user asks:

  • "Generate a PPT from a prompt or outline"
  • "Create a deck in DaoCloud style / company brand style"
  • "Render PPT from structured block/xml with template consistency"

Inputs

  • title: optional deck title fallback
  • output_filename: output pptx filename
  • template_file: optional template filename in skill directory
  • block_xml: block/xml payload (required)
  • render_strategy: template_first | template_only
  • allow_html_fallback: allow html/richtext block fallback to template content slides

Output

  • output_path: absolute path to generated pptx
  • slide_count: number of slides generated
  • message: status message

Notes

  • Requires python-pptx.
  • Uses local PPT_Template.pptx in skill directory by default.
  • Use assets/demo_blocks.xml for a full XML demo (toc + matrix + pie/bar/line + table + slogan).