PPTX Slide Specification
Author final coordinates directly in layout_tree. No renderer may decide placement, shrink text, or infer layout after the audit.
Required contract
- The root JSON contains
summary and slides.
- Every slide has a stable
id, a message-led title, an accessibility reading order, and a complete layout_tree.
- A layout tree declares slide size, root group, id-keyed groups and objects, final inch bboxes, styles, z-indexes, and classifications.
- Every meaningful object has
id, kind, role, classification, content, style, bbox, and z_index.
- Production
summary contains an explicit layout_policy (safe margin, content bottom, footer top, minimum gap) and accessibility metadata.
Authoring rules
- Use stable readable IDs, absolute groups, and positive inch dimensions.
- Keep normal content inside the safe margin and above the footer rail. Only background
layout_design objects may be full bleed.
- Use native
text, shape, line, table, and image objects. Recreate labels and values from any supporting visual as native objects.
- Give meaningful images alt text. Record
source_ref for sourced claims.
- Keep content text at 9 pt or greater; shorten, resize, or split dense content before reducing type.
- Use shared grids, consistent gaps, explicit color, explicit font size, and an intentional z-order.
Build contract
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.
See references/layout-contract.md for the compact schema and repair guidance.
Source: wshobson/agents → plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.md
1---2name: pptx-slide-specification3description: "Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck."4category: media-and-creative5source_repo: wshobson/agents6source_path: "plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.md"7source_url: https://github.com/wshobson/agents/blob/HEAD/plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.md8---91011# PPTX Slide Specification1213Author final coordinates directly in `layout_tree`. No renderer may decide placement, shrink text, or infer layout after the audit.1415## Required contract1617- The root JSON contains `summary` and `slides`.18- Every slide has a stable `id`, a message-led `title`, an accessibility reading order, and a complete `layout_tree`.19- A layout tree declares slide size, root group, id-keyed groups and objects, final inch bboxes, styles, z-indexes, and classifications.20- Every meaningful object has `id`, `kind`, `role`, `classification`, `content`, `style`, `bbox`, and `z_index`.21- Production `summary` contains an explicit `layout_policy` (safe margin, content bottom, footer top, minimum gap) and accessibility metadata.2223## Authoring rules24251. Use stable readable IDs, absolute groups, and positive inch dimensions.262. Keep normal content inside the safe margin and above the footer rail. Only background `layout_design` objects may be full bleed.273. Use native `text`, `shape`, `line`, `table`, and `image` objects. Recreate labels and values from any supporting visual as native objects.284. Give meaningful images alt text. Record `source_ref` for sourced claims.295. Keep content text at 9 pt or greater; shorten, resize, or split dense content before reducing type.306. Use shared grids, consistent gaps, explicit color, explicit font size, and an intentional z-order.3132## Build contract3334A 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.3536See `references/layout-contract.md` for the compact schema and repair guidance.3738---3940**Source:** [`wshobson/agents`](https://github.com/wshobson/agents) → `plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.md`