Slide Making 技能

写作 社区
解读按原文结构重写,命令、链接、术语均保留;右侧可核对作者原始 SKILL.md

原文结构

  • PptxGenJS Reference:Read pptxgenjs.md for the complete PptxGenJS API reference, including: Setup & basic structure Text & formatting
  • Font Family Standards:Language · Default · Alternatives Chinese · Microsoft YaHei (微软雅黑) · — English · Arial · Georgia, Calibri, Cambria, Trebuchet MS
  • No Bold for Body Text:Plain body text and caption/legend text must NOT use bold. Body paragraphs, descriptions → normal weight Captions, legends, footnotes → normal weight

适用与边界

  • 当前原文没有单列适用场景。
  • Font Rules:原文以此为独立章节。
  • Color Palette Rules (MANDATORY):原文以此为独立章节。
  • Critical Pitfalls:原文以此为独立章节。

原文中的明确线索

  • 要点:「Read pptxgenjs.md for the complete PptxGenJS API reference」、「Chinese」、「English」、「Plain body text and caption/legend text must NOT use bold.」、「Use ONLY the provided color palette. Do NOT create or modify colors.」、「Only exception」、「Gradients are prohibited. Use solid colors only.」、「Animations and transitions are prohibited.」
  • 文件与命令transparencytheme.primary"22223b"theme.secondary"4a4e69"theme.accent"9a8c98"theme.light

流狐整理:以上内容来自当前 SKILL.md 的章节与原词;未补写作者没有声明的工具、兼容性或能力。

流狐档案 作者与许可取自来源;运行、权限和网络为流狐检测或估算
流狐分类
写作
作者声明 Agent
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
作者 / 版本 / 许可
@MiniMax-AI · 未声明 license
流狐 Token 估算
低消耗
流狐接入估算
即装即用
是否需要外部 API Key
未发现要求
检测到的系统要求
未声明
底层运行要求
Python
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
检测到的网络行为
仅限本地
安装命令数
无(仅作为资料)

档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。

需要注意: 未限定 allowed-tools,默认拥有全部工具权限。

输出预览 slide-making-skill.preview
# Subagent Output Format

// slide-01.js
const pptxgen = require("pptxgenjs");

const slideConfig = {
  type: 'cover',
  index: 1,
  title: 'Presentation Title'
};

// ⚠️ MUST be synchronous (not async)
function createSlide(pres, theme) {
  const slide = pres.addSlide();
  slide.background = { color: theme.bg };

  slide.addText(slideConfig.title, {
    x: 0.5, y: 2, w: 9, h: 1.2,
    fontSize: 48, fontFace: "Arial",  // English text uses Arial
    color: theme.primary, bold: true, align: "center"
  });

  return slide;
}

// Standalone preview - use slide-specific filename (slide-XX-preview.pptx)
if (require.main === module) {
  const pres = new pptxgen();
  pres.layout = 'LAYOUT_16x9';
  const theme = {
    primary: "22223b",
    secondary: "4a4e69",
    accent: "9a8c98",
    light: "c9ada7",
    bg: "f2e9e4"
  };
  createSlide(pres, theme);
  // Replace XX with actual slide index (01, 02, etc.) to avoid conflicts
  pres.writeFile({ fileName: "slide-01-preview.pptx" });
}

module.exports = { createSlide, slideConfig };

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。