Skip to main content
skill Claude Code CX Codex Cursor

pptx-slide-specification — Claude skill: JSON PPTX specs

A skill for writing and repairing coordinate-explicit JSON specs of slides, so an editable PPTX deck builds the same way every time.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install pptx-deck-creation@claude-code-workflows
Open on GitHub

What pptx-slide-specification does

The skill defines a contract for the JSON file a deck is built from. The root holds summary and slides; each slide carries a stable id, a message-led title, an accessibility reading order and a full layout_tree. That tree declares slide size, the root group, id-keyed groups and objects, final inch bboxes, styles, z-indexes and classifications.

Authoring rules are blunt. IDs stay readable and stable, dimensions stay positive, normal content sits inside the safe margin and above the footer rail, and only background layout_design objects go full bleed. Text, shapes, lines, tables and images are native objects, so labels and values from a supporting visual get rebuilt by hand. Body text stays at 9 pt or larger — shorten or split dense content instead of shrinking type. Meaningful images get alt text, sourced claims get source_ref.

Building starts from a blank slide layout, maps every bbox with Inches(...), and sets wrapping, disabled auto-size, text insets, anchors, alignment, fonts, colors and image aspect ratio explicitly. Zero or negative geometry is rejected before an object is added. Install it if you generate editable decks from data and keep fixing shifted blocks by hand. For one or two slides, skip it.

What it helps with

  • build an editable PPTX from a JSON slide spec
  • repair broken coordinates in an existing spec
  • set safe margins and a content bottom line
  • turn labels from a visual into native objects
  • audit bboxes and z-index before building the deck

Example prompts for the agent

  • Write a JSON spec for a 6-slide deck, coordinates in inches, content inside the safe margin
  • Audit the layout_tree for zero or negative geometry and fix it
  • Add alt text to meaningful images and source_ref for claims on slides

How to install pptx-slide-specification

1Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install pptx-deck-creation@claude-code-workflows

This installs the whole pptx-deck-creation plugin with all its skills

2Skills CLI (Vercel)

npx skills add wshobson/agents --skill pptx-slide-specification -a claude-code

3Manually: put the files in place

~/.claude/skills/pptx-slide-specification/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/pptx-slide-specification/

From the same set213

The whole set →
typescript-advanced-types Seth Hobson Guides an agent through advanced TypeScript types, from generics to conditional and mapped types. Use it for typed libraries, API clients, or strict configuration objects. Claude Code CX Codex Cursor 92,169installs tailwind-design-system Seth Hobson Helps build design systems with Tailwind CSS v4, from theme tokens to component variants. Use it when a project needs shared UI patterns. Claude Code CX Codex Cursor 70,180installs brand-landingpage Travis D. Elliott This skill interviews you about the product and its visual direction, then builds a landing page through Stitch. Use it when there’s no established design yet. Claude Code CX Codex Cursor 39,476installs python-testing-patterns Seth Hobson This skill guides Python testing with pytest, fixtures and mocks. Use it when building a test suite or tracking down failing checks. Claude Code CX Codex Cursor 36,943installs python-performance-optimization Seth Hobson This skill profiles Python code to locate CPU and memory bottlenecks. Use it when an application responds slowly or consumes too many resources. Claude Code CX Codex Cursor 35,675installs nextjs-app-router-patterns Seth Hobson This skill covers Next.js App Router patterns for rendering, routing, and data fetching. Use it when starting an App Router project or moving from Pages Router. Claude Code CX Codex Cursor 32,529installs api-design-principles Seth Hobson Use this skill to plan or review REST and GraphQL APIs. It helps when writing a specification or setting API conventions for a team. Claude Code CX Codex Cursor 30,348installs code-review-excellence Seth Hobson This skill guides pull request reviews, catches logic and security issues, and helps teams give specific feedback. Use it for review standards or developer mentoring. Claude Code CX Codex Cursor 30,193installs

Similar

office-productivity sickn33 A wrapper skill that walks the agent through seven phases of office work: documents, spreadsheets, slide decks, format conversion. Claude Code CX Codex Cursor +1 1,600installs daily-prep official github Builds an HTML prep file for the next workday from your Outlook calendar, open tasks, and workspace context. Useful before meetings and weekly planning. GitHub Copilot 1,300installs pptx official anthropics This skill helps create, read, and edit .pptx files and .potx templates. Use it when building a deck or extracting slide text. Claude Code Claude.ai 241,433installs pdf official anthropics This skill lets an agent read, create, and edit PDF files, including forms and scanned documents. Use it when PDF work is part of the task. Claude Code Claude.ai 216,041installs docx official anthropics This skill creates, reads, and edits Word documents and templates. Use it for reports, letters, and files that need headings, tables, or page numbers. Claude Code Claude.ai 206,304installs xlsx official anthropics Creates, reads, edits, and converts spreadsheet files. Use it when the requested deliverable is an Excel workbook or another tabular file. Claude Code Claude.ai 187,223installs brand-guidelines official anthropics Applies Anthropic's official brand colors and fonts to documents, slides and other artifacts. Useful whenever something needs to match the company look. Claude Code Claude.ai 109,043installs theme-factory official anthropics Applies preset color palettes and font pairs to slides, documents, and HTML pages. Use it when an artifact needs one consistent visual style. Claude Code Claude.ai 94,921installs

Questions about pptx-slide-specification

How do I install pptx-slide-specification in Claude?

Use the marketplace: /plugin marketplace add wshobson/agents, then /plugin install pptx-deck-creation@claude-code-workflows. Or install the skill directly: npx skills add wshobson/agents --skill pptx-slide-specification -a claude-code.

What does pptx-slide-specification do?

It specifies the JSON contract for a PPTX deck: required slide fields and a layout_tree with final bboxes, styles and z-indexes. A builder then turns that spec into slides.

What do I need for the skill to work?

A JSON file with summary and slides, plus a builder that maps bboxes with Inches(...). The skill expects explicit wrapping, auto-size and inset settings, and rejects zero or negative geometry.

Source text

SKILL.md · MIT
---
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

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.

© kimtth · MIT · wshobson/agents

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor