PowerPoint PPTX Builder
БесплатноБез исполняемых скриптовНе проверенCreate editable Microsoft PowerPoint `.pptx` decks locally with code-first slide modules, PNG previews, layout JSON, and strict layout QA. Use when the user…
от fanfan-de★ 55 звёзд на GitHubОб этом скилле
PowerPoint PPTX Builder Skill
Use this skill when the durable output should be an editable Microsoft PowerPoint .pptx file.
Contract
- Use only
@anybox/presentation-runtimefrom this plugin. Do not importpptxgenjsor other presentation libraries directly. - Create one ESM module per slide under
workspaces/<task-id>/slides/. - Each slide module must export
slideXX(presentation, ctx), whereXXmatches the filename, for exampleslide-01.mjsexportsslide01. - Slide modules may create a slide with
presentation.slides.add()and callcomposeSlide(slide, elementTree). - Use editable primitives:
Text,Shape,Image,Layers,Panel,Row, andColumn. - Do not export PPTX directly from slide modules. Rendering, QA, and export are controlled by the plugin scripts.
- Keep assets under
workspaces/<task-id>/assets/. Usectx.assetPath("name.png")for local assets.
Required Workflow
- Draft or update slide modules in
workspaces/<task-id>/slides/. - Run plugin scripts from the active project directory. If the script files are not present in the project, call the installed plugin script with an absolute path;
--workspace workspaces/<task-id>is resolved relative to the current project directory. - Render each changed slide:
node scripts/render_slide.mjs --workspace workspaces/<task-id> --slide slides/slide-01.mjs
- Run layout QA:
node scripts/check_layout_quality.mjs --workspace workspaces/<task-id>
- Build the deck only after previews and QA pass:
node scripts/build_deck.mjs --workspace workspaces/<task-id>
- Deliver only
workspaces/<task-id>/output/final.pptxunless the user explicitly asks for previews or QA artifacts.
Sandbox Notes
Slide modules run in a practical child-process sandbox with an import whitelist, workspace path checks, output directory controls, and timeouts. This is not a strong security boundary. Do not write shell commands, read home directories, read secrets, access the network, or perform side effects in slide modules.
Allowed slide module import:
import {
Presentation,
Layers,
Text,
Shape,
Panel,
Row,
Column,
Image,
composeSlide,
textStyle,
stroke,
fill,
} from "@anybox/presentation-runtime";
Slide Module Example
import {
Layers,
Text,
Shape,
composeSlide,
textStyle,
stroke,
} from "@anybox/presentation-runtime";
export async function slide01(presentation, ctx) {
const slide = presentation.slides.add();
composeSlide(
slide,
Layers({ width: 1280, height: 720 }, [
Shape({
fill: "#F7F4ED",
line: stroke("none"),
position: { left: 0, top: 0 },
width: 1280,
height: 720,
}),
Text("Quarterly Review", {
role: "title",
position: { left: 80, top: 80 },
width: 900,
height: 70,
style: textStyle("font: 44px Arial; weight: 700; color: #17202A"),
}),
]),
);
return slide;
}
Quality Gates
Before final delivery, confirm:
output/final.pptxexists and is non-empty.layout/deck.jsonexists and slide count matches the requested deck.- PNG previews are not blank.
- No elements exceed the canvas.
- Text boxes have no obvious overflow warnings left unresolved.
- Images resolve to existing files or valid data URIs.
- Every slide has a visible title.
preview/contact-sheet.pngexists for deck-level review.
If LibreOffice is unavailable, the build falls back to SVG/PNG/layout QA and records loFinalRenderSkipped in the build summary.
Установить PowerPoint PPTX Builder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл PowerPoint PPTX Builder?
Create editable Microsoft PowerPoint `.pptx` decks locally with code-first slide modules, PNG previews, layout JSON, and strict layout QA. Use when the user wants an Office presentation, slide deck, PPT, PPTX, or PowerPoint artifact.
Как установить скилл PowerPoint PPTX Builder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл PowerPoint PPTX Builder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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