Authoring or repairing a coordinate-explicit JSON
Pptx slide specification

Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck.
--- name: pptx-slide-specification description: "Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck." --- # 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
Overview
Author final coordinates directly in layout_tree. No renderer may decide placement, shrink text, or infer layout after the audit.
Manual install (npx, ZIP)
npx skills add wshobson/agents --skill pptx-slide-specification -g -a claude-codenpx degit wshobson/agents/plugins/pptx-deck-creation/skills/pptx-slide-specification#main ~/.claude/skills/pptx-slide-specificationConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md1.9 KB
Read SKILL.md here
Show the full text32 lines
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
summaryandslides. - Every slide has a stable
id, a message-ledtitle, an accessibility reading order, and a completelayout_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, andz_index. - Production
summarycontains an explicitlayout_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_designobjects may be full bleed. - Use native
text,shape,line,table, andimageobjects. Recreate labels and values from any supporting visual as native objects. - Give meaningful images alt text. Record
source_reffor 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.
| 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 | Use stable readable IDs, absolute groups, and positive inch dimensions. |
| 21 | Keep normal content inside the safe margin and above the footer rail. Only background `layout_design` objects may be full bleed. |
| 22 | Use native `text`, `shape`, `line`, `table`, and `image` objects. Recreate labels and values from any supporting visual as native objects. |
| 23 | Give meaningful images alt text. Record `source_ref` for sourced claims. |
| 24 | Keep content text at 9 pt or greater; shorten, resize, or split dense content before reducing type. |
| 25 | 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 |
Details
- Updated
- Sep 21, 2026
- License
- MIT
- Stars on the repo
- ★ 39,857
- Checked
- Source
- wshobson/agents ↗
- Creator
- wshobson · 179 listings
Similar skills
See all →
SkillCreate stunning, animation-rich HTML presentationsFrontend slides
SkillCreate professional, dark-themed SVG diagrams of any typeDiagram Generator
SkillGenerate self-contained HTML visual explanations for systemsVisual explainer
SkillHTML PPT Studio — author professional static HTMLhtml-ppt — HTML PPT Studio
SkillProfessional logo and brand-mark designLogo design
SkillDraws a code change or partPR LensMore from wshobson
SkillMaster C/.NET backend development patterns for building
SkillImplement WCAG 2.2 compliant interfaces with mobileAccessibility compliance
SkillMaster Material Design 3 and Jetpack Compose patternsAndroid Mobile Design
SkillMigrate from AngularJS to Angular using hybrid modeAngular migration
SkillUnderstand anti-reversing, obfuscationAnti reversing techniques
SkillBuild production Apache Airflow DAGs with best practicesApache Airflow DAG Patterns