跳到正文
cccskills
免费在 GitHub 公开

document-pptx

Builds and edits PowerPoint (.pptx) slide decks and templates with PPTX-Automizer. Use when you make or build a slide deck or presentation, or repair one.

中文简介正在准备中。当前显示原文说明。

集成工具PowerPoint
查看安装方法

包含的文件(21)

  • SKILL.md8.2 KB
  • agents/openai.yaml314 B
  • assets/pitch-deck.md2.2 KB
  • assets/quarterly-review.md2.1 KB
  • assets/slide-narrative-template.md1.9 KB
  • data/sources.json8.2 KB
  • learnings.consolidated.md589 B
  • learnings.md353 B
  • references/deck-narrative-and-visual-patterns.md6.5 KB
  • references/extraction-stack.md2.0 KB
  • references/pptx-accessibility-compliance.md6.3 KB
  • references/pptx-animations-transitions.md7.6 KB
  • references/pptx-charts.md5.3 KB
  • references/pptx-layouts.md2.6 KB
  • references/pptx-speaker-notes-delivery.md3.9 KB
  • references/pptx-template-branding.md8.7 KB
  • references/pptx-troubleshooting-repair.md5.9 KB
  • scripts/pptx_extract_notes.py2.9 KB
  • scripts/pptx_inventory.py4.7 KB
  • scripts/pptx_ooxml_inspect.py7.7 KB
  • scripts/test_pptx_ooxml_inspect.py2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Document PPTX

Boundary: when the claude.ai Slides artifact type or the official Anthropic pptx skill is available, prefer it for plain create/edit, generic template fill and visual QA. Use this skill for its specialist lanes:

  • template inspection before automation (layouts, placeholder idx, shape names, OOXML parts)
  • designer-owned template fills with PPTX-Automizer
  • speaker-note extraction and damaged-deck inspection
  • accessibility and EN 301 549 review

Quick Reference

JobDefaultNotes
Inspect a template before any fillscripts/pptx_inventory.py --jsonLayout names, placeholder idx and type, shape names
Inspect a damaged deck or its partsscripts/pptx_ooxml_inspect.pyBroken relationships, missing targets, repair dialogs
Extract or back up speaker notesscripts/pptx_extract_notes.pyMarkdown or JSON
Fill a designer-owned templatePPTX-AutomizerNamed-element replacement only (chart data, text, table, image)
Python reporting or extractionpython-pptxStandard charts, notes, placeholders
JS/TS or browser exportPptxGenJSReal combo charts; 16:9 default layout

Scripts And Exit Codes

Script012
pptx_ooxml_inspect.pyNo broken relationship targetsBroken targets found (gate). --report-only exits 0 for well-formed packages with broken targetsFile missing, invalid package or malformed relationship part
pptx_inventory.py / pptx_extract_notes.pyWrittenn/aFile missing, unreadable, or not a .pptx

Decision Rules

  • Template first or from scratch. Use the branded template when the deck goes to an external audience, brand or legal review is in the path, or the request names "our template". Build from scratch for internal drafts, exploratory mock-ups or data-shaped reports where speed matters more than branding. Never guess brand colours, fonts or layout names when a template exists: inventory it first. With no template and no brand requirement, a clean unbranded deck beats an invented corporate look.
  • PPTX-Automizer only for narrow fills. It merges named elements into a designer-owned structure; it is not a general slide generator.
  • Resolve layouts by name, every time. Layout indices are not portable between templates, and designers reorder or rename layouts between versions.
  • Guard placeholders by idx set. 1 in slide.placeholders is always False; test against {ph.placeholder_format.idx for ph in slide.placeholders}. See references/pptx-template-branding.md.
  • One takeaway per slide, and chart data traceable to one source of truth with units, timeframe and source.
  • Accessibility is part of authoring: titles, reading order, contrast and alt text, not a final pass.

Known Limits

  • python-pptx has no animation API (no build or entrance effects) and no slide-transition API. Both need direct OOXML <p:timing>/<p:transition> edits; see references/pptx-animations-transitions.md before promising motion.

  • python-pptx cannot create a true combo chart (column plus line); it has no multi-plot chart constructor. Fill a template combo chart with replace_data, or use PptxGenJS.

  • python-pptx has no gradient-fill API and no supported way to edit theme colours (theme1.xml). Both need direct XML edits with a backup first.

  • The colour class is RGBColor (from pptx.dml.color), not RgbColor; the wrong case raises ImportError.

  • Default slide sizes differ: python-pptx's default template is 10 × 7.5 in (4:3), PptxGenJS's default is 10 × 5.625 in (16:9). Check every shape and chart against the target size (y + h <= slide height); positions copied from a 4:3 example run off a 16:9 slide.

  • PptxGenJS has no slide-transition or auto-advance option; slide.transition / advanceAfter are silently ignored. Write <p:transition> OOXML instead.

  • PPTX-Automizer's modifyElement(selector, callback) takes modification callbacks (ModifyTextHelper.setText(...), ModifyTableHelper.setTable(...), ModifyChartHelper.setChartData(...)), not an options object like { text: ... }.

  • Blind template edits can break timing, media or repairability. Keynote or Google Slides opening a file cleanly does not confirm PowerPoint compatibility, and the reverse is also true.

  • Library behaviour changes between releases. Re-test a claimed API gap or default against the installed version before relying on it, and mark it unverified when you cannot.

Workflow

  1. Classify the job: fresh deck, template fill, notes extraction, or repair.
  2. Build the slide narrative before writing slide code (assets/slide-narrative-template.md).
  3. Inspect the template (pptx_inventory.py --json, pptx_ooxml_inspect.py --json) before any automation change.
  4. Generate or edit, then run the release gate below.

Rendered Slide Release Gate

After the final save, reopen the deck and inventory slide count, layout names, placeholders, media relationships, chart data, and speaker notes. Render every slide to images or PDF in the declared delivery target and inspect for clipped text, font substitution, objects outside the slide, broken chart labels, low-resolution images, and unintended blank placeholders. Require an actual PowerPoint pass when PowerPoint fidelity or accessibility is an acceptance criterion; otherwise use the available target renderer and mark PowerPoint fidelity unverified.

Compare charts and headline figures with the source data after rendering, not only in the generation code. For template edits, confirm that masters and theme relationships still resolve and that the declared target viewer opens the file without a repair dialog. Record any viewer-specific variance instead of treating one viewer as proof for another.

Navigation

References

Scripts

Templates

Related Skills

Learnings Loop

When prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.

中文简介正在准备中。当前显示原文说明。

vasilyu1983/AI-Agents-public1012026年10月16日 更新

查看 vasilyu1983 的全部技能

报告此技能的问题