AI PowerPoint (PPT/PPTX) maker: twelve ppt_* tools create, redesign, edit, quality-check and export presentation slides as editable .pptx or PDF, import and patch existing decks, with 30 design systems and a right-sidebar visual workbench.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-ppt-maker
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:OMSociety/dsh-ppt-maker
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
What it is
DSH PPT Maker splits deck-making into a workflow that both the model and you can pick up at any point. The model uses twelve ppt_* tools to create a project, write pages, render the real output to check its own work, run quality checks, and export. You see the same project in the "PPT 工作台" (PPT Workbench) tab of the right sidebar, where you can double-click to edit text, drag pages into a new order, or swap images at any time; the model continues from your changes.
Pages are written in PPTD, a YAML project format (deck.pptd plus one pages/*.page per slide) that people can read and models can write. The full specification is in docs/pptd-spec.md. On export the plugin builds the final .pptx locally with @office-kit/pptx and embeds the fonts it uses, so the deck displays correctly on machines that do not have those fonts installed.
The plugin also ships the ppt-maker skill, with 30 design systems across five families (academic, consulting, finance, promotion, and workplace) and guidance on writing pages. The model reads it when needed.
Preview
Light workbench · cover page

Dark workbench · native chart and table

Page transitions · morph

Quick start
Stop the running DSH, install with dsh plugin --profile <profile> add "dsh-ppt-maker", then start DSH again.
Tip: After installing, refresh the browser page so the "PPT 工作台" tab appears in the right sidebar. The workbench interface is loaded with the page, so restarting the host alone is not enough.
- Ask in chat for a deck about a topic, or hand the model an existing .pptx and describe the changes you want.
- Once the model creates or imports a project, the workbench opens in the right sidebar automatically.
- The model renders the real output of each page as it works to check itself; you can edit in the workbench at any time, and the model reads your changes on its next step.
- When you are satisfied, ask the model to export, or click "导出 .pptx" (Export .pptx) in the workbench. A full-deck quality check runs first and lists any blocking issues.
- "打开" (Open) in the footer status bar opens the result in the system's associated app; you can also choose "显示文件位置" (Show file location).
Dependencies: @deepseek-ai/libreoffice-kit, used for rendering and quality checks, installs with the plugin (about 183MB per platform). Python 3.10+ is needed only for SVG pages: on first use, run
node scripts/prepare-vendor-env.mjsonce (from the plugin package root) to create a virtual environment and install its dependencies. pip uses the Tsinghua mirror by default; setPIP_INDEXto change the index andPYTHONto choose the interpreter.
Platforms: Windows and macOS (x64/arm64) use the native rendering engine; Linux has no native package, so rendering and quality checks use the WASM engine. CI runs the same test suite on
windows-latestandubuntu-latest; macOS has no CI coverage yet.
Building a new deck
Choose a new or empty directory when creating a project or importing a full deck. A non-empty target returns 409 ProjectAlreadyExists and its files stay intact.
Once the model picks a design system, ppt_create writes its colors, fonts, and text styles into the project's theme table. Pages reference them as $primary, $title, and so on, so recoloring the whole deck means editing only the theme table. Shared brand bars, footers, and corner marks go into masters and layouts that each page attaches to.
Page elements include text, shapes (177 preset shapes with adjustment values, or custom paths), lines, images, tables, and native charts (bar, column, line, area, pie, doughnut, and more, with data still editable in PowerPoint after export). Text supports gradients, outlines, shadows, letter spacing, distributed alignment, and exact insets; shapes support gradient and pattern fills, gradient outlines, and drop shadows. Elements can be grouped and move as one group in PowerPoint after export.
When a page is too complex for these elements (fine gradients, freeform curves, layered cover art), the whole page can be drawn as an SVG. On export that page compiles into native PowerPoint text boxes and shapes rather than a single picture, so each piece remains selectable and editable.
Save images and other media inside the project first (for example, media/logo.png) and reference them by relative path. Rendering and export read project files only. If a reference is a URL, points outside the project, or is missing, supply the local file and correct its path.
After every round of edits the model can call ppt_render to render real images of the final .pptx, not mockups. ppt_export can also write a PDF alongside the .pptx.
Editing an existing deck
- Changing a few words, swapping an image, or reordering pages:
ppt_patchwrites an edited copy of the original file and keeps everything it does not touch, including parts the plugin does not model, such as SmartArt and embedded spreadsheets. - Major edits or a redesign:
ppt_importturns the .pptx into a PPTD project. Common native charts become editable chart elements, SmartArt with a usable drawing cache expands into grouped editable shapes (reported asdegraded), and groups, text effects, and gradient and pattern fills are preserved. The import report lists objects that could not be converted (such as SmartArt without a usable drawing cache, OLE objects, media, and less common charts, each markeddroppedand represented by a placeholder) and properties that lost detail in conversion; the model reports these to you as they are. - Export uses the original file as the skeleton: unchanged pages are kept as they are; edited pages are rebuilt from the project on their original layouts, and unconverted objects on those pages are copied back from the original file in place. Theme and masters come from the original file.
PPT Workbench
The "PPT 工作台" tab in the right sidebar is a three-pane editor: page thumbnails on the left, the canvas in the center, and the properties panel on the right.
- Instant view: the canvas and thumbnails draw pages directly as web elements without waiting for a rendering engine to start. Tables, charts, and SVG pages show as they really look; objects that could not be converted on import show their preview image when one exists, or a placeholder box otherwise.
- Direct editing: double-click to edit text in place, drag pages to reorder them, duplicate, delete, or add pages, replace images, and set exact position and size in the properties panel.
- Undo and history: undo and redo are always at hand; the "历史" (History) drawer previews any version and restores it with one click.
- No overwrites: content writes, undo, and redo check
manifest.revision, which increases after each successful change.historyCursorseparately identifies the current undo group, so grouped edits can be undone together. Opening a 2.0.4 project is read-only; the first successful change records the cursor. When the model changes the same project elsewhere, the workbench shows a conflict notice instead of overwriting your edits. - Export: "导出 .pptx" runs a full-deck quality check first, then saves the result under the project's
export/folder as<project name>-r<version>.pptx.
Model tools
| Tool | Purpose | Key parameters |
|---|---|---|
ppt_create |
Create a project and write the chosen design system into the theme table | dir · title · size · designSystem · theme |
ppt_themes |
List the built-in design systems | designSystem (optional) |
ppt_edit |
Atomic batch edits to pages and elements; if any operation fails, nothing is saved | dir · ops · baseRevision |
ppt_undo / ppt_redo |
Undo / redo | dir · baseRevision · steps |
ppt_svg |
put writes a source and optionally attaches it to an SVG page in the same transaction; compile checks a source |
dir · action · baseRevision (required for every put) · name · svg · page · ref |
ppt_render |
Build the final .pptx and render each page to PNG, returning each image's absolute path | dir · pages · dpi |
ppt_check |
Rule-based quality check; ai: true adds multimodal visual suggestions |
dir · pages · ai |
ppt_export |
Export the .pptx, optionally with a PDF | dir · out · pdf · skipCheck |
ppt_import |
Turn a .pptx into a PPTD project with an import report | source · targetDir · mode · open |
ppt_patch |
Light edits to a .pptx: change text, swap images, reorder pages | source · ops · out |
ppt_open |
Open a project in the right-sidebar workbench | dir |
The rule-based check measures text with the real glyphs of the project's actual fonts and looks for text overflow, out-of-canvas elements, overlaps, contrast, structure, and missing fonts; overflow, out-of-canvas elements, and broken structure block export. Check results are tied to the project content, so any change after a check requires checking again before export. On export the plugin embeds fonts (subset, full, or off, decided per font by its license) and then re-parses and validates the result, refusing to write the file if validation fails.
Tip: With
ai: true, if the current model does not accept image input,ppt_checkreturns the list of page image paths so the main model can review them itself.
Development
npm install # install dependencies
npm run typecheck # the src/ and client/ tsconfigs
npm run build # rebuild lib/index.js and lib/client.js (required after editing src/ or client/; commit the output)
npm run build:preview # rebuild the self-contained preview page docs/preview/workbench.html from the real workbench components
npm run check:build # confirm lib/ matches git
npm run check:mounts # verify mount declarations
npm run check:pack # check actual package members, declared entries, and environment marker exclusion
Tip: Run the full test suite serially with a large heap: first
$env:NODE_OPTIONS='--max-old-space-size=12288', thennpx vitest run --no-file-parallelism. Runtime engine versions are pinned in thedependenciessection ofpackage.json. SeeAGENTS.mdfor the full acceptance criteria and development conventions.
src/index.ts host entry: registers the skill, the twelve tools, and the workbench webServer routes
src/core/ engine: PPTD contract, .pptx build, project storage and version snapshots, import, quality checks, font embedding, release pipeline, SVG compilation
src/tools/ JSON Schema contracts for the twelve tools
client/ workbench source (TSX, built into lib/client.js)
plugin/ loader shell and the workbench host routes
skills/ppt-maker/ the ppt-maker skill: design systems and page-writing guidance; vendor/ holds the SVG converter and its Python dependencies
tests/ host contract, tool end-to-end, import, fonts, and build-output guards; ships 20 anonymized .pptx corpus files
docs/ PPTD specification, fallback font table, preview page
lib/ build output (committed; installs do not build)
Changelog
See CHANGELOG.md.
Support and acknowledgements
- If this plugin helps you, a Star is welcome; please send questions and suggestions as an Issue or Pull Request.
- Built on the DeepSeek Harness plugin and skill system.
- .pptx building uses @office-kit/pptx, text measurement uses @office-kit/pptx-preview, and rendering uses @deepseek-ai/libreoffice-kit (MPL-2.0; only its API is called and its source is not modified).
- The SVG converter derives from ppt-master (MIT, © 2025-2026 Hugo He) and is maintained independently in this repository; see THIRD_PARTY_NOTICES.md for third-party license details.
License and author
Links
More in this category
tt-a1i/archify#integrations/deepseek-harness★ 102210
Generate validated, self-contained interactive architecture, workflow, sequence, data-flow, and lifecycle diagrams from repositories or system descriptions.
dream-num/dsh-univer-office★ 770
Give DeepSeek Harness a real office environment. Univer Office Plugin brings spreadsheets, docs, slides, canvases, relational tables, and more into one runtime — with connected data, validation, versioned changes, and isolated worktrees for multi-agent collaboration.
ECNU/EduWork#dsh-knowledge-studio★ 452
A workspace-based Studio for source-grounded reports, slides, tables, mind maps, quizzes, flashcards, audio and video, using DSH models and shared artifact services. Office generation requires Python 3.12+ with its dependencies and DSH_OFFICE_PYTHON configured; media rendering requires Chromium, and local ASR additionally requires whisper.cpp and a model.
Roland0511/dsh-marktext★ 421
WYSIWYG Markdown editor in the DSH right sidebar, built on MarkText's muya engine: open a .md file, edit it as a rendered document, and save back through ctx.fs with a version guard.
PerryLink/dsh-industry-research★ 227
Deterministic industry research reports for DeepSeek Harness — company and industry research flows produce structured, verifiable reports from staged evidence.
joeseesun/qiaomu-ui-learn-dsh★ 98
Browse UI design references and interaction examples, take design quizzes, and export learning notes as Markdown.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.