360 Secure SkillHub
360 安全技能中心

pptx-quality-gates

面向生成后的可编辑 PPTX 交付前质量门禁:先按坐标契约与审计清单检查,再重新打开文件比对幻灯片数量、实际边界、隐藏页与布局树,执行包完整性校验并保存 JSON 报告,检查语言、标题、图片替代文本、阅读顺序、表头与来源引用,必要时修复规格或构建器后重建并复跑同一组检查,所有内容碰撞、文字溢出、越界与包错误均视为需修复项。

wshobson
热度 0.00
最近更新 2026-10-18 15:57:20
分类:效率依赖:读写文件 / 代码执行应用场景:演示设计 / 工作流 / 报告撰写 / 校对润色

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add wshobson/agents/pptx-quality-gates
Metadata
name
pptx-quality-gates
description
Use when validating or repairing an editable PPTX deck for geometry, accessibility, native editability, source lineage, and OOXML package integrity.

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.