Nov 18, 2026
Get Client-Ready, Editable PPT Decks With a Two-Gate Visual Review
PPT Design Skill pairs the pptx-designer Python library with a designer workflow — brief confirmation, locked visual direction, and a two-gate PNG review that records PASS, NEEDS_REVISION, or BLOCKED — so delivery decks are checked before they reach your audience.
A generation script that runs without errors can still ship a deck with weak heading hierarchy, cramped pages, and cropped images. PPT Design Skill — a 1k-star repository from sunchaokun — treats visual acceptance as part of delivery: the actual PPTX is produced by the published pptx-designer Python library, and the skill wraps it in a designer workflow that reads the exported PNGs and sends failing pages back for rework before you deliver.
Why This Skill Matters
The README's core argument is that technical success is not design completion. The workflow moves through fixed stages: confirm the brief, judge the domain and page structure, propose a visual direction and get your confirmation, lock design tokens and page anchors, generate the editable PPTX with pptx-designer, export PPTX to PDF to PNG, then pass two gates before delivery:
- Gate 1 checks the overall visual effect and client-ready finish.
- Gate 2 checks serious defects, requirements, and editability.
Before generation, the agent turns your requirements into a trackable acceptance contract; after the PNGs exist, it checks each requirement against page evidence and records PASS, NEEDS_REVISION, or BLOCKED. Only after both gates and any needed rework does the deck reach user confirmation.
The README documents three modes:
| Mode | Best for | Layout control | Speed |
|---|---|---|---|
| Build Mode | Client delivery, proposals, strategy, roadshows, editorial, formal decks | Highest: page-by-page, element-by-element | Medium |
| FreeStyle Mode | Fast exploration, direction drafts, lightweight decks with known content | Medium: orchestrated by generate_ppt() | Fastest |
| VI Build Mode | Decks bound to enterprise templates, masters, or brand systems | Template-constrained | Medium |
For delivery-grade work the README recommends Build Mode as the default, and it states that generate_ppt(query=...) and generate_ppt(content=...) are two input forms of the same FreeStyle mode, not two engines — whichever mode you use, formal delivery goes through the PNG visual check.
Installation
Clone the repository and run the installer from its root. The installer installs the published pptx-designer Python package and copies the skill bundle to your coding assistant:
# Clone the skill repository
git clone https://github.com/sunchaokun/PPT-Design-Skill.git
cd PPT-Design-Skill
python installer/install.py --platform opencode --force
python skill/scripts/check_runtime.py
--platform accepts claude, codex, opencode, deepseek-harness, or all; the English README lists the supported assistants, including Cursor, Windsurf, Gemini CLI, and GitHub Copilot. One trap the zh README calls out: the install.py at the repository root only installs the Python runtime package — it does not register the skill with your coding tools. Use installer/install.py.
PPTX generation itself only needs the pptx-designer package. LibreOffice enters the picture as the rendering fallback for quality checks: when Microsoft PowerPoint COM is unavailable, soffice converts the PPTX to PDF and Poppler's pdftoppm turns the PDF into PNGs for review. Run python skill/scripts/check_runtime.py to verify the environment; the installer checks PATH, default Windows install folders, and the registry, and it never installs desktop software silently — pass --render-deps only when you explicitly want winget to install LibreOffice and Poppler.
Real Workflow: A Delivery Deck Through Build Mode
-
Confirm the brief with the agent: audience, occasion, and the action you want the deck to trigger.
-
Have the agent write the deck as reviewable Python. The README's Build Mode example:
from pptx_designer import Presentation
from pptx_designer.renderer.theme import ThemeComposer
from pptx_designer.tools.cards import kpi_card
from pptx_designer.tools.layout import page_header
from pptx_designer.tools.shapes import rect
theme = ThemeComposer().compose(style="professional", seed=17)
prs = Presentation(theme=theme, strict_theme=True)
slide = prs.slides.add_slide(prs.slide_layouts[6])
page_header(slide, "Q4 Revenue Report", "Financial Summary")
kpi_card(slide, 1.0, 2.0, 3.5, 1.5, "$12.8M", "Revenue", "+23%")
rect(slide, 0.5, 6.8, 12.3, 0.08, fill="primary")
prs.save("output/report.pptx")
The README's Build Mode rules: all coordinates are in inches, use the pptx_designer public API, prefer native text, shapes, charts, and diagrams, keep image proportions with cover_image(), centralize colors in design tokens or a C dictionary, avoid the legacy ppt_pro_max and private modules — and after generation, run, re-open, export, and visually check the result.
-
Export and review. The PPTX goes to PDF and then PNG, and the agent reads the exported images directly, judging composition, hierarchy, text readability, image cropping, rhythm between pages, fit to your requirements, and editability. Problems found here go back to the Python source or the content, then re-render and check again.
-
Deliver against the README's checklist: the
.pptxfile, the rebuildable Python source or structured content, a.pdfpreview, per-page PNGs or a contact sheet, the structural check results, the PNG visual check results, and your final confirmation.
For fast exploration, FreeStyle skips the page-by-page construction:
from pptx_designer import generate_ppt
from pptx_designer.renderer.theme import ThemeComposer
theme = ThemeComposer().compose(style="dark-tech", seed=17)
result = generate_ppt(
"AI startup investor pitch",
theme=theme,
output="output/pitch.pptx",
)
When page goals and copy are already decided, pass the structured content dictionary instead of a query — the README describes it as giving the agent more explicit control over page goals and copy. One constraint from the README: the theme argument must be a complete resolved theme from ThemeComposer.compose(), and once you pass it, do not also pass style, palette, fonts, decoration, layout, mood, or style_seed.
Tips
- When you are unsure which mode to pick, the README's recommendation is Build Mode; reach for FreeStyle only when speed matters more than exact composition, and VI Build only when an existing template must stay the visual source of truth.
- Three quantities shape a design — variance, motion, and density — and the README maps low to high values for each; research, academic, and medical decks usually want less decoration and motion even on a tech theme.
- The README's gallery table lists six downloadable example decks, including an AI Agent Operating System blueprint and a Louvre Abu Dhabi case study; each opens in the project's online viewer.
- VI Build Mode cannot promise pixel-perfect replication of every PowerPoint master, SmartArt, animation, or OOXML behavior — the README scopes that boundary in its template-brand reference.
When Not to Use This
- If you want a one-shot generator with no review loop, this skill's quality process will feel heavy — FreeStyle is the fast path, but the README still sends every formal delivery through the PNG check.
- Enterprise template work has documented limits: complex masters, SmartArt, animations, and private OOXML behavior may get a controlled approximation, not a pixel-perfect copy.
- The README's own forbidden list draws hard lines your prompts should respect: do not generate a full delivery deck before requirements and page structure exist, do not bake whole pages into screenshots in place of editable objects, do not fabricate precise metrics, client cases, or citations, and never deliver after confirming only that the Python and PPTX files succeeded without viewing the PNGs.
See the leaderboard for more skills.