sdo-docx-operations

Installation
SKILL.md

SDO DOCX Operations -- officecli guardrails

Use this skill for reliable, repeatable officecli operations that require XML-level edits on standards documents.

Workflow

  1. Open the document in resident mode before multi-step edits: officecli open <doc>
  2. Run one mutation command at a time and check exit codes.
  3. Use style/ordinal or explicit XPath targeting, not paraId targeting.
  4. Prefer officecli batch for template population, text updates, and paragraph additions. Python zipfile/ElementTree scripts can strip namespace declarations from the root element (see "Python OOXML manipulation — namespace caveat" below). Reserve Python scripts for edits that officecli cannot express.
  5. Validate with officecli view/get/query before and after mutation.
  6. Close the document at the end: officecli close <doc>

Script entry points

Installs
26
Repository
jr2804/prompts
First Seen
May 21, 2026
sdo-docx-operations — jr2804/prompts