CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pptx-skill

当用户要求对 PowerPoint 幻灯片(.pptx)做任何操作时触发:阅读、总结、提取、编辑、创建、格式转换均适用。核心认知:PPTX 是视觉结构化文件——图表、排版、示意图等内容靠纯文字抽取无法可靠还原。理解幻灯片内容的正确路径是:用 PptxInspect render 把目标页渲染成 PNG,再交给视觉模型(CloudImageUnderstand)理解,而不是仅靠 text/outline 文字提取。文字工具仅作补充上下文使用。典型说法:"总结这份 PPT"、"这个 deck 在讲什么"、"第 3 页讲什么"、"描述第 5 页内容"、"帮我做一份 Q4 汇报 PPT"、"改第 3 页标题"。用户提到 .pptx 文件、deck、幻灯片、演示文稿时都加载本技能。

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

76%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A strong, highly actionable body: executable code for every common pptx task, dense reference tables instead of prose, and thoughtful failure-mode handling. The main weakness is the destructive XML-edit workflow in §2.3, which overwrites the user's file with no verification step, capping workflow clarity at 3 despite otherwise good sequencing and checkpoints.

Suggestions

Add a post-edit verification checkpoint to §2.3: after writing the updated buffer, run PptxInspect { action: "render", slideNumbers: [N] } (or re-read the slide text) to confirm the new title actually landed before reporting success — this also catches the known 'run 被拆' regex failure mode it currently only warns about.

Add a validation step to the batch-generation workflow (§2.2): after writeFile, run PptxInspect summary or outline to confirm the slide count matches items.length + 1 before delivering the file.

Trim Demo 2.1 from four slides to two (cover + one KPI/chart slide) — the layout-coordinate and CJK fontFace pitfalls are fully demonstrated with half the code, saving ~40 lines of context.

DimensionReasoningScore

Conciseness

The body is dense and table-driven (tool list, dispatch table, error-fallback table) with no padding explaining concepts Claude already knows, and the key-point callouts teach real pitfalls (LAYOUT_WIDE vs LAYOUT_16x9 coordinates, CJK fontFace). Not 5: Demo 2.1 runs ~85 lines across four slides where a cover plus one content slide would demonstrate the same layout/font/chart points. Not 3: the over-length is confined to one demo, so it is a minor trim rather than a noticeable verbosity problem.

4 / 5

Actionability

All three demos are complete, copy-paste-ready Node scripts with correct pptxgenjs object-form options (defineSlideMaster, addShape, addChart with CJK axis fonts), a working adm-zip XML edit, and concrete tool invocations (PptxInspect actions, DocConvert parameters, CloudImageUnderstand payloads with a ready prompt). The error table maps each symptom to a specific fix. Not 4: the common cases — create from scratch, generate per-data pages, edit an existing deck, understand a page visually, convert formats — are each covered by executable code plus a fallback path.

5 / 5

Workflow Clarity

The read path is clearly sequenced (summary → feature dispatch table → render) with SmartArt fallback routes, §2.4 branches on model capability with an explicit anti-hallucination checkpoint, and >20-page batch work has a confirm-first checkpoint. However, §2.3 destructively rewrites deck.pptx in place via adm-zip with no post-edit verification step (no render-back to confirm the new title), and the rubric explicitly caps destructive/batch workflows lacking validation at 3. Not 2: sequencing and most checkpoints are present; the gap is validation on the destructive edit path specifically.

3 / 5

Progressive Disclosure

No bundle files exist (references/, scripts/, assets/ are all absent) and the body is a well-sectioned ~250-line document: numbered sections, a tool table, feature-dispatch tables, and clearly labeled demos make navigation easy, and nothing references nonexistent files. Not 5: the three full demos are borderline content that could live in a references/examples file as the skill grows, which is a minor organization gap rather than a clear misplacement. Not 3: structure is good and content is not buried.

4 / 5

Total

16

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

An exemplary description: explicit what/when, comprehensive action list, verbatim user phrasings as triggers, and a clearly bounded pptx niche. The one mid-description methodology sentence (render-to-PNG via PptxInspect before CloudImageUnderstand) is body-oriented guidance rather than capability/trigger information and makes the description longer than a lean version would be, but it is substantive rather than fluff and no rubric dimension is weakened by it.

DimensionReasoningScore

Specificity

The description lists six concrete actions — 「阅读、总结、提取、编辑、创建、格式转换」 — covering the full operation space for .pptx work, matching the 'multiple specific concrete actions; comprehensive coverage' anchor. Not 4: there are no coverage gaps in the action list for the domain.

5 / 5

Completeness

Both halves are explicit: what — 「阅读、总结、提取、编辑、创建、格式转换均适用」 — and when — 「当用户要求对 PowerPoint 幻灯片(.pptx)做任何操作时触发…用户提到 .pptx 文件、deck、幻灯片、演示文稿时都加载本技能」 with concrete trigger phrases, mirroring the anchor-5 example structure. Not 4: the 'when' clause is already fully explicit and specific.

5 / 5

Trigger Term Quality

It quotes six verbatim natural phrasings (「总结这份 PPT」「这个 deck 在讲什么」「帮我做一份 Q4 汇报 PPT」 etc.) plus synonyms and the file extension (「.pptx 文件、deck、幻灯片、演示文稿」), matching the comprehensive synonym-plus-extension anchor. Not 4: no common variation for this (Chinese-language) user base is missing.

5 / 5

Distinctiveness Conflict Risk

The niche is clearly pptx-anchored: every trigger keyword (.pptx, deck, 幻灯片, 演示文稿) points at presentations specifically, giving minimal conflict risk with adjacent document skills. Not 4: the only overlap surface (「格式转换」 to pdf/html/md) still triggers only from pptx-side phrasings, so the risk is minimal rather than minor.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

itsablabla/openloaf-web

Path

apps/server/src/ai/builtin-skills/pptx/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.