agentleFS
tristan-mcinnistristan-mcinnis/pptx-from-layouts-skill/SKILL.md

SKILL.md

Skill36 starsChanged 6 months agoMITView on GitHub

Generate consultant-quality PowerPoint presentations from markdown outlines using your template's actual slide master layouts. Most PowerPoint generation approaches overlay text on template slides, fighting with backgrounds and decorative elements. This skill properly uses slide master layouts, placing content in actual placeholders to preserve professional design. Then install dependencies: Write markdown with visual type declarations: Selection order: sequence → comparison → parallel items → data contrast → quote → table → hero → bullets

  • Installs packages

200 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 119 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write markdown with visual type declarations:

    line 51
  2. Distinctive:

    DON'T use edit mode for layout changes (regenerate instead)

    line 133
  3. Distinctive:

    DON'T skip visual type decisions (bullets are boring)

    line 134
  4. Distinctive:

    DON'T edit > 30% of slides (regenerate instead)

    line 135
  5. Very specific:

    DON'T use hero-statement for content with 3+ items

    line 136
  6. Distinctive:

    DON'T use tables for methodology/process flows

    line 137
  7. Distinctive:

    DON'T use bullet lists for side-by-side comparisons

    line 138

“Common” is measured: kept by at least 6 in 10 of the 119 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

PPTX from Layouts

Generate consultant-quality PowerPoint presentations from markdown outlines using your template's actual slide master layouts.

Overview

Most PowerPoint generation approaches overlay text on template slides, fighting with backgrounds and decorative elements. This skill properly uses slide master layouts, placing content in actual placeholders to preserve professional design.

Installation

npx skills add <owner>/pptx-from-layouts-skill

Then install dependencies:

pip install python-pptx

Core Commands

Generate Presentation

python .claude/skills/pptx-from-layouts/scripts/generate.py outline.md -o presentation.pptx

Profile Custom Template

python .claude/skills/pptx-from-layouts/scripts/profile.py your-template.pptx --generate-config

Edit Existing Deck

# View content inventory
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --inventory

# Replace text
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --replace '{"slide":3,"old":"2025","new":"2026"}'

# Reorder slides
python .claude/skills/pptx-from-layouts/scripts/edit.py deck.pptx --reorder "0,2,1,3,4" -o reordered.pptx

Validate Output

python .claude/skills/pptx-from-layouts/scripts/validate.py deck.pptx

Outline Format

Write markdown with visual type declarations:

# Project Overview
**Visual: hero-statement**
Transforming operations through digital innovation

---

# Our Approach
**Visual: process-3-phase**

[Column 1: Discover]
- Stakeholder interviews
- Competitive audit

[Column 2: Define]
- Workshop facilitation
- Strategic framework

[Column 3: Deliver]
- Implementation
- Training & handover

---

# Investment Summary
**Visual: table**

| Category | Investment |
|----------|------------|
| Research | $50,000 |
| Design | $75,000 |
| **Total** | **$125,000** |

Visual Types

TypeUse When
hero-statementSingle punchy tagline
process-N-phaseSequential steps (N=2-5)
comparison-NSide-by-side options
cards-NDiscrete parallel items
data-contrastTwo opposing metrics
quote-heroPowerful quote
timeline-horizontalDate-based sequences
tableGenuinely tabular data
bulletsDefault for 3+ items

Selection order: sequence → comparison → parallel items → data contrast → quote → table → hero → bullets

Typography Markers

Inline Formatting

MarkerResult
{blue}text{/blue}Brand accent color
{bold}text{/bold}Bold
{italic}text{/italic}Italic
{question}text?{/question}Emphasized question

Paragraph Formatting

MarkerResult
{bullet:-}Dash bullet
{bullet:1}Numbered
{level:N}Indent level

Decision Guide

Change TypeAction
New presentationgenerate.py
Typos/values (< 30% slides)edit.py
Reorder slidesedit.py --reorder
Layout changesRegenerate
Add/remove slidesRegenerate
> 30% slide changesRegenerate

Anti-Patterns

  • DON'T use edit mode for layout changes (regenerate instead)
  • DON'T skip visual type decisions (bullets are boring)
  • DON'T edit > 30% of slides (regenerate instead)
  • DON'T use hero-statement for content with 3+ items
  • DON'T use tables for methodology/process flows
  • DON'T use bullet lists for side-by-side comparisons

Requirements

  • Python 3.10+
  • python-pptx library

File Structure

.claude/skills/pptx-from-layouts/
  scripts/
    generate.py      # Outline → PPTX generation
    edit.py          # Surgical edits to existing decks
    validate.py      # Quality validation
    profile.py       # Template profiling
  references/
    layouts.md       # Template layout indices
  rules/
    visual-types.md  # Visual type selection guide
    typography.md    # Text formatting reference
    outline-format.md # Markdown syntax
  lib/               # Core library modules
  schemas/           # Pydantic schemas
templates/
  inner-chapter.pptx # Default template

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.