PPTX Reference Deck Analysis

PPTX Reference Deck Analysis

Inspects a reference PowerPoint file read-only to extract structure, theme, typography, layout rhythm and a template catalogue, as evidence for designing a new deck.

Skill files8 files

references/

scripts/

SKILL.md44 lines
1
---
2
name: pptx-reference-deck-analysis
3
description: "Use when analyzing a reference PPTX for read-only structure, theme, typography, layout rhythm, diagnostics, derived template catalogs, or safe OOXML package inspection."
4
---
5
6
# PPTX Reference Deck Analysis
7
8
Inspect a reference deck as design evidence. This skill never copies, clones, or mutates a source deck.
9
10
## Contract
11
12
Implement 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
29
Install `defusedxml` from `requirements.txt` before using the bundled utilities.
30
31
1. Run `scripts/inspect.py <deck.pptx>` for a compact JSON report of slide order, text, theme tokens, relationships, notes, comments, animations, and media.
32
2. 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.
33
3. Run `scripts/unpack.py <deck.pptx> <output-dir>` only when raw-package evidence is necessary.
34
4. 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
43
See `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

© kimtth · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…