office-docs

Unpack, edit, and repack Microsoft Office Open XML documents.

6|1|Updated Jul 1, 2026
One-click install
npx skills add https://github.com/PancrePal-xiaoyibao/VitaForge --skill office-docs-pancrepal-xiaoyibao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: office-docs
Source: https://github.com/PancrePal-xiaoyibao/VitaForge/tree/main/.gemini/skills/office-docs
Command: npx skills add https://github.com/PancrePal-xiaoyibao/VitaForge --skill office-docs-pancrepal-xiaoyibao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires markitdown, Pillow, defusedxml, lxml, pptxgenjs, and includes scripts (resource) components.

What problem does it solve?

This skill solves the challenge of programmatically manipulating complex Microsoft Office Open XML files (PPTX, DOCX, XLSX) without relying on manual GUI interactions, ensuring consistency and scalability in document generation and editing.

Core Features & Use Cases

  • XML-Level Manipulation: Perform precise edits by unpacking documents into XML, modifying content, and repacking with automated validation.
  • Template Automation: Efficiently scale document creation by applying user content to existing professional templates.
  • Visual QA: Generate thumbnails and PDF previews to verify document structure and layout before final delivery.

Quick Start

Use the office-docs skill to unpack the presentation 'report.pptx' into the 'unpacked' directory for structural editing.

Frequently Asked Questions about office-docs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I programmatically edit PPTX, DOCX, and XLSX files without GUI interactions?

You can programmatically edit PPTX, DOCX, and XLSX files by unpacking them into XML, modifying the structure, and repacking with schema validation to ensure structural integrity and cross-format compatibility.

What is the best way to automate Office document generation from existing templates?

Automating Office document generation from templates involves unpacking the file into Open XML formats, applying your content to the XML structure, and repacking it to efficiently scale professional document creation.

Does automated XML manipulation maintain structural integrity for complex Office documents?

Yes, automated XML manipulation maintains structural integrity for complex Office documents by utilizing schema-validated repacking after modifying the unpacked XML files, ensuring high-fidelity document automation.

Can I extract content and generate slide previews from PPTX files programmatically?

You can extract content and generate slide previews from PPTX files programmatically by unpacking the presentation structure for XML-level editing and creating thumbnails to verify layout before delivery.

Do I need to unpack Office files into XML to perform precise document edits?

Unpacking Office files into XML is required for precise document edits, allowing you to target specific Open XML structures before repacking the modified files back into the original PPTX, DOCX, or XLSX formats.

What limitations exist when modifying Open XML formats like DOCX and XLSX?

When modifying Open XML formats like DOCX and XLSX, limitations depend on schema-validated repacking constraints, meaning deviations from the standard XML structure may break the final document's cross-format compatibility and layout.