pptx-slide-specification
Helps your agent create or fix specifications for PowerPoint presentations. It's useful for defining the exact layout of each slide.
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.
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.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
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.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add wshobson/agents --skill pptx-slide-specificationOr download just the file:
curl -L https://raw.githubusercontent.com/wshobson/agents/main/plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.md -o SKILL.mdTechnical 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
- #4919
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
screen-reader-testing
Has your agent test websites using screen readers to ensure they are accessible.
wshobson/agents
wcag-audit-patterns
Helps your agent audit websites for accessibility and fix issues according to WCAG guidelines.
wshobson/agents
multi-reviewer-patterns
Enables your agent to coordinate parallel code reviews, deduplicating findings and consolidating reports.
wshobson/agents
parallel-debugging
Allows the agent to debug complex issues with parallel investigations and root cause analysis.
wshobson/agents
Similar skills
intent-driven-development
Helps your agent turn ideas into clear, testable plans. Defines criteria to ensure changes are made correctly and safely.
affaan-m/ECC
product-capability
Guides your agent in turning product ideas into clear plans. It defines what needs to be done, the limits, and decisions before development.
affaan-m/ECC
article-writing
Writes long-form content like articles, guides, and blog posts with a unique style. It's useful when you need well-written texts with a consistent voice and credibility.
affaan-m/ECC