presentation-edit · git:20261030.a5c2c58 · 2026-10-30 · sha256 bdbe4561a9c89130
presentation-edit git:20261030.a5c2c58A
Immutable. This exact content never changes and is served at /api/v1/blob/bdbe4561a9c89130.
--- name: presentation-edit description: Inspect and edit existing PPTX slide text alignment and colors while preserving editable objects and unrelated document parts. Use for PowerPoint or Impress file changes (演示文稿、幻灯片). --- # Presentation editing This optional package supplies the document logic and dependencies. Run its script through the normal shell capability; it adds no Agent tool or model configuration. After importing the complete Skill package, `read skill://presentation-edit` returns `packagePath`. Inspect the source before choosing objects: ```bash uv run --script <packagePath>/scripts/presentation.py inspect --workspace <workspace> --path input.pptx ``` Use the observed `shapePath` for a specific text frame. Drawing order is not reading order. For an explicit top-to-bottom rank, use `topToBottomPaths`; unknown or overlapping placement needs inspection in the actual editor or a rendering. Structural inspection alone does not establish visual quality. If the shell externalizes a long inspection result, read its returned text artifact through `read artifact://ID` and follow the returned page offsets. A stdout preview is not the complete JSON document; do not infer missing objects from it. For alignment or color edits, construct [the request JSON](references/operations.md), then run: ```bash uv run --script <packagePath>/scripts/presentation.py edit --workspace <workspace> --request-json '<request JSON>' ``` Preserve the original input. Source and destination hashes must match the observations; null means create a new destination. The script validates the full batch before publishing a separate editable PPTX. For a named color use the observed editor, palette and requested color name; an RGB value is appropriate when explicitly specified. Unknown names never fall back to guessed RGB values. Pass the JSON as one shell argv element. For a large batch, `--request changes.json` can read a request file inside the workspace instead. Keep request files and diagnostic logs out of user deliverables. Inspect the saved output and verify the requested changes and object scope. Return the output path as a usable file link in the task result, with verified changes and any unmet requirements. A shell success or file hash does not prove the user's full task passed. If the receipt says publication is unknown, inspect the existing source/destination before any further mutation. Other presentation operations can use suitable offline editors or scripts; this package currently edits alignment and text color only. It does not select models, call a provider, impose token/spending limits or modify the Agent runtime. Dependencies are declared on the script and resolved by `uv` outside the core environment.