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.

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use minimax-pdf, minimax-xlsx 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.
  • xiaolinVVSkill

    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 10 projects that use this

  • xiaolinVVSkill

    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

  • dycnnnbSkill

    digital-avatar-shopping-video

    小省导购员多智能体数字人口播带货视频生成系统,以"小省导购员"为核心人设,打造专业购物助手+数字人口播带货视频一体化服务。涵盖五大智能体(小省导购员、带货脚本师、数字人口播生成师、带货画面设计师、音画合成师),产出"数字人口播+带货画面+字幕音效"的成品视频,适配抖音、快手等短视频平台,支持淘宝、京东、拼多多、唯品会等全平台商品信息,具备知识库自动存取能力。

    Also in 3 projects that use this

  • dycnnnbSkill

    pet-commerce-creator

    萌宠带货短视频全流程创作技能,基于COZE视频大模型API,支持萌宠剧情/好物测评/品种科普/宠品带货等全类型创作,覆盖爆款解析反推、知识库联动、互动优化、素材批量下载、全素材整合,实现从创意到带货引流型成品视频的自动化生成,适配15-30秒竖屏9:16主流平台规格。

    Also in 3 projects that use this

  • MiniMax-AISkill

    shader-dev

    Comprehensive GLSL shader techniques for creating stunning visual effects — ray marching, SDF modeling, fluid simulation, particle systems, procedural generation, lighting, post-processing, and more.

    Also in 3 projects that use this

  • yangmourSkill

    fullstack-dev

    Also in 3 projects that use this

  • +1 more from xiaolinVV
  • +4 more from dycnnnb

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 15 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 15 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.