doc

Edit and validate DOCX documents while preserving layout fidelity.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/pchemguy/Dummy --skill doc-pchemguy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc
Source: https://github.com/pchemguy/Dummy/tree/main/docs/AgentSkills/openai/skills/skills/.curated/doc
Command: npx skills add https://github.com/pchemguy/Dummy --skill doc-pchemguy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables reading, creating, and editing DOCX documents while preserving layout and typography.

Core Features & Use Cases

  • Editing DOCX files with python-docx to apply styles, headings, tables, and lists.
  • Rendering DOCX pages to images for quick visual verification using bundled tools and optional LibreOffice/Poppler workflows.
  • End-to-end document workflow: drafting, reviewing, and exporting client-ready artifacts with clear intermediate outputs and cleanup.

Quick Start

Run the bundled render_docx.py script on a DOCX file to generate page images for quick visual verification.

Frequently Asked Questions about doc

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

FAQPage Schema
How do I edit DOCX files while preserving layout fidelity?

To edit DOCX files while preserving layout fidelity, use python-docx to apply styles, headings, tables, and lists. This ensures typography and structural elements remain intact during modifications.

Can I render DOCX pages to images for visual review?

Yes, you can render DOCX pages to images for visual review by running the bundled render_docx.py script. This process uses optional LibreOffice and Poppler workflows to generate page images.

Do I need LibreOffice and Poppler installed to use python-docx for document editing?

No, you do not need LibreOffice and Poppler for python-docx document editing. These dependencies are only required for optional rendering steps to generate page images for visual verification.

What's the best way to validate tables and images in a DOCX document?

The best way to validate tables and images in a DOCX document is to edit with python-docx and then render the pages to images using the bundled script. This visual verification confirms layout fidelity.

How does the document workflow handle intermediate outputs and cleanup?

The document workflow handles intermediate outputs and cleanup by providing a clear process for drafting, reviewing, and exporting artifacts. This ensures temporary rendering files are managed correctly.