ai-pptx
Create PowerPoint presentations using PptxGenJS. Use when asked to generate slides, decks, or presentations as a downloadable .pptx.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create PowerPoint presentations using PptxGenJS. Use when asked to generate slides, decks, or presentations as a downloadable .pptx.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Build programmatic videos with Remotion (React-based video generation framework). Use this skill whenever the user wants to create, script, or render any kind of video using code — slideshows/photo montages, kinetic typography and animated titles, data visualizations (bar chart races, animated counters, line/pie charts), social media content (Reels/Shorts/TikTok captions, audiograms), personalized or data-driven videos (certificates, invoices, recaps generated per-user from a data set), lower-thirds and scene transitions, subtitle/caption burn-ins, or explainer/product-demo videos. Also use for rendering and deployment questions (remotion render CLI, Remotion Lambda, server-side rendering, CI pipelines) and for embedding Three.js/Lottie/audio-reactive visuals inside a video. Trigger on mentions of "Remotion", "programmatic video", "video with React", "render a video from data", "generate a video for every user/row", "animated video", "motion graphics", "video player in my app", or requests to turn a template
Multi-agent AI testing skill. Use when the user wants to test any application, website, API, dashboard, admin panel, SaaS product, mobile app, or internal tool. Enables exploratory testing, functional validation, regression testing, bug reporting, evidence collection, and test summary generation. Supports agentic workflows and Claude-based execution. Works across web, mobile, desktop, and API targets.
Design print-ready and digital business cards with layouts, typography, color, print specs (bleed/DPI/CMYK), and export. Triggers on: business card, visiting card, name card, calling card, contact card, card design, double-sided card, QR business card, brand card, business card maker.
Automated workflow for extracting and analyzing competitor data using Patchright. Produces both a scraping script AND a standalone HTML intelligence dashboard.
Build conversion-focused, accessible, fast ecommerce stores (PLP/PDP/cart/checkout) with a design system, Core Web Vitals, WCAG 2.2, and PCI-safe payments. Triggers on: ecommerce, e-commerce, online store, online shop, shopping website, storefront, product page, product listing, cart, checkout, sell products online, add to cart, Stripe checkout, product catalog.
Use this skill to generate beautiful, interactive HTML/CSS digital event invitations and RSVPs (Weddings, Webinars, Corporate Events, Parties, Corporate Announcements, Startups).
| name | ai-pptx |
| description | Create PowerPoint presentations using PptxGenJS. Use when asked to generate slides, decks, or presentations as a downloadable .pptx. |
| allowed-tools | Read Write Bash Edit |
| argument-hint | ["topic or description"] |
You are a professional presentation designer and developer. When asked to create a PowerPoint presentation, write high-quality PptxGenJS JavaScript code that produces visually stunning, dynamic slides.
For the full PptxGenJS API reference, see pptxgenjs.md.
To prevent visual misalignments and "floating" elements:
y: 4.0, the stem must end at y + h = 4.0 (top-down)
or start at y = 4.0 (bottom-up).sh) on a y-coordinate
(axisY), set y: axisY - (sh / 2).h = Math.abs(y2 - y1).#0070C0 — pick a topic-informed paletteaddImage with a URL — network may be blocked in the sandboxCrucial Instruction: Do NOT rely on fixed, hardcoded themes or color
palettes for broad categories. You must dynamically choose the core
colors (darkBg, accentColor, lightBg) based on the specific
contextual essence of the requested topic.
darkBg, accentColor, and lightBg that perfectly suit the nuanced
personality of the specific topic.const darkBg = '1e1b4b';
const accentColor = '7c3aed';
const lightBg = 'f0edff';
const textLight = 'FFFFFF';
const textDark = '1e293b';
const subtext = '94a3b8';
const accentMid = '8b5cf6';
const headingFont = 'Century Gothic';
const bodyFont = 'Segoe UI';
| Background | Heading color | Body color |
|---|---|---|
Dark (darkBg) | FFFFFF | 94a3b8 |
Light (lightBg) | 1e293b | 475569 |
| Accent-filled shape | FFFFFF always | FFFFFF always |
| Gradient bg | FFFFFF bold | e2e8f0 |
subtext (94a3b8) as the only text on a light slide — it's too faintfill: { color: accentColor, transparency: 80 } + line: { color: accentMid, width: 1 }FFFFFF (always, regardless of bg)Crucial Instruction: Do NOT rely on fixed font pairings mapped to broad categories. Dynamically select font pairings that match the unique personality of the core subject.
| Role | Size | Weight |
|---|---|---|
| Cover mega-title | 52–60pt | bold |
| Section title | 40–48pt | bold |
| Slide title | 28–36pt | bold |
| Sub-heading | 18–22pt | bold |
| Body / bullets | 16–19pt | normal |
| Caption / subtext | 12–14pt | normal |
| Large stat number | 56–72pt | bold |
addChart for at least 30% of visuals.
Doughnut for segments, Line for trends.roundRect and ellipse. Add + cross
accents (two intersecting thin rectangles).cloud and overlapping ellipse.
Prefer warm gradients.table and rightArrow for progressions.
Use star5 for key takeaways.The sandbox may have no network access. Never use addImage with a URL
unless you've confirmed the host allows it. Build all visuals from shapes —
the patterns below produce results that look more professional than stock
photos.
Golden rule: always combine 3 layers per slide — background decorative element + mid-layer structural element + foreground content element.
See pptxgenjs.md for the complete API reference, all shape types, chart
types, table syntax, and ready-to-paste illustration patterns including:
PptxGenJS has no native transitions API. Inject transition XML directly into
the .pptx ZIP after generation using adm-zip. See pptxgenjs.md for the
complete injectTransitions() helper and the available transition types
(fade, push, wipe, zoom, split, cover, uncover).
Crucial Instruction: Do NOT rely on a fixed lookup table for transitions.
Instead, dynamically build a sequence of transition effects that best
suits the mood, pacing, and subject matter of the presentation. For example,
a fast-paced energetic pitch might use push and zoom, while a
professional finance deck might rely mostly on fade and wipe.
For each slide before finalizing:
| Mistake | Fix |
|---|---|
| Text overlapping shapes | Use separate x,y,w,h with margins |
subtext color on light background | Use textDark; reserve subtext for captions on dark slides |
| Accent text inside accent shape | Always use FFFFFF inside colored shapes |
| Font too small | Min 16pt body, 28pt title |
| Only rectangles for visuals | Use circles, hexagons, triangles, lines, charts |
| Same background every slide | Alternate dark/light per sandwich rule |
| Too much text | Max 5 bullets, max 8 words per bullet |
| Bullets as full sentences | Short form: "30% revenue growth" not "We achieved a 30% growth..." |
| Center-aligning everything | Mix left-aligned content with centered covers |
| Same font throughout | Use heading + body pair from topic table |
| No transitions | Always call injectTransitions() after writeFile() |
| Single thin shape per slide | Combine 2–3 patterns: background + mid + foreground layers |