Pptx Slide Specification

by wshobson46891e7e60daNo licenseListed Oct 8, 2026Updated Oct 8, 2026

Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck.

Instructions onlyDocuments & Office
AI-generated overview

Guides authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck.

What it does
This skill provides rules and a contract for writing a JSON slide specification in which every object's final position is stated explicitly in inches. It covers the required root fields, per-slide structure, layout tree contents, object attributes, safe margins, footer rails, native object types, alt text, source references, minimum type size, and z-order. It also describes a build contract for mapping bounding boxes onto a blank slide layout and rejecting invalid geometry. A reference file holds the compact schema and repair guidance.
When to use it
Use it when creating or fixing a coordinate-explicit JSON specification for an editable PowerPoint deck, especially when placement must be decided at authoring time rather than by a renderer. It suits work that needs a defined layout contract, accessibility metadata, and consistent grids and spacing.
Requirements
No scripts are included; it is instructions only. It relies on a task-local builder that can create slides and set geometry, text, image, and style properties, plus access to the bundled reference file.

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

  1. Use stable readable IDs, absolute groups, and positive inch dimensions.
  2. Keep normal content inside the safe margin and above the footer rail. Only background layout_design objects may be full bleed.
  3. Use native text, shape, line, table, and image objects. Recreate labels and values from any supporting visual as native objects.
  4. Give meaningful images alt text. Record source_ref for sourced claims.
  5. Keep content text at 9 pt or greater; shorten, resize, or split dense content before reducing type.
  6. 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 and attribution

Source:wshobson/agentsinplugins/pptx-deck-creation/skills/pptx-slide-specificationat commit46891e7

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal