dsh-ppt-maker: DSH Plugin for Local Generation, Quality Check, and .pptx Export

Introduction

DSH’s plugin mechanism is well-suited for linking model tools, client UI, and local processing into the same workflow. For tasks requiring presentation creation within DSH, dsh-ppt-maker provides a local pipeline: the model uses ppt_* tools to operate on PPT projects, users view and modify content in the right-sidebar workbench, and a local TS engine builds the final .pptx.

What Is This

dsh-ppt-maker is a DSH plugin maintained by OMSociety under the MIT License. It is used for creating, editing, reverse-engineering, quality-checking, and exporting PPTs.

The core pipeline is as follows:

  • The model executes PPT operations through eleven ppt_* tools.
  • The intermediate contract is the PPTD YAML DSL, with directory structure deck.pptd + pages/*.page.
  • The local pure-TS engine builds the final .pptx, with no Python in the main chain.
  • Users share the same PPTD project with the model in the right-sidebar workbench.

Core Features

Tools and Projects

  • Execute PPT operations including create, edit, reverse-engineer, quality-check, and export through eleven ppt_* tools.
  • Uses PPTD YAML DSL (deck.pptd + pages/*.page) as the intermediate contract.
  • Supports full reverse-engineering of existing .pptx files into PPTD projects.
  • Supports surgical patching of .pptx files.

Workbench

  • Provides a three-pane right-sidebar workbench: thumbnail bar, canvas, and property panel.
  • Supports double-click in-place text editing.
  • Supports drag-and-drop page ordering.
  • Supports version history snapshots and one-click restore.
  • Supports baseRevision optimistic locking and 409 conflict protection.

Quality Check and Export

  • Provides rule-based quality checks and on-demand AI visual quality checks.
  • Quality check results are written to manifest.qaReport.
  • Automatically embeds fonts actually used during export.
  • Supports page transitions and element animation presets.
  • The local pure-TS engine builds the final .pptx, with no Python in the main chain.

Installation and Activation

Stop any running DSH instances before installation. Since the plugin loads with the DSH client, executes local dependencies, and runs with the current DSH process permissions, you should review the source code and MIT License before installing.

Run the installation command:

dsh plugin --profile <profile> add "dsh-ppt-maker"

Refresh the browser page after installation.

Related dependencies and limitations are as follows:

  • The main chain is pure TS, with no Python.
  • @deepseek-ai/libreoffice-kit@0.1.2, used by ppt_render and quality checks, is a hard dependency, approximately 183MB per platform.
  • Python scripts under skills/ppt-maker/scripts/ serve only as escape hatches.
  • peerDependencies requires multiple @deepseek-ai/dsh-* packages within the version range >=0.2.0-rc.2 <0.3.0-0.

Typical Usage

Below is a reproducible local workflow.

  1. Say “Help me make a PPT” in the conversation, or explicitly invoke the ppt-maker skill.

  2. The model uses ppt_create to create a new project, or uses ppt_import to reverse-engineer an existing .pptx into a project.

  3. Double-click text in the right-sidebar workbench to edit in-place, drag to reorder pages, and click “Export .pptx”.

  4. Have the model execute ppt_check for quality checking and ppt_render to view PNG previews page by page.

  5. Click “Open” in the footer status bar to open the result with the system’s associated application, or choose “Show File Location”.

Use Cases and Notes

dsh-ppt-maker is suitable for scenarios where PPT creation, modification, quality checking, and local export need to be completed within DSH, especially for workflows where the final .pptx should be generated by a local TS engine.

Please note the following limitations before use:

  • Elements such as table / chart / icon / SmartArt are not yet supported for rendering and will show gray placeholders.
  • Export may be blocked by rule-based blockers; fix according to issues returned by ppt_check, or use skipCheck:true for forced export (not recommended).
  • ppt_check ai:true may return ai.performed:false and a list of PNG paths when the routed model does not support image input.
  • @deepseek-ai/libreoffice-kit@0.1.2 is a hard dependency, with an installation size of approximately 183MB per platform.

Links

dsh-ppt-maker places PPT projects, model tools, the right-sidebar workbench, and local .pptx generation into a single DSH plugin, making it suitable for localized presentation workflows.

  • Plugin directory page: https://www.skillhub.cn/plugins/OMSociety/dsh-ppt-maker
  • GitHub: https://github.com/OMSociety/dsh-ppt-maker
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye