Token导航 LogoToken导航

Agent Skill · 前端设计

pptx(PPTX 演示文稿处理)

pptx 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

pptx 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,暂无第三方扫描结果,按安装量在前端设计类的 10,216 个 Skill 里排第 8,327。

总安装 294周安装 12GitHub Stars 2下载 95核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pptx(PPTX 演示文稿处理)
来源仓库:https://github.com/b12consulting/skills
仓库路径:skills/pptx
安装命令:
npx skills add https://github.com/b12consulting/skills --skill pptx
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/b12consulting/skills --skill pptx

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

PPTX 技能用于读取、分析与编辑 PowerPoint 演示文稿,支持文本提取与视觉概览。适用于需要将 PPTX 内容转换为 Markdown、生成缩略图或进行原始 XML 解包处理的场景。可通过 markitdown 提取文本,或用 unpack 脚本解压后手动修改幻灯片内容。

创建新演示建议使用 pptxgenjs 模板,确保兼容性与样式一致性。操作前建议备份原文件,避免因脚本误改导致格式错乱或数据丢失。

来源仓库内路径:skills/pptx

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/b12consulting/skills --skill pptx;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

pptx 怎么安装?

在终端执行 npx skills add https://github.com/b12consulting/skills --skill pptx。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

pptx 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

pptx 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

pptx 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

pptx 用的人多吗?

公开数据是累计安装 294 次,近一周安装 12 次,下载 95 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

pptx 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
pptx

PPTX 演示文稿处理 · 本页

2942只读未明确未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

PPTX Skill

Quick Reference

TaskGuide
Read/analyze contentpython -m markitdown presentation.pptx
Edit or create from templateRead editing.md
Create from scratchRead pptxgenjs.md

Reading Content

# Text extraction
python -m markitdown presentation.pptx

# Visual overview
python scripts/thumbnail.py presentation.pptx

# Raw XML
python scripts/office/unpack.py presentation.pptx unpacked/

Editing Workflow

Read editing.md for full details.

  1. Analyze template with thumbnail.py
  2. Unpack → manipulate slides → edit content → clean → pack

Creating from Scratch

Read pptxgenjs.md for full details.

Use when no template or reference presentation is available.


Yuma Design System (Mandatory)

All presentations MUST follow the Yuma brand design. Do not invent colors, pick your own fonts, or freestyle the layout. Every design choice below comes from the official Yuma brand guidelines and must be applied consistently.

Slide Dimensions

Always use LAYOUT_WIDE (13.33" × 7.5"). This is the standard Yuma slide format.

pres.layout = "LAYOUT_WIDE"; // 13.33" × 7.5"

Color Palette

Use ONLY these colors. Do not introduce any color outside this palette.

ColorHexRole
Black000000Primary text, dark backgrounds
WhiteFFFFFFLight backgrounds, text on dark
Off WhiteF8F5F5Subtle background alternative
Forest Green005D45Primary brand color — title slide backgrounds, section emphasis
Future Green21E467Bright accent — sparingly for highlights
Bright Green00E953Title text on dark green backgrounds
Granular GreyF0ECE9Footer bar background, secondary surfaces
EarthC4A892Warm neutral accent
Purple6434DAAccent — footer source labels, subtle highlights
PinkEBA8FFAccent — thank-you/closing slide backgrounds

Color usage rules:

  • Title/cover slides: Forest Green (005D45) background with Bright Green (00E953) title text and White subtitle text
  • Content slides: White background with Black text
  • Statement/quote slides: White background (or Forest Green for emphasis)
  • Section dividers: White background with Black text
  • Thank-you/closing: Pink (EBA8FF) background with Black text
  • Footer bar on content slides: Granular Grey (F0ECE9) background
  • Charts: use 005D45, 6434DA, EBA8FF, C4A892, 4FC36B as series colors

Typography

Heading font: Merriweather (the Google Fonts substitute for Bogue Slab Thin, which is not available in PptxGenJS). Use regular weight — Yuma headings are thin/light, not bold.

Body font: Inter (available via Google Fonts). Use light weight where possible, regular for emphasis.

Fallbacks (if the above are unavailable): Times New Roman for headings, Arial for body.

ElementFontSizeWeightSpacing
Title slide headingMerriweather60ptregular (not bold)tight
Title slide subtitle (name)Inter20ptbold—
Title slide subtitle (date)Inter20ptregular—
Content slide titleMerriweather35ptregular (not bold)—
Statement/quote textMerriweather45–60ptregular (not bold)tight
Body textInter16ptregularcharSpacing: -0.6
Body bold labelsInter16ptboldcharSpacing: -0.6
Agenda numbersMerriweather60ptregular—
Agenda item titleInter30ptbold—
Agenda item descriptionInter16ptregular—
Section divider numberMerriweather60ptregular—
Section divider titleInter30ptbold—
Footer text / sourceInter10ptregular—
Slide numberInter10ptregular—
Closing "Thank you"Inter15ptregularcharSpacing: 0.6

Key typography rules:

  • Headings are NEVER bold — Yuma's brand uses a thin serif font for headings
  • Body text uses -0.6pt character spacing (charSpacing: -0.6 in PptxGenJS)
  • Left-align all text (titles, body, lists) — do NOT center except on statement slides
  • Statement/quote slides: center-aligned, tight line spacing (80%)
  • Body line spacing: 110%
  • Title line spacing: 90%

Iconic Y-Motif Backgrounds

A signature element of Yuma presentations is the oversized Y symbol used as a decorative background motif. The Y is rendered in a tone-on-tone style (slightly different shade than the background) and bleeds off the slide edges.

Pre-generated background images are available in skills/yuma-design/references/:

BackgroundFileUsage
Green + bright Y (right)yuma-bg-title-green.pngTitle/cover slides
Green + bright Y (left)yuma-bg-section-green.pngSection dividers with green bg
White + subtle grey Yyuma-bg-content-subtle.pngStatement slides, accent content
Pink + darker pink Yyuma-bg-closing-pink.pngThank-you/closing slides
// Title slide with Y-motif background
slide.background = {
  path: "skills/yuma-design/references/yuma-bg-title-green.png",
};

// Statement slide with subtle Y
slide.background = {
  path: "skills/yuma-design/references/yuma-bg-content-subtle.png",
};

When to use Y-motif backgrounds:

  • Title/cover slide: always use yuma-bg-title-green.png
  • Section dividers: optionally use a green Y background for visual impact
  • Statement/quote slides: use yuma-bg-content-subtle.png for a branded feel
  • Closing slide: always use yuma-bg-closing-pink.png
  • Content slides: plain white — do NOT use Y backgrounds on text-heavy slides

To regenerate or customize backgrounds, run:

python scripts/generate_backgrounds.py

This script renders the Yuma symbol SVG (skills/yuma-design/references/Yuma_Symbol_Black-RGB.svg) at 250% slide height onto colored backgrounds. Requires cairosvg and Pillow. Edit the script to adjust positioning, scale, or add new color variants.

Yuma Logo

Every content slide must include the Yuma logo in the footer. The logo file is at skills/yuma-design/references/Yuma_logo_Black-RGB.png (use Yuma_logo_White-RGB.png on dark backgrounds).

Title slides also show the logo — in white, top-right corner.

// Footer logo — bottom-left of every content slide
slide.addImage({
  path: "skills/yuma-design/references/Yuma_logo_Black-RGB.png",
  x: 0.38,
  y: 6.9,
  w: 0.89,
  h: 0.37,
});

// Title slide logo — top-right, white variant
slide.addImage({
  path: "skills/yuma-design/references/Yuma_logo_White-RGB.png",
  x: 10.8,
  y: 0.4,
  w: 1.6,
  h: 0.66,
});

The footer logo should NOT appear on title, statement, or closing slides.

Slide Number

Content slides display the slide number at the bottom-right, 10pt Inter, right-aligned.

slide.addText(String(slideNum), {
  x: 9.3,
  y: 6.9,
  w: 3.85,
  h: 0.4,
  fontFace: "Inter",
  fontSize: 10,
  color: "000000",
  align: "right",
  margin: 0,
});

Slide Types & Layout Patterns

Use the following patterns for each slide type. Vary your layouts — don't repeat the same content layout for every slide.

1. Title / Cover Slide
  • Background: yuma-bg-title-green.png (Forest Green with bright green Y-motif on right)
  • Yuma logo: top-right, white variant (x: 10.8", y: 0.4", w: 1.6")
  • Title: 60pt Merriweather, Bright Green (00E953) text, left-aligned, lower-left area (x: 0.37", y: 2.35", w: 8")
  • Subtitle line 1 (author name): 20pt Inter bold, White text (x: 0.37", y: 6.15")
  • Subtitle line 2 (date): 20pt Inter regular, White text, directly below name
  • No footer logo, no slide number
2. Agenda Slide
  • Background: White
  • "Agenda" title: 35pt Merriweather, top-left
  • Numbered items in a staircase layout — each item steps down and to the right:

- Number: 60pt Merriweather (e.g., "01", "02", "03", "04") - Item title: 30pt Inter bold, next to the number - Description: 16pt Inter regular, below the title

  • Items arranged diagonally across the slide, not in a simple grid
  • Logo + slide number in footer
3. Section Divider
  • Background: White (or optional background image)
  • Large section number: 60pt Merriweather, vertically centered, left side
  • Section title + description: 30pt Inter bold + 16pt Inter, next to the number
  • No logo on these (they act as visual breaks)
4. Content Slide (Title + Body)
  • Background: White
  • Title: 35pt Merriweather, top-left (x: 0.37", y: 0.6", w: 12.5", h: 0.6")
  • Body area: (x: 0.37", y: 1.31", w: 8.3", h: 5.4") — leave right margin for breathing room
  • Body text: 16pt Inter with charSpacing: -0.6, lineSpacingMultiple: 1.1
  • Text hierarchy (use PptxGenJS indentLevel for nesting):

- Level 0: regular text, no bullet, no indent - Level 0 + bold: inline labels/headers (e.g. "Item one in Inter Light (Bold) 16pt") - Level 1: • bullet (use bullet: true), regular text - Level 2: ○ sub-bullet (use bullet: {code: "o"}), regular text

  • Important: body text items are an array of {text, options} objects. Each item in the list hierarchy must be a separate entry with breakLine: true and the appropriate indentLevel and bullet setting.
  • Logo + slide number in footer
5. Two-Column Content
  • Same as content slide but body area split into two columns
  • Left column: x 0.37", width ~5.3"
  • Right column: x ~6.7", width ~5.3"
  • Both columns share the same title at top
6. Content + Image (Split Layout)
  • Title at top (one half)
  • Text on one side (~47% width), image placeholder on the other (~47% width)
  • Can be text-left/image-right OR image-left/text-right — vary across slides
7. Statement / Quote Slide
  • Background: yuma-bg-content-subtle.png (white with subtle grey Y) or plain white, or yuma-bg-title-green.png
  • Large text: 45–60pt Merriweather, left-aligned or center-aligned, tight line spacing (80%)
  • Text positioned at left-center (x: 0.37", y: ~1.4", w: ~6.6") — not full width, to leave room for visual balance
  • No footer, no logo, no slide number
8. Chart Slide
  • Title: 35pt Merriweather, top-left
  • Chart area positioned below title
  • Use Yuma palette colors for chart series: 005D45, 6434DA, EBA8FF, C4A892, 4FC36B
  • Logo + slide number in footer
9. Thank You / Closing Slide
  • Background: yuma-bg-closing-pink.png (pink with subtle Y-motif)
  • "Thank you." text: 15pt Inter, bottom-left area (x: 0.37", y: 6.7")
  • Contact email: 15pt Inter, below
  • Optional: Large Yuma tagline ("The future is yuman.") in 60pt Merriweather at center
  • No footer logo, no slide number

Overall Design Principles

  • Minimalist and clean: Yuma's style is understated — lots of whitespace, flat design, no gradients, no shadows, no decorative shapes
  • Left-aligned by default: Almost all text (titles, body, lists) is left-aligned. Only statement/quote slides use center alignment
  • No accent lines or underlines: Do not put decorative lines under or next to titles
  • No rounded corners, no shadows, no gradients: Keep shapes simple and flat
  • Zero-padded section numbers: Use "01", "02", "03" format, not "1", "2", "3"
  • Consistent margins: ~0.37" left margin, ~0.37" from edges on all sides
  • Vary layouts: Don't use the same content layout for every slide. Mix title+body, two-column, text+image, and chart slides
  • Dark/light sandwich: Forest Green title slide → White content slides → Pink closing slide

Avoid (Yuma-Specific)

  • NEVER use colors outside the Yuma palette — no blues, reds, oranges, or teals
  • NEVER bold the headings — Yuma headings use thin/light weight serif fonts; bolding them breaks the brand
  • NEVER center body text — left-align paragraphs and lists; center only statement slides
  • NEVER use shadows or gradients — the design is completely flat
  • NEVER use accent lines under titles — use whitespace or background color instead
  • NEVER skip the logo — content slides must have the Yuma logo in the footer
  • NEVER use generic color palettes — only the Yuma brand colors listed above
  • Don't mix fonts — use only Merriweather (headings) and Inter (body), nothing else
  • Don't repeat the same layout — vary columns, cards, and callouts across slides
  • Don't create text-only slides — add images, icons, charts, or visual elements
  • Don't forget text box padding — set margin: 0 on text boxes when aligning with shapes or icons

QA (Required)

Assume there are problems. Your job is to find them.

Your first render is almost never correct. Approach QA as a bug hunt, not a confirmation step. If you found zero issues on first inspection, you weren't looking hard enough.

Content QA

python -m markitdown output.pptx

Check for missing content, typos, wrong order.

When using templates, check for leftover placeholder text:

python -m markitdown output.pptx | grep -iE "xxxx|lorem|ipsum|this.*(page|slide).*layout"

If grep returns results, fix them before declaring success.

Visual QA

⚠️ USE SUBAGENTS — even for 2-3 slides. You've been staring at the code and will see what you expect, not what's there. Subagents have fresh eyes.

Convert slides to images (see Converting to Images), then use this prompt:

Visually inspect these slides. Assume there are issues — find them.

Look for:
- Overlapping elements (text through shapes, lines through words, stacked elements)
- Text overflow or cut off at edges/box boundaries
- Decorative lines positioned for single-line text but title wrapped to two lines
- Source citations or footers colliding with content above
- Elements too close (< 0.3" gaps) or cards/sections nearly touching
- Uneven gaps (large empty area in one place, cramped in another)
- Insufficient margin from slide edges (< 0.5")
- Columns or similar elements not aligned consistently
- Low-contrast text (e.g., light gray text on cream-colored background)
- Low-contrast icons (e.g., dark icons on dark backgrounds without a contrasting circle)
- Text boxes too narrow causing excessive wrapping
- Leftover placeholder content

For each slide, list issues or areas of concern, even if minor.

Read and analyze these images:
1. /path/to/slide-01.jpg (Expected: [brief description])
2. /path/to/slide-02.jpg (Expected: [brief description])

Report ALL issues found, including minor ones.

Verification Loop

  1. Generate slides → Convert to images → Inspect
  2. List issues found (if none found, look again more critically)
  3. Fix issues
  4. Re-verify affected slides — one fix often creates another problem
  5. Repeat until a full pass reveals no new issues

Do not declare success until you've completed at least one fix-and-verify cycle.


Converting to Images

Convert presentations to individual slide images for visual inspection:

python scripts/office/soffice.py --headless --convert-to pdf output.pptx
pdftoppm -jpeg -r 150 output.pdf slide

This creates slide-01.jpg, slide-02.jpg, etc.

To re-render specific slides after fixes:

pdftoppm -jpeg -r 150 -f N -l N output.pdf slide-fixed

Dependencies

  • npx skills add b12consulting/skills --skill yuma-design - Yuma brand design assets
  • pip install "markitdown[pptx]" - text extraction
  • pip install Pillow - thumbnail grids
  • pip install cairosvg - Y-motif background generation (also needs the cairo system library: brew install cairo on macOS)
  • npm install -g pptxgenjs - creating from scratch
  • LibreOffice (soffice) - PDF conversion (auto-configured for sandboxed environments via scripts/office/soffice.py)
  • Poppler (pdftoppm) - PDF to images

平台分布

Codex

38.42%
按下载量换算36

Claude

29.9%
按下载量换算28

Cursor

18.33%
按下载量换算17

Gemini CLI

10.48%
按下载量换算10

安全审计

暂无安全审计结果可展示。

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills