All skills
wshobson avatar

/pptx-slide-specification

@73d2f99
by Seth Hobsonwshobson/agents40k stars
4,281

Use when authoring or repairing a coordinate-explicit JSON specification for an editable PPTX deck.

Use this Skill: https://skilld.dev/gh/wshobson/agents/pptx-slide-specification

This session only. Nothing lands on disk.

referenceslayout-contract.md

≈371 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Layout Contract

A generated deck uses a JSON root with summary and slides. The final tree is an audit contract, not a rendering hint.

{
  "summary": {
    "layout_policy": {
      "safe_margin": 0.5,
      "content_bottom": 6.7,
      "footer_top": 6.85,
      "minimum_gap": 0.12
    },
    "accessibility": {
      "language": "en-US",
      "presentation_title": "Quarterly operating review"
    }
  },
  "slides": [{
    "id": "s01_overview",
    "title": "Operating margin improves after the cost reset",
    "accessibility": { "reading_order": ["title"] },
    "layout_tree": {
      "slide_size": { "width": 13.333, "height": 7.5 },
      "root_group_id": "root",
      "groups": { "root": { "id": "root", "role": "slide", "layout_mode": "absolute", "object_ids": ["title"], "group_ids": [], "bbox": { "x": 0, "y": 0, "width": 13.333, "height": 7.5 } } },
      "objects": { "title": { "id": "title", "kind": "text", "role": "title", "classification": "content", "content": { "text": "Operating margin improves after the cost reset" }, "style": { "font_size": 30, "color": "#111827" }, "bbox": { "x": 0.75, "y": 0.55, "width": 10.8, "height": 0.65 }, "z_index": 2 } }
    }
  }]
}

Repair order

  1. Move or resize bboxes, change z-order, or split a dense slide.
  2. Shorten copy or enlarge the available text bbox.
  3. Change type size only as a last resort; content never drops below 9 pt.
  4. Rebuild and compare actual object bounds with the contract.

Source: SKILL.md on GitHub

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides a structured framework and guidelines for defining PowerPoint slide layouts in JSON format. It contains no executable code, network operations, or instructions that could lead to security compromises.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 73d2f99. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 3 months ago

README badge

README badge for wshobson/agents/pptx-slide-specification