doc

Edit and review DOCX documents while preserving formatting and layout.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/bbohhu-prog/waxs --skill doc-bbohhu-prog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc
Source: https://github.com/bbohhu-prog/waxs/tree/main/.claude/skills/doc
Command: npx skills add https://github.com/bbohhu-prog/waxs --skill doc-bbohhu-prog

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdf2image, and includes scripts (resource) components.

What problem does it solve?

DOCX documents often require precise formatting and layout fidelity, making manual editing tedious and error-prone.

Core Features & Use Cases

  • Read and review DOCX content with preserved formatting and structure
  • Create and edit DOCX documents using python-docx
  • Render and validate visual layouts using the bundled scripts/render_docx.py to produce page previews
  • Ensure consistent typography, spacing, and document structure across reports and templates

Quick Start

Run render_docx.py on a sample.docx to generate page previews and verify the document layout.

Frequently Asked Questions about doc

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

FAQPage Schema
How do I edit DOCX documents while preserving formatting and layout?

To edit DOCX documents while preserving formatting and layout, you can use python-docx to apply structural changes and the bundled render_docx.py script to validate visual previews. This ensures consistent typography and spacing across reports and templates.

What is the best way to validate DOCX layout changes before finalizing a report?

The best way to validate DOCX layout changes is by rendering page previews using the bundled scripts/render_docx.py. This process generates visual previews of your DOCX content, allowing you to verify formatting, layout fidelity, and document structure.

Do I need LibreOffice and Poppler installed to render DOCX page previews?

Yes, you need LibreOffice and Poppler-based tooling installed alongside the pdf2image dependency to fully render DOCX page previews. These tools work together with the render_docx.py script to convert document content into visual page previews.

Can I use python-docx to update existing templates with consistent typography?

Yes, you can use python-docx to update existing DOCX templates while ensuring consistent typography and spacing. The Skill supports creating, updating, and validating formatted DOCX content across reports and structured documents.

Why does DOCX document processing fail to preserve complex layout fidelity?

Complex DOCX layout fidelity issues often arise when manual edits disrupt structural elements. Using python-docx for programmatic edits and render_docx.py for visual validation helps prevent these errors by ensuring document structure and formatting remain intact.

How do I generate page previews from a DOCX file using render_docx.py?

To generate page previews from a DOCX file, run the bundled render_docx.py script on your sample document. This action processes the DOCX content and produces visual page previews to help you verify the document layout and formatting.