pptx-slide-specification – Documents & Office skill for AI agents
Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck.
Install the pptx-slide-specification skill with one command
Pick the tool you use, copy the command and paste it in your terminal. The skill lands in that tool's skills folder and is ready in your next session.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-slide-specification-1fe3b.tgz | tar xz -C ~/.claude/skills
Call it in Claude Code: /pptx-slide-specification – then describe the task you want done.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-slide-specification-1fe3b.tgz | tar xz -C ~/.codex/skills
Call it in Codex: $pptx-slide-specification – then describe the task you want done.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-slide-specification-1fe3b.tgz | tar xz -C ~/.hermes/skills
Call it in Hermes Agent: /pptx-slide-specification – then describe the task you want done.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/pptx-slide-specification-1fe3b.tgz | tar xz -C ~/.deepcode/skills
Call it in DeepSeek: /pptx-slide-specification – then describe the task you want done.
SKILL.md content
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
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.
Related skills
- pptx-visual-assets – Use when selecting and placing approved supporting icons, images, SVGs, diagrams, or…
- merger-model – Build M&A accretion/dilution workbooks in Excel.
- pathml – Supports local computational pathology research with PathML: slide loading and tiling…
- microsoft-office – Create, read, and edit Word, PowerPoint, and Excel files.
- brutalist-typography – Web and App implementation guide for Brutalist Typography. Trigger when user wants huge…
- byagent – Publish agent-written Markdown or HTML as a shareable link with the byagent CLI, then…
- pptx-posters – Creates and audits editable scientific posters in macro-free PowerPoint (.pptx) from…
- calc – Spreadsheet creation, format conversion (ODS/XLSX/CSV), formulas, data automation with…