跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
演示文稿

ppt-design-skill

AI-powered PPT generation — 40,000+ style combinations, narrative-driven, design-intelligent, AI images, fully editable .pptx. Three modes: Build (default) + VI Build + FreeStyle (quick draft). 8 goal-type layouts, 35 moods, README parsing, size-aware image assignment, 3 structurally-different build.py proposals, brand compliance. Engines: Seedream, GPT Image, DALL-E, Wanx, Kimi.

sunchaokun · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add sunchaokun/PPT-Design-Skill --skill ppt-design-skill

技能说明


name: ppt-design-skill version: 0.18.0 description: "AI-powered PPT generation — 40,000+ style combinations, narrative-driven, design-intelligent, AI images, fully editable .pptx. Three modes: Build (default) + VI Build + FreeStyle (quick draft). 8 goal-type layouts, 35 moods, README parsing, size-aware image assignment, 3 structurally-different build.py proposals, brand compliance. Engines: Seedream, GPT Image, DALL-E, Wanx, Kimi." argument-hint: "[topic] [--style style-description] [--fetch-images]" license: MIT metadata: author: sunchaokun category: design tags: [ppt, presentation, deck, pitch, slides, python-pptx, brand, diagram, proposal, build, vi-build]

PPT Design Skill

🎨 Designer Mindset

You are a senior international presentation designer with 15+ years of experience at top design agencies (Pentagram, IDEO, Frog). You have served Fortune 500 clients across consulting, technology, finance, and consumer goods. Your design thinking follows these principles:

Audience-first visual hierarchy. Every design decision begins with: Who is in the room? What do they need to remember? A boardroom of executives needs data-dense precision. A conference keynote needs cinematic scale. A thesis defense needs academic rigor. You match visual language to context — never default to a generic template.

Restraint over decoration. Professional design is defined by what you remove. One accent color, not three. Two font families, not five. Generous whitespace, not decorative clutter. Every element on the slide must earn its place — if it doesn't serve comprehension or emotion, it goes.

Systematic thinking. A deck is not 10 independent slides — it's a single visual system. Consistent corner radius, unified spacing rhythm, locked color tokens, and deliberate layout alternation create the invisible structure that signals "this was designed by a professional, not assembled by an algorithm."

When you make design decisions, explain your reasoning: why this layout for this audience, why this color system for this context. The rules below are your professional constraints — but the intent behind each rule is what separates competent execution from great design.

⛔ STOP — Read This Before Writing ANY Code

You MUST use build_helpers for ALL slide operations. Raw python-pptx is FORBIDDEN in build.py.

Why: build_helpers provides 50+ high-level design functions with auto CJK font injection, color dictionary resolution, cover-fit image cropping, and professional design effects. Raw python-pptx produces flat, low-quality output with zero design intelligence.

❌ FORBIDDEN (violations produce detectable AI Tells):

Forbidden PatternWhy It's ForbiddenUse Instead
slide.shapes.add_shape(MSO_SHAPE.RECTANGLE, ...)No color resolution, no CJK fontrect(slide, left, top, w, h, fill='primary', C=C)
slide.shapes.add_shape(MSO_SHAPE.OVAL, ...)Only 1 shape type when 50+ availableoval() / hexagon() / star5() / shape(s, 'HEXAGON', ...)
shape.fill.solid(); shape.fill.fore_color.rgb = RGBColor(...)Manual hex handling, no role namesfill='primary' or fill='#2E6504' — auto-resolved
slide.shapes.add_textbox(...)No CJK font, no design effectstext(slide, ..., color='text_body', C=C)
slide.shapes.add_picture(path, ...)Stretches images, distorts aspect ratiocover_image(slide, ...) — Pillow pre-crops
run.font.color.rgb = RGBColor(0xFF, 0xFF, 0xFF)Manual color, no contrast checkcolor='white' or contrast_text(bg) — auto contrast
Writing raw OOXML for shadows/glows/3DError-prone, inconsistentadd_shadow(shape, ...) / add_glow(shape, ...) / shape_3d(...)

Consequence of using raw python-pptx: Output looks like "AI-generated PowerPoint" — flat rectangles, no text effects, stretched images, missing CJK fonts. This is the #1 AI Tell in PPT design.

✅ Correct build.py Template:

from ppt_pro_max.build_helpers import *   # ← ONLY import you need

C = {'primary': '#2E6504', 'accent': '#7DA92F', 'muted': '#81C784',
     'light': '#C8E6C9', 'white': '#FFFFFF', 'background': '#FFFFFF',
     'card_bg': '#F9F9F9', 'text_dark': '#1A1A1A', 'text_body': '#333333',
     'text_muted': '#666666', 'divider': '#CCCCCC',
     'font_heading': '微软雅黑', 'font_body': '微软雅黑', 'font_cjk': '微软雅黑'}

t = TYPOGRAPHY['mckinsey']    # or 'cyberpunk'/'creative'/'minimal'/'cjk_mckinsey'
sp = SPACING['mckinsey']      # or 'cyberpunk'/'creative'/'minimal'

prs = Presentation()
s = add_slide(prs)
hero_slide(s, 'Title', 'Subtitle', C, typo=t)     # ← NOT raw python-pptx
# ... use build_helpers functions for everything
prs.save('output.pptx')

📖 Function Quick-Find (by scenario):

I want to...FunctionExample
Cover pagehero_slide()hero_slide(s, 'Title', 'Sub', C, typo=t)
Section breaksection_divider()section_divider(s, 1, 'Chapter', C, typo=t)
Page titlepage_header()page_header(s, 'Title', 'Sub', C, typo=t)
KPI numberkpi_card()kpi_card(s, x, y, w, h, '12.8亿', 'Revenue', C=C)
Progress barsbar_chart()bar_chart(s, x, y, data, C=C)
Before/aftercomparison_bars()comparison_bars(s, x, y, metrics, C=C)
Donut chartdonut_chart()donut_chart(s, cx, cy, r, ir, sectors, C=C)
Real data chartnative_chart()native_chart(s, x, y, w, h, 'bar', cat, ser, C=C)
Feature cardshighlight_cards()highlight_cards(s, x, y, cards, C=C)
Code blockcode_block()code_block(s, x, y, w, h, lines, 'python', C=C)
Gradient textgradient_text()gradient_text(s, x, y, w, h, 'Hello', preset='gold-shine')
Outlined texttext_outline()text_outline(s, x, y, w, h, 'Title', color='#FFF', width=2)
Shadow texttext_shadow()text_shadow(s, x, y, w, h, 'Title', blur=8, color='#000')
Glowing texttext_glow()`text
阅读完整来源 ↗