build-office-docs

Generate and modify DOCX and PPTX files via template filling and XML manipulation.

9|3|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill build-office-docs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-office-docs
Source: https://github.com/Sir-chawakorn/sanook-cli/tree/main/skills/build-office-docs
Command: npx skills add https://github.com/Sir-chawakorn/sanook-cli --skill build-office-docs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-docx, docxtpl, python-pptx, lxml.

What problem does it solve?

This skill eliminates the manual effort required to create, format, and update complex Word documents and PowerPoint presentations, ensuring consistency and speed in document production.

Core Features & Use Cases

  • Template Automation: Fill placeholders in DOCX or PPTX files using data-driven templates.
  • Document Manipulation: Perform find-replace, table styling, and tracked-change edits on existing files.
  • Use Case: Automatically generate a series of personalized client reports by merging data into a branded Word template or build a slide deck from a structured project outline.

Quick Start

Use the build-office-docs skill to generate a project report from the provided data using the template named annual-report.docx.

Frequently Asked Questions about build-office-docs

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

FAQPage Schema
How do I automate mail-merge workflows to generate personalized Word documents?

Generate Office documents programmatically by manipulating OOXML structures through python-docx and python-pptx. It fills data-driven templates to create personalized reports and slide decks, eliminating manual formatting effort and ensuring consistency across document production.

Can I edit existing DOCX files and preserve their original styles and formatting?

Automate mail-merge workflows by filling placeholders in DOCX templates using data-driven injection. This skill leverages docxtpl to merge structured data into branded templates, automatically generating personalized client reports while preserving existing formatting.

What's the best way to build a PowerPoint deck from a structured project outline?

Edit existing DOCX files while preserving original styles through precise XML-level manipulation. The skill performs find-replace operations, table styling adjustments, and tracked-change edits on existing files without breaking the document's inherent formatting.

Do I need python-docx and python-pptx installed to generate Office documents?

Build a PowerPoint deck by injecting structured project outline data into a PPTX template. Using python-pptx, the skill handles OOXML structures to programmatically populate slides, ensuring rapid and consistent presentation generation.

Are there limitations when manipulating OOXML structures for automated report generation?

You need python-docx, docxtpl, and python-pptx installed to handle OOXML structures and content injection. These dependencies are required for the skill to perform programmatic template filling and XML-level manipulation for DOCX and PPTX files.