officecli-docx

Automate creation, editing, analysis, and QA of Microsoft Word .docx documents.

29|4|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ruuxi/stella --skill officecli-docx-ruuxi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: officecli-docx
Source: https://github.com/ruuxi/stella/tree/main/desktop/stella-office/vendor/officecli/skills/officecli-docx
Command: npx skills add https://github.com/ruuxi/stella --skill officecli-docx-ruuxi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Working with Microsoft Word .docx files is often tedious and error-prone, whether you're building professional reports from scratch, updating existing templates, extracting content from legacy documents, or ensuring formatting and structural compliance before delivery.

Core Features & Use Cases

  • End-to-End Document Creation: Build professional Word documents (reports, formal letters, academic papers, business proposals) with proper styling, headers/footers, page numbers, tables of contents, and cover pages that meet professional standards.
  • Existing Document Editing: Modify templates or legacy .docx files by updating text, tables, charts, tracked changes, and metadata without breaking existing structure or formatting.
  • Automated QA & Validation: Catch formatting errors, missing required elements (like TOCs or page numbers), empty paragraphs, and leftover placeholder text before sharing or printing documents.
  • Use Case: You need to update a quarterly sales report template with new Q4 data, add dynamic page numbers, fix inconsistent heading styles, and run a full validation check to ensure it's ready for executive distribution.

Quick Start

Use the officecli-docx skill to create a formatted Q4 business report with a cover page, TOC, and dynamic page numbers, or update an existing .docx template with new content and run a full QA check to catch formatting issues before delivery.

Frequently Asked Questions about officecli-docx

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

FAQPage Schema
How do I automate Word document creation and .docx template modification?

Automating Word document creation and .docx template modification involves using command-line operations to apply style definitions, update text, and manage tracked changes. This enables incremental or batch updates to generate professional reports while preserving existing formatting and structural integrity.

What is OOXML schema validation for .docx files and when do I need it?

OOXML schema validation for .docx files is a quality assurance process that checks structural compliance and catches formatting errors, missing required elements like tables of contents, and leftover placeholder text. You need it before delivery to ensure professional standards are met.

Do I need OfficeCLI to edit .docx files and run document validation?

Yes, you need the OfficeCLI command-line tool to perform incremental or batch document operations, including style definition, structural editing, and schema validation. It provides the underlying processing logic required to automate creation, editing, and quality assurance tasks for Microsoft Word files.

Can I extract content from legacy Word documents and update tracked changes?

Yes, you can extract content from legacy .docx files and update tracked changes through structural editing operations. This process modifies templates by updating text, tables, charts, and metadata while preserving the existing document structure and formatting integrity.

What's the best way to fix inconsistent heading styles in a Word report?

The best way to fix inconsistent heading styles in a Word report is through automated style definition and structural editing operations. This standardizes formatting, adds dynamic page numbers, and runs validation checks to identify formatting errors before executive distribution.

How do I handle unsupported Word features when editing .docx files?

You handle unsupported Word features when editing .docx files by performing XML-level raw modifications within the document package. This enables direct manipulation of the underlying OOXML structure to apply specific formatting or features not covered by standard command-line operations.