Skip to content
Skillpedia
Writing41k · #4919

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

https://github.com/wshobson/agents/blob/main/plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/wshobson/agents/blob/main/plugins/pptx-deck-creation/skills/pptx-slide-specification/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
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-specification

Or 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.md
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 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.

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills