pptx-quality-gates
它能做什么
这个工具检查演示文稿文件(PPTX)是否可以交付。它确保设计正确、所有人都能无障碍使用,并且之后便于编辑。
适用场景
- ✓发送已完成的演示文稿之前。
- ✓想确保任何人之后都能编辑这份演示文稿时。
- ✓想检查演示文稿在视觉上是否正确、是否无障碍时。
技能链接
https://github.com/wshobson/agents/blob/main/plugins/pptx-deck-creation/skills/pptx-quality-gates/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我检查一下我的演示文稿,确保发送前没有问题。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会将计划内容与实际制作结果进行比对,检查元素是否放在正确位置、文字是否放得下、图片是否有替代描述。它还会验证文件的内部结构是否清晰。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
PPTX Quality Gates
Use this skill before delivering a generated PPTX. Treat deterministic failures as repair work, not exceptions.
Workflow
- Confirm the spec, builder, PPTX, source manifest, and audit paths.
- Apply
references/audit-checklist.mdto the coordinate contract before building. - Reopen the PPTX and compare slide count, actual bounds, hidden slides, and requested geometry with the layout tree.
- For production decks, run
pptx-reference-deck-analysis/scripts/validate_package.pyand save the JSON report. - Check document language, slide titles, meaningful-image alt text, reading order, table headers, and source references.
- When a compatible renderer is already available, inspect previews for clipping, font fallback, contrast, crop, and hierarchy. Do not add a renderer dependency.
- Repair the spec or task-local builder, rebuild, and rerun the same checks.
Required artifacts
Keep the spec, PPTX, build record, geometry audit, accessibility audit, package report, and source manifest together. Report any documented exception with slide ID, object ID, owner, reason, and review date.
Pass criteria
Zero content collisions, text overflows, unsafe content bounds, invalid positive geometry, and package-integrity errors. Meaningful slide content must remain native editable objects; images support rather than replace it.
See references/audit-checklist.md for the complete checklist.
常见问题
“geometry”是什么意思?
指屏幕上各个元素(如文本框和图片)的形状、大小,以及位置是否正确。
什么是“无障碍”?
指确保不同需求的人都能使用演示文稿,例如为视障人士提供屏幕阅读器支持。
“质量关卡”(quality gates)是什么?
指在产品(这里是演示文稿)定稿或交付前,确保其达到一定标准的检查点。
详情
作者的原始描述
Use when validating or repairing an editable PPTX deck for geometry, accessibility, native editability, source lineage, and OOXML package integrity.
repo: wshobson/agents
热度
- GitHub 星标
- 41k
- 排名
- #6750
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …