PPTX Slide Specification

PPTX Slide Specification

Guides authoring and repairing a coordinate-explicit JSON layout specification for an editable PPTX deck, with fixed placement, margins, accessibility and text-size rules.

Skill files2 files

references/

SKILL.md32 lines
1
---
2
name: pptx-slide-specification
3
description: "Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck."
4
---
5
6
# PPTX Slide Specification
7
8
Author final coordinates directly in `layout_tree`. No renderer may decide placement, shrink text, or infer layout after the audit.
9
10
## Required contract
11
12
- The root JSON contains `summary` and `slides`.
13
- Every slide has a stable `id`, a message-led `title`, an accessibility reading order, and a complete `layout_tree`.
14
- A layout tree declares slide size, root group, id-keyed groups and objects, final inch bboxes, styles, z-indexes, and classifications.
15
- Every meaningful object has `id`, `kind`, `role`, `classification`, `content`, `style`, `bbox`, and `z_index`.
16
- Production `summary` contains an explicit `layout_policy` (safe margin, content bottom, footer top, minimum gap) and accessibility metadata.
17
18
## Authoring rules
19
20
1. Use stable readable IDs, absolute groups, and positive inch dimensions.
21
2. Keep normal content inside the safe margin and above the footer rail. Only background `layout_design` objects may be full bleed.
22
3. Use native `text`, `shape`, `line`, `table`, and `image` objects. Recreate labels and values from any supporting visual as native objects.
23
4. Give meaningful images alt text. Record `source_ref` for sourced claims.
24
5. Keep content text at 9 pt or greater; shorten, resize, or split dense content before reducing type.
25
6. Use shared grids, consistent gaps, explicit color, explicit font size, and an intentional z-order.
26
27
## Build contract
28
29
A task-local builder starts from a blank slide layout and maps all bboxes with `Inches(...)`. Explicitly set wrapping, disabled auto-size, text insets, anchors, alignment, fonts, colors, line settings, image aspect ratio, and hidden-slide state. Reject zero or negative geometry before adding an object.
30
31
See `references/layout-contract.md` for the compact schema and repair guidance.
32

© 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…