presentation-studio
БесплатноЗапускает вложенные скриптыНе проверенCreate a new PowerPoint deck from a source-backed story and visual system. Write a native editable DeckSpec and compile it directly to PPTX. Triggers: create…
от rongxinzy★ 163 звезды на GitHubОб этом скилле
Presentation Studio
This is the sole workflow for a new deck. Never generate a deck from raw HTML/CSS, screenshots, or a generic Office library. The source of truth is a DeckSpec project that compiles directly to editable PowerPoint elements.
Project contract
Create an isolated project directory:
<deck-dir>/
outline.md # narrative and source contract
design.md # visual contract
deck.json # canvas, theme, and ordered page list
pages/
01-cover.json
02-...json
assets/ # local images used by pages
output/
presentation.pptx
deck.json owns the canvas, theme, text styles, and page order. Every page owns only its editable elements. Do not duplicate theme values across pages.
Required workflow
- Audit material and audience. Read supplied material completely. Record facts, sources, dates, assumptions, and gaps in
outline.md. Each page must have one action title and one takeaway. - Choose a mode. Use summary mode for complete source material, outline mode for a supplied page plan, search mode only when research is needed. Choose reference mode when the user supplied visual references; otherwise choose creative mode.
- Choose a visual direction before creating any page. Read Creative mode and the matching scenario profile in Profiles. For supplied visual references, read Reference mode instead. Create three concise direction cards, select one against the audience and content, then write
design.md: profile, anchor, color rationale, font pair, type scale, grid, image strategy, chart/table treatment, layout families, and deck-specific forbidden patterns. Never default to a remembered palette, purple-blue gradients, rounded-card grids, or whitespace used as a substitute for composition. - Create
deck.json, then pages in order. Use nativetext,shape,image,table, andchartelements; do not rasterize an entire page. Declare semantic colors and explicitly style non-text elements: a mask, rule, panel, table, or chart must not silently inherit one global primary color. Images are required where the design contract calls for visual storytelling. Use high-quality, relevant assets; never replace missing imagery with a placeholder or an unrelated gradient. - Compile and deliver the PPTX. Run
scripts/compile-deck.mjswith the DeckSpec path and the requested output path, then return the generated presentation.
Tooling
Inside ZhiYuan/Pi, use run_skill_script for the compiler so PowerPoint export
does not depend on a user-installed Node.js. The skill's local node_modules remains the
dependency boundary; the app supplies the Node-compatible runtime.
Install the compiler dependency once per bundled skill copy:
npm install --prefix "<SKILL_DIR>" # packaging/runtime setup only
Compile directly:
{
"skillId": "presentation-studio",
"script": "scripts/compile-deck.mjs",
"args": ["<deck-dir>/deck.json", "<deck-dir>/output/presentation.pptx"]
}
DeckSpec minimum schema
{
"title": "Deck title",
"canvas": { "width": 1280, "height": 720 },
"theme": {
"colors": {
"background": "#…", "surface": "#…", "text": "#…", "muted": "#…",
"primary": "#…", "secondary": "#…", "accent": "#…",
"series1": "#…", "series2": "#…", "series3": "#…"
},
"textStyles": {
"title": { "fontSize": 48, "fontFace": "Aptos Display", "color": "$primary", "bold": true },
"body": { "fontSize": 20, "fontFace": "Microsoft YaHei", "color": "$text" }
}
},
"pages": ["pages/01-cover.json"]
}
Each page is { "pageType": "cover|content|chapter|final", "background": "#...", "elements": [...] }. Elements have an id, a type, and bounds: [x, y, width, height] in canvas pixels. Supported types are text, shape, image, table, and chart. See DeckSpec styling before using masks, image overlays, chart series, or tables.
Text element
{
"id": "cover-title",
"type": "text",
"bounds": [96, 220, 800, 140],
"style": "$title",
"text": "A decisive action title",
"align": "left",
"valign": "mid"
}
Shape and image elements
{ "id": "rule", "type": "shape", "shape": "rect", "bounds": [96, 386, 120, 8], "fill": "$accent" }
{ "id": "hero-mask", "type": "shape", "shape": "rect", "bounds": [880, 0, 400, 720], "fill": "$primary", "fillTransparency": 38 }
{ "id": "hero", "type": "image", "src": "assets/hero.jpg", "bounds": [880, 0, 400, 720], "sizing": "cover" }
Table and chart elements
{ "id": "metrics", "type": "table", "bounds": [96, 420, 520, 180], "rows": [["Metric", "Result"], ["Revenue", "42%"]], "fontSize": 18, "headerFill": "$primary", "headerColor": "$background", "borderColor": "$muted" }
{ "id": "trend", "type": "chart", "ch
Установить presentation-studio в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл presentation-studio?
Create a new PowerPoint deck from a source-backed story and visual system. Write a native editable DeckSpec and compile it directly to PPTX. Triggers: create, generate, design, or lay out a new PPT, PPTX, PowerPoint, presentation, slide deck, pitch deck, report deck, training deck, or slides. Do not use to read or modify an existing PPTX.
Как установить скилл presentation-studio?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл presentation-studio запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic