agentleFS
epiphany-dynamicsepiphany-dynamics/claude-skills-portfolio/pptx-generator/SKILL.md

pptx-generator

Skill1 starsChanged 3 months agoMITView on GitHub

Generate brand-compliant PowerPoint presentations from raw text or markdown input. Enforces corporate fonts, colors, and layouts defined in a JSON brand config. Uses python-pptx to produce .pptx files. Supports custom templates. Use when asked to create a presentation, slide deck, or .pptx file from text content.

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use react-native-dev, minimax-pdf and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MiniMax-AISkill

    react-native-dev

    React Native and Expo development guide covering components, styling, animations, navigation, state management, forms, networking, performance optimization, testing, native capabilities, and engineering (project structure, deployment, SDK upgrades, CI/CD). Use when: building React Native or Expo apps, implementing animations or native UI, managing state, fetching data, writing tests, optimizing performance, deploying to App Store/Play Store, setting up CI/CD, upgrading Expo SDK, or configuring Tailwind/NativeWind.

    Also in 4 projects that use this

  • HK-hubSkill

    minimax-pdf

    Use this skill when visual quality and design identity matter for a PDF. CREATE (generate from scratch): "make a PDF", "generate a report", "write a proposal", "create a resume", "beautiful PDF", "professional document", "cover page", "polished PDF", "client-ready document". FILL (complete form fields): "fill in the form", "fill out this PDF", "complete the form fields", "write values into PDF", "what fields does this PDF have". REFORMAT (apply design to an existing doc): "reformat this document", "apply our style", "convert this Markdown/text to PDF", "make this doc look good", "re-style this PDF". This skill uses a token-based design system: color, typography, and spacing are derived from the document type and flow through every page. The output is print-ready. Prefer this skill when appearance matters, not just when any PDF output is needed.

    Also in 11 projects that use this

  • MiniMax-AISkill

    ios-application-dev

    iOS application development guide covering UIKit, SnapKit, and SwiftUI. Includes touch targets, safe areas, navigation patterns, Dynamic Type, Dark Mode, accessibility, collection views, common UI components, and SwiftUI design guidelines. For detailed references on specific topics, see the reference files. Use when: developing iOS apps, implementing UI, reviewing iOS code, working with UIKit/SnapKit/SwiftUI layouts, building iPhone interfaces, Swift mobile development, Apple HIG compliance, iOS accessibility implementation.

    Also in 4 projects that use this

  • HK-hubSkill

    minimax-xlsx

    Open, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, read, validate, or format any Excel spreadsheet, financial model, pivot table, or tabular data file. Covers: creating new xlsx from scratch, reading and analyzing existing files, editing existing xlsx with zero format loss, formula recalculation and validation, and applying professional financial formatting standards. Triggers on 'spreadsheet', 'Excel', '.xlsx', '.csv', 'pivot table', 'financial model', 'formula', or any request to produce tabular data in Excel format.

    Also in 8 projects that use this

  • yangmourSkill

    fullstack-dev

    Also in 5 projects that use this

  • GitHubSkill

    excalidraw-diagram-generator

    Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.

    Also in 3 projects that use this

  • +2 more from HK-hub
  • +3 more from MiniMax-AI

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 20 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a client provides their .pptx template, extract the brand system:

    line 42
  2. Distinctive:

    Create a JSON config that maps the extracted values:

    line 67
  3. Distinctive:

    Add new layout types (two-column, image+text, data table)

    line 113
  4. Distinctive:

    Add chart generation via python-pptx chart API

    line 114
  5. Distinctive:

    Add image insertion with auto-sizing

    line 115
  6. Distinctive:

    Add speaker notes from content annotations

    line 116

“Common” is measured: kept by at least 6 in 10 of the 20 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 Generator — Branded Presentation Skill

Generate .pptx presentations that enforce corporate brand standards from raw text input.

How it works

  1. Brand config (assets/sample_brand_config.json) defines fonts, colors, and layout mappings
  2. Markdown input uses # for title slides and ## for content slides, with - for bullets
  3. The script (scripts/generate_pptx.py) parses the input, applies brand rules, and outputs a .pptx

Quick start

python scripts/generate_pptx.py \
  --config assets/sample_brand_config.json \
  --input assets/sample_content.md \
  --output presentation.pptx

To use a client's existing .pptx template as the base (preserves their master slides):

python scripts/generate_pptx.py \
  --config brand_config.json \
  --input content.md \
  --output presentation.pptx \
  --template client_template.pptx

Workflow for new clients

Step 1: Analyze the template

When a client provides their .pptx template, extract the brand system:

from pptx import Presentation
from pptx.util import Pt

prs = Presentation("client_template.pptx")

# Extract master slide layouts
for i, layout in enumerate(prs.slide_layouts):
    print(f"Layout {i}: {layout.name}")
    for ph in layout.placeholders:
        print(f"  Placeholder {ph.placeholder_format.idx}: {ph.name} ({ph.width}, {ph.height})")

# Extract theme colors and fonts from the first slide
slide = prs.slides[0] if prs.slides else None
if slide:
    for shape in slide.shapes:
        if shape.has_text_frame:
            for para in shape.text_frame.paragraphs:
                for run in para.runs:
                    print(f"Font: {run.font.name}, Size: {run.font.size}, Bold: {run.font.bold}")

Step 2: Build the brand config

Create a JSON config that maps the extracted values:

{
  "company": "Client Name",
  "fonts": {
    "heading": { "name": "Their Font", "size": 36, "bold": true, "color": "#HEX" },
    "body": { "name": "Their Font", "size": 18, "bold": false, "color": "#HEX" }
  },
  "colors": {
    "primary_bg": "#HEX",
    "accent": "#HEX"
  }
}

Step 3: Generate presentations

Once the config exists, any text input produces brand-compliant slides via the slash command.

Input format

# Presentation Title
Optional subtitle text

## Slide title
- Bullet point one
- Bullet point two

## Another slide
Body paragraph text instead of bullets.
  • # creates a title slide (layout 0)
  • ## creates a content slide (layout 1)
  • - or * creates bullet points
  • Plain text after ## becomes body content
  • First line after # becomes the subtitle

Brand config reference

See references/brand-config-spec.md for the full configuration schema.

Extending

The script is designed to be extended per client:

  • Add new layout types (two-column, image+text, data table)
  • Add chart generation via python-pptx chart API
  • Add image insertion with auto-sizing
  • Add speaker notes from content annotations

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.