PPT Slide Assistant: Slide Insertion, Reordering, and Layout Health Check in Native PPTX

Introduction

When using an Agent to modify a PPT, the common approaches are either regenerating the entire file from scratch or manually inserting slides in PowerPoint and then adjusting section numbers by hand. The former risks losing the original layout and numbering logic; the latter is time-consuming and prone to missing a sequence number on some page. If you already have a natively editable PPTX (exported from PowerPoint or generated by PptxGenJS, etc.), the more reliable path is: add, remove, or modify slides within the package according to the OOXML specification, and ensure all numbering across the deck converges to a self-consistent state in the same operation.

Below is an introduction to the SkillHub community Skill “PPT Slide-Add Assistant” (@user_b8af0005/add-slide-to-deck, current version 3.3.1). It consolidates slide insertion, reordering, deletion, cloning, and checks for font consistency, alignment, and text overflow into a single set of working constraints. The Agent invokes the scripts under scripts/ as described in the Skill documentation, rather than assembling ad-hoc code on the fly.

What Is This

PPT Slide-Add Assistant is a community-sourced (community) office-efficiency Skill, categorized under office-efficiency, published by user_b8af0005. The SkillHub page lists the maintainer as Lu Lingyan (author of UMU). The tag requires_api_key=false means no additional API Key is needed to enable it.

In one sentence: it appends style-consistent new pages to an existing PPTX, covers page-number reordering that is “structure-only, content-untouched,” and performs mechanical checks on global font declarations, module alignment, and whether text fits within its bounding box. It is explicitly not applicable to full-deck SVG generation scenarios like ppt-master.

Official entry points:

  • SkillHub page: https://www.skillhub.cn/skills/user_b8af0005/add-slide-to-deck
  • API endpoint: https://api.skillhub.cn/user_b8af0005/add-slide-to-deck

Core Capabilities

The following capabilities are drawn from the official description and can be used individually or in combination.

Slide Insertion & Numbering (Atomic Operation)

Append one or more slides to an existing deck, or create new scenario pages that “mimic the current PPT’s style.” The Skill emphasizes: slide insertion and numbering adjustment are a single atomic action—after adding slides, the full-deck numbering must be reorganized to self-consistency in the same round, avoiding issues such as duplicate section numbers or incorrect page codes left behind by merely inserting XML.

Pure Structural Modification

Without rewriting the full text content, it supports:

  • Changing page numbers, reordering sequences (handles requests like “wrong sequence numbers,” “duplicate numbering,” “messy section numbers”)
  • Reordering slide positions (e.g., “move this page after that one”)
  • Deleting slides, cloning a slide and re-inserting it

Layout & Font Health Check

  • Font slot check: addresses issues like “fonts are inconsistent,” “same Microsoft YaHei but rendering differently,” “check global fonts”—verifies whether font declarations across the deck are standardized and consistent.
  • Module alignment check: addresses issues like “this page isn’t aligned,” “card positions don’t line up”—performs alignment-level checks on layout modules.
  • Text overflow check: addresses issues like “this line wrapped,” “text is spilling out of the box,” “this sentence doesn’t fit”—identifies cases where text cannot fit within its bounding box.

Three Hard Constraints (Agent Must Comply)

The official description codifies three rules, which also distinguish this from the common “let the model freely edit a pptx” approach:

  1. Slide insertion and numbering adjustment cannot be split; after adding slides, full-deck numbering must be reorganized.
  2. All mechanical operations must go through the scripts in the Skill’s scripts/ directory. Writing ad-hoc code to complete the task is prohibited.
  3. The authoritative source of slide order is sldIdLst; when writing back to the file, you must replace in-place via repackaging to ensure ZIP/OOXML structural integrity.

Installation & Activation

Search for the coordinate user_b8af0005/add-slide-to-deck on SkillHub (display name “PPT Slide-Add Assistant,” version 3.3.1) to obtain the Skill package. The specific installation command varies depending on the client you use (Cursor, Codex CLI, Claude Code, etc.) and its Skill loading mechanism; please refer to the SkillHub page and the current Skill installation documentation for your client.

The verified configuration and metadata are as follows:

名称:PPT加页助手
坐标:@user_b8af0005/add-slide-to-deck
版本:3.3.1
分类:office-efficiency
requires_api_key:false

Once enabled, the Agent should read the Skill’s built-in SKILL.md and the scripts/ documentation, and operate on the target .pptx file following the steps described therein.

Typical Usage

Usage is primarily triggered via natural language. The official documentation lists intent phrases that can be used verbatim (excerpt and categorized below).

Slide Insertion & Style Mimicry

  • “Add a slide to this PPT,” “Add a few slides,” “Append a scenario,” “Mimic this PPT’s style and add a page”

Page Numbers & Order

  • “Change PPT page numbers,” “Reorder the numbering,” “Adjust slide order,” “Clone this page to make one,” “Delete a slide from the PPT”
  • Or describe the symptom: “Sequence numbers are wrong,” “Numbering is duplicated,” “Section numbers are a mess”

Fonts & Layout

  • “Check global fonts,” “Fonts are inconsistent,” “Why do they look different?”
  • “Help me check alignment,” “Some modules aren’t aligned”
  • “This sentence doesn’t fit,” “The text is overlapping”

Recommended workflow (consistent with the Skill’s design):

  1. Specify the PPTX path to operate on (it must be a natively editable package, not an SVG full-deck project).
  2. Describe the task: add slides / reorder / delete / clone / health check only, etc.
  3. The Agent invokes the corresponding scripts in scripts/ to perform read/write operations; if slide insertion or structural changes are involved, complete the full-deck numbering reorganization within the same task.
  4. Open the output file or review the Skill report for font, alignment, and text overflow health check results.

Applicable Scenarios & Cautions

Suitable for

  • You already have a .pptx locally and need to quickly add slides while keeping section numbers and page-code logic consistent.
  • Batch or conversational adjustments to slide order, deletions, or template-page cloning, without wanting to click through PowerPoint manually.
  • Post-generation quality checks in a generation pipeline (e.g., PptxGenJS output) for mechanical inspection of font declarations, alignment, and text-box capacity.

Limitations & Cautions

  • Targets native PPTX only; do not use it in ppt-master’s SVG full-deck generation pipeline.
  • The Agent should not bypass scripts/ and write its own Python/Node code to modify the internal XML of the zip; this is inconsistent with the Skill’s maintenance approach and is more likely to corrupt sldIdLst and numbering relationships.
  • When modifying the package, always follow the rule of “slide order is determined by sldIdLst, and repackaging must replace in-place”; otherwise, you may encounter situations where PowerPoint opens the file but slide order is scrambled or numbering is out of sync.

The current SkillHub page shows a rating of 100000 and 958 downloads (statistics update with the platform).

Closing

If your pain points are “add slides to an existing deck without breaking the numbering,” “reorder slides without manually editing a dozen sequence numbers,” or “same YaHei font but inconsistent rendering,” you can add PPT Slide-Add Assistant to your Agent: modify the package via scripts, preserve numbering through atomic steps, and catch issues with health-check scripts. For installation and the latest documentation, refer to SkillHub: https://www.skillhub.cn/skills/user_b8af0005/add-slide-to-deck

羽毛球分组比赛记分
小程序二维码

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

Xiaoye