Pptx Quality Gates

作者 wshobson46891e7e60da无许可证收录于 2026年10月8日更新于 2026年10月8日

Use when validating or repairing an editable PPTX deck for geometry, accessibility, native editability, source lineage, and OOXML package integrity.

仅含说明Documents & Office
AI 生成的概览

校验并修复可编辑 PPTX 演示文稿的几何、无障碍、可编辑性、来源与包完整性。

功能
该技能在交付前对生成的 PPTX 演示文稿执行质量门禁。它先按坐标约定在构建前检查,再重新打开文件,将幻灯片数量、实际边界、隐藏幻灯片和请求的几何与布局树比对。它还会检查文档语言、幻灯片标题、有意义图片的替代文本、阅读顺序、表头和来源引用,并在已有兼容渲染器时检查预览中的裁切、字体回退、对比度、裁剪和层级。它会产出审计产物,并指示修复规格或构建器,然后重新构建并重跑相同检查。
适用场景
适用于交付或修复可编辑 PPTX 演示文稿之前,尤其是需要验证几何、无障碍、原生可编辑性、来源谱系或 OOXML 包完整性时。它适合需要确定性通过标准而非例外处理的生产演示文稿。
运行要求
仅含说明,不附带脚本。它引用一个检查清单文件,并针对生产演示文稿引用另一技能的校验脚本。仅在已有兼容渲染器时使用,不新增渲染器依赖。需要规格、构建器、PPTX、来源清单和审计路径。

PPTX Quality Gates

Use this skill before delivering a generated PPTX. Treat deterministic failures as repair work, not exceptions.

Workflow

  1. Confirm the spec, builder, PPTX, source manifest, and audit paths.
  2. Apply references/audit-checklist.md to the coordinate contract before building.
  3. Reopen the PPTX and compare slide count, actual bounds, hidden slides, and requested geometry with the layout tree.
  4. For production decks, run pptx-reference-deck-analysis/scripts/validate_package.py and save the JSON report.
  5. Check document language, slide titles, meaningful-image alt text, reading order, table headers, and source references.
  6. When a compatible renderer is already available, inspect previews for clipping, font fallback, contrast, crop, and hierarchy. Do not add a renderer dependency.
  7. 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.

来源与署名

来源:wshobson/agents位于plugins/pptx-deck-creation/skills/pptx-quality-gates提交46891e7

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架