pptx-slide-specification
What it does
This tool helps create or fix presentation files (PPTX) by precisely defining where each element (text, image, etc.) should be on the page. You specify positions and sizes in inches, ensuring everything looks exactly as you intend.
When to use it
- ✓When you want complete control over the design of each slide.
- ✓If you need to ensure the presentation has a consistent and precise look.
- ✓When fixing positioning issues in existing presentations.
Skill link
https://github.com/wshobson/agents/blob/main/plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Create a JSON specification for a presentation slide with a title 'My Title', a text paragraph, and an image, positioning everything precisely.”
5 new skills a week. 1 minute to read.
How it works
You provide a JSON file that describes each slide, including its size, elements (like text and images), their exact positions in inches, and their styles. The tool uses this description to build the final PPTX file.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
FAQ
What is a 'layout_tree'?
It's the structure that describes how all elements are organized and positioned on a slide, like a component tree.
Why use inches for size?
Using inches ensures dimensions are exact and don't change depending on the screen or software opening the presentation.
What does 'no renderer may decide placement' mean?
It means the tool doesn't guess or auto-adjust the layout; you tell it exactly what to do.
Details
Original description by the author
Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck.
repo: wshobson/agents
Popularity
- GitHub stars
- 41k
- Ranking position
- #6752
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
screen-reader-testing
41kHas your agent test websites using screen readers to ensure they are accessible.
wcag-audit-patterns
41kHelps your agent audit websites for accessibility and fix issues according to WCAG guidelines.
multi-reviewer-patterns
41kEnables your agent to coordinate parallel code reviews, deduplicating findings and consolidating reports.
parallel-debugging
41kAllows the agent to debug complex issues with parallel investigations and root cause analysis.
Similar skills
feishu-doc
394kHelps your agent read, create, and edit Feishu cloud documents, including text, images, and tables, using the document tool.
feishu-drive
394kLets your agent browse, organize, and comment on files in a Feishu cloud folder that has been shared with the bot.
feishu-perm
394kHelps your agent check and change who can access a Feishu file, choosing the smallest permission that meets your request.