Skills · Content & docs

Pptx Reference Deck Analysis

Unverified30/40

Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection.

Originally by wshobson · MIT

Claude CodePartialHas SKILL.md but declares no allowed-tools — Claude Code will ask for permission each time
CursorPartialPlain prose you can paste in — but no Cursor rules file
CodexPartialPlain prose you can paste in — but no AGENTS.md
Gemini CLIPartialPlain prose you can paste in
CopilotPartialPlain prose you can paste in — but no Copilot instructions file
npx agentalley add pptx-reference-deck-analysis

This command does not work yet — the CLI is still being built. Until then, use Raw in the reader below to take the file.

Who is stuck, and on what

Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection.

The whole source

No sign-in, no blur, nothing truncated
pptx-reference-deck-analysis/SKILL.md44 lines2.7 KBRawView on GitHub
Frontmatter — 2 properties
namepptx-reference-deck-analysis
descriptionUse when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection.
1---
2name: pptx-reference-deck-analysis
3description: "Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection."
4---A5No allowed-tools declared — no way to tell what this skill may touch
5 
6# PPTX Reference Deck Analysis
7 
8Inspect a reference deck as design evidence. This skill never copies, clones, or mutates a source deck.
9 
10## Contract
11 
12Implement required extraction on demand with a small task-local `python-pptx` script. Capture only the information required for the new deck:
13 
14- compact prompt context: slide count and size, text summaries, shape counts, styles, brand signals, template use, and layout rhythm;
15- full extraction: `summary`, slides, and read-only `layout_tree` evidence;
16- folder diagnostics: one result per deck plus a manifest;
17- style-master analysis: colors, fonts, size distribution, master/layout use, and flow patterns;
18- derived template catalog: zero-based source indices, layout roles, usable regions, placeholders, visual structures, and constraints.
19 
20## Rules
21 
22- Keep the source deck read-only and independently author every target-slide coordinate.
23- Use the bundled OOXML utilities only for raw themes, relationships, notes, comments, animations, media, masters, or layouts that high-level extraction cannot expose.
24- Record inspected parts and parsing exceptions in the analysis manifest.
25- Do not use extracted content, fonts, images, or proprietary assets in a generated deck without explicit permission and license evidence.
26 
27## OOXML package inspection
28 
29Install `defusedxml` from `requirements.txt` before using the bundled utilities.
30 
311. Run `scripts/inspect.py <deck.pptx>` for a compact JSON report of slide order, text, theme tokens, relationships, notes, comments, animations, and media.
322. Run `scripts/validate_package.py <deck.pptx> --output <report.json>` for malformed XML, broken internal relationships, content-type gaps, duplicate layout links, and orphaned parts.
333. Run `scripts/unpack.py <deck.pptx> <output-dir>` only when raw-package evidence is necessary.
344. Resolve relationship targets relative to the `.rels` owner; never infer slide order from filenames.
35 
36### Safety
37 
38- Never modify a supplied deck or blindly copy package parts into a new deck.
39- Run the scripts from a trusted workspace; they reject path traversal, symlinks, oversized members, and archive bombs.
40- Parse untrusted XML with `defusedxml`; do not enable entity expansion, DTD loading, or network access.
41- Treat theme colors as tokens unless fully resolved against the color scheme.
42 
43See `references/reference-deck-analysis.md` for output shapes, `references/reference-deck-analysis-patterns.md` for documentation-only patterns, and `references/ooxml-parsing.md` for package part maps.
44 

Reviews

Installed this one?Write the first review and take the Trailblazer badge.

Reviews only open after a real install, so this is empty — and we leave it empty rather than invent one.

Alternatives

Also in Content & docs