/pptx-editorial
Generate a native PowerPoint (.pptx) file with magazine-grade editorial styling — pitch decks, investor presentations (路演 PPT), board reviews, executive memos, conference talks, product launches. Output is a single .pptx file generated via pptxgenjs through the JavaScript
$ npx -y skills add xorbitsai/xagent --skill pptx-editorial --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/pptx-editorial
Context preview
The summary Claude sees to decide when to auto-load this skill.
Generate a native PowerPoint (.pptx) file with magazine-grade editorial styling — pitch decks, investor presentations (路演 PPT), board reviews, executive memos, conference talks, product launches. Output is a single .pptx file generated via pptxgenjs through the JavaScript
SKILL.md
pptx-editorial.SKILL.mdname: pptx-editorial
description: |
Generate a native PowerPoint (.pptx) file with magazine-grade editorial
styling — pitch decks, investor presentations (路演 PPT), board reviews,
executive memos, conference talks, product launches. Output is a single
.pptx file generated via pptxgenjs through the JavaScript executor runtime, openable
in PowerPoint / Keynote / Google Slides. Uses five named editorial palettes
(Monocle, Indigo Porcelain, Forest Ink, Kraft Paper, Dune) with strict
typography rules (Georgia display + Calibri body) and 10 numbered layouts
(L01 Cover, L02 Act Divider, L03 Big Numbers, ..., L10 Closing).
Prefer this skill over the builtin presentation-generator whenever the
user wants a polished editorial look, names one of the five palettes,
asks for a "美观 PPT" / "投资人路演 PPT" / "pitch deck", or otherwise
signals that visual quality matters beyond a generic deck.
Use `html-deck-editorial` instead only when the user explicitly wants HTML
output (more visual freedom but not Office-compatible).
when_to_use: |
When the user wants a polished native .pptx deliverable (pitch deck, 路演 PPT,
board review, executive memo) where visual quality matters and the file must
open in PowerPoint / Keynote / Google Slides. Use `html-deck-editorial`
instead when the user explicitly wants HTML output.
tags:
- presentation
- pptx
- powerpoint
- deck
- editorial
Editorial PPTX Deck
You will generate one `.pptx` file by writing a JavaScript program that uses **pptxgenjs** and runs it via the `execute_javascript_code` tool. Save the file to the workspace (use the output dir the tool returns), then report the path and a 1-line layout summary.
⚠️ Hard rules — NO exceptions
0. **MATCH THE USER'S LANGUAGE.** This is rule zero, the most violated rule. If the user prompt is in Chinese (中文), EVERY string in the deck — kickers, slide titles, body text, captions, kicker labels, folio prefixes, sample names, captions — must be in Chinese. **NEVER** copy English template phrases like `THE PROBLEM`, `FEATURE STORY`, `RESEARCH BRIEF`, `THE BOTTOM LINE`, `BUILT BY BUILDERS` into a Chinese deck. Translate them: e.g. `THE PROBLEM` → `问题所在`, `THE SOLUTION` → `解决方案`, `MARKET OPPORTUNITY` → `市场机会`, `THE TEAM` → `团队`, `USE OF FUNDS` → `资金用途`, `THE BOTTOM LINE` → `一句话总结`, `RESEARCH BRIEF` → `研究简报`, `CASE STUDY` → `案例研究`. Person names in a Chinese deck should be Chinese names (e.g. 张伟 · 陈琳), not transliterated English names. Folio reads `01 / 12` in either language (digits are universal). Same applies to other languages: match the prompt. 1. **One palette only.** Pick one of the 5 palettes below, use only its 4 hex values. Never invent new hex. 2. **Two fonts only.** Display = `Georgia` (serif, present on all OSes). Body = `Calibri` (sans, Office default). No custom fonts — `.pptx` recipients won't have them and the deck will fall back to Times. **For Chinese decks**: Georgia + Calibri both render Chinese via system fallback fonts (PingFang on macOS, Microsoft YaHei on Windows) — that's fine, do not switch to custom Chinese fonts. 2a. **🚫 NEVER apply `charSpacing` to CJK / non-Latin text.** The trick of "tracked-out caps" only works for Latin letters (`A B C D`). On Chinese, Japanese, Korean characters — which are already full-square glyphs — `charSpacing: 10` (0.10em) renders as `部 署 周 期` with huge gaps between every character. This looks broken on EVERY rendering platform. Rule: if the text contains ANY CJK character, set `charSpacing: 0` (or omit the property entirely). Only apply `charSpacing: 8-15` when the entire string is uppercase Latin (e.g. `RESEARCH BRIEF`, `PART 02`). For Chinese kickers, just use bold + small caps look via 11pt bold ink-tint text WITHOUT any character spacing. 3. **Forbidden visual elements** (PowerPoint defaults to these — you must actively avoid):
- drop shadow / glow / reflection / soft edge / bevel / 3-D rotation
- gradient backgrounds
- rounded rectangles (use `rectRadius: 0`)
- clipart, emoji as decoration, stock-photo placeholders
- Comic Sans, Times New Roman default, Arial Black
- smart-art with default styling
- rainbow chart palettes (chart uses ink + paper-tint only)
4. **Real content only.** No lorem ipsum, no `[Title here]` placeholders, no fabricated statistics. If a slot has no user data, drop the slot.
- **Team slides especially**: if the user did not provide team names,
titles, or bios, DO NOT invent them. Don't make up `陈明远 · 前阿里 云智能平台总监 · 清华大学计算机硕士` — that's fabrication and looks fake to anyone in the industry. Either ask the user for team info OR drop the team slide entirely and note "团队信息待补充".
- Same for fake financial metrics (MRR / ARR / growth rate), fake
customer names, fake competitive comparisons. If you don't have it, don't ship it. 5. **Slide count is driven by content.** 6–12 short, 15–25 long. No padding. 6. **Fill the slide.** The 13.33 × 7.5 inch canvas is large. Do NOT cram everything into the left third. Use `align: 'center'` on hero text, place the body block across columns 1–11 (x: 0.7 to 12.6), use the full vertical range top-to-bottom. A slide that looks 60%+ empty is broken. 7. **Sizing for Chinese text**: Chinese characters take MORE horizontal space per char than Latin. Rules of thumb:
- Hero title at fontSize 40-48: give the textbox at least `w: 12` inches
(the full content width). Title at `w: 6` will overflow / wrap badly.
- 1 Chinese character at 40pt ≈ 0.55 inch wide. Plan accordingly.
- For section titles (24-28pt) keep `w` ≥ 8 inches.
- For body text (14-16pt) `w: 11+` is safe for full sentences.
8. **No overlapping shapes.** When you place a dark section header / banner on a slide, leave at least 0.3 inch of vertical clearance before any text shape. Banners at `y: 1.2, h: 0.8` should not have a title
Read more
name: pptx-editorial description: | Generate a native PowerPoint (.pptx) file with magazine-grade editorial styling — pitch decks, investor presentations (路演 PPT), board reviews, executive memos, conference talks, product launches. Output is a single .pptx file generated via pptxgenjs through the JavaScript executor runtime, openable in PowerPoint / Keynote / Google Slides. Uses five named editorial palettes (Monocle, Indigo Porcelain, Forest Ink, Kraft Paper, Dune) with strict typography rules (Georgia display + Calibri body) and 10 numbered layouts (L01 Cover, L02 Act Divider, L03 Big Numbers, ..., L10 Closing). Prefer this skill over the builtin presentation-generator whenever the user wants a polished editorial look, names one of the five palettes, asks for a "美观 PPT" / "投资人路演 PPT" / "pitch deck", or otherwise signals that visual quality matters beyond a generic deck. Use `html-deck-editorial` instead only when the user explicitly wants HTML output (more visual freedom but not Office-compatible). when_to_use: | When the user wants a polished native .pptx deliverable (pitch deck, 路演 PPT, board review, executive memo) where visual quality matters and the file must open in PowerPoint / Keynote / Google Slides. Use `html-deck-editorial` instead when the user explicitly wants HTML output. tags: - presentation - pptx - powerpoint - deck - editorial
Editorial PPTX Deck
You will generate one `.pptx` file by writing a JavaScript program that uses **pptxgenjs** and runs it via the `execute_javascript_code` tool. Save the file to the workspace (use the output dir the tool returns), then report the path and a 1-line layout summary.
⚠️ Hard rules — NO exceptions
0. **MATCH THE USER'S LANGUAGE.** This is rule zero, the most violated rule. If the user prompt is in Chinese (中文), EVERY string in the deck — kickers, slide titles, body text, captions, kicker labels, folio prefixes, sample names, captions — must be in Chinese. **NEVER** copy English template phrases like `THE PROBLEM`, `FEATURE STORY`, `RESEARCH BRIEF`, `THE BOTTOM LINE`, `BUILT BY BUILDERS` into a Chinese deck. Translate them: e.g. `THE PROBLEM` → `问题所在`, `THE SOLUTION` → `解决方案`, `MARKET OPPORTUNITY` → `市场机会`, `THE TEAM` → `团队`, `USE OF FUNDS` → `资金用途`, `THE BOTTOM LINE` → `一句话总结`, `RESEARCH BRIEF` → `研究简报`, `CASE STUDY` → `案例研究`. Person names in a Chinese deck should be Chinese names (e.g. 张伟 · 陈琳), not transliterated English names. Folio reads `01 / 12` in either language (digits are universal). Same applies to other languages: match the prompt. 1. **One palette only.** Pick one of the 5 palettes below, use only its 4 hex values. Never invent new hex. 2. **Two fonts only.** Display = `Georgia` (serif, present on all OSes). Body = `Calibri` (sans, Office default). No custom fonts — `.pptx` recipients won't have them and the deck will fall back to Times. **For Chinese decks**: Georgia + Calibri both render Chinese via system fallback fonts (PingFang on macOS, Microsoft YaHei on Windows) — that's fine, do not switch to custom Chinese fonts. 2a. **🚫 NEVER apply `charSpacing` to CJK / non-Latin text.** The trick of "tracked-out caps" only works for Latin letters (`A B C D`). On Chinese, Japanese, Korean characters — which are already full-square glyphs — `charSpacing: 10` (0.10em) renders as `部 署 周 期` with huge gaps between every character. This looks broken on EVERY rendering platform. Rule: if the text contains ANY CJK character, set `charSpacing: 0` (or omit the property entirely). Only apply `charSpacing: 8-15` when the entire string is uppercase Latin (e.g. `RESEARCH BRIEF`, `PART 02`). For Chinese kickers, just use bold + small caps look via 11pt bold ink-tint text WITHOUT any character spacing. 3. **Forbidden visual elements** (PowerPoint defaults to these — you must actively avoid):
- drop shadow / glow / reflection / soft edge / bevel / 3-D rotation
- gradient backgrounds
- rounded rectangles (use `rectRadius: 0`)
- clipart, emoji as decoration, stock-photo placeholders
- Comic Sans, Times New Roman default, Arial Black
- smart-art with default styling
- rainbow chart palettes (chart uses ink + paper-tint only)
4. **Real content only.** No lorem ipsum, no `[Title here]` placeholders, no fabricated statistics. If a slot has no user data, drop the slot.
- **Team slides especially**: if the user did not provide team names,
titles, or bios, DO NOT invent them. Don't make up `陈明远 · 前阿里 云智能平台总监 · 清华大学计算机硕士` — that's fabrication and looks fake to anyone in the industry. Either ask the user for team info OR drop the team slide entirely and note "团队信息待补充".
- Same for fake financial metrics (MRR / ARR / growth rate), fake
customer names, fake competitive comparisons. If you don't have it, don't ship it. 5. **Slide count is driven by content.** 6–12 short, 15–25 long. No padding. 6. **Fill the slide.** The 13.33 × 7.5 inch canvas is large. Do NOT cram everything into the left third. Use `align: 'center'` on hero text, place the body block across columns 1–11 (x: 0.7 to 12.6), use the full vertical range top-to-bottom. A slide that looks 60%+ empty is broken. 7. **Sizing for Chinese text**: Chinese characters take MORE horizontal space per char than Latin. Rules of thumb:
- Hero title at fontSize 40-48: give the textbox at least `w: 12` inches
(the full content width). Title at `w: 6` will overflow / wrap badly.
- 1 Chinese character at 40pt ≈ 0.55 inch wide. Plan accordingly.
- For section titles (24-28pt) keep `w` ≥ 8 inches.
- For body text (14-16pt) `w: 11+` is safe for full sentences.
8. **No overlapping shapes.** When you place a dark section header / banner on a slide, leave at least 0.3 inch of vertical clearance before any text shape. Banners at `y: 1.2, h: 0.8` should not have a title
Start with a personal agent. Scale into an AI workforce. Xagent helps individuals complete real tasks, teams publish reusable agents, and enterprises run agent systems with their own tools, models, knowledge, and infrastructure — without brittle workflows.
Repo: xorbitsai/xagent
Other skills on xagent.
- /agent-builder
Expert AI Agent Builder skill. Helps users dynamically create, configure, and build custom AI agents with specific capabilities, knowledge bases, and tools.
Open skill - /evidence-based-rag
Evidence-first retrieval-augmented reasoning skill for decision-critical scenarios. Retrieves information from a specified knowledge base, extracts verifiable evidence, detects conflicting claims, and evaluates answer sufficiency with explicit confidence and risk signals.
Open skill - /html-deck-editorial
Generate a single-file HTML presentation deck with magazine-grade editorial styling. Use only when the user explicitly asks for an "html deck", "editorial slides", "magazine style presentation", "beautiful slides", "美观 PPT", or "网页版幻灯片" — i.e. a slide-style visual deliverable
Open skill - /pdf-report-editorial
Generate an editorial-styled PDF report (whitepaper, research brief, executive memo, case study) by first emitting a self-contained HTML document and then rendering it to PDF via the browser. Use when the user asks for a "PDF report", "whitepaper", "executive brief", "research
Open skill - /presentation-generator
Generate and edit PowerPoint presentations (.pptx). Use for: creating slide decks, pitch decks, or presentations from scratch; reading, parsing, or extracting content from .pptx files; editing, modifying, or updating existing presentations; combining or splitting slide files;
Open skill - /static-visual-design
Create polished commercial and brand-facing static visual designs as complete PNG or JPEG assets. Use only for advertising creatives, campaign posters, promotional social posts, event or announcement cards, banners, and placement variants where art direction, typography,
Open skill

