doc

Read, create, review, and edit DOCX documents with layout-aware validation.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/Canepro/codex-skills --skill doc-canepro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc
Source: https://github.com/Canepro/codex-skills/tree/main/skills/doc
Command: npx skills add https://github.com/Canepro/codex-skills --skill doc-canepro

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Read, create, review, and edit .docx documents with layout-aware validation. Use when working on Word documents, templates, tables, pagination, formatting fidelity, or professional document delivery; prefer python-docx plus scripts/render_docx.py for visual checks.

Core Features & Use Cases

  • Read, create, review, and edit DOCX documents with layout-aware validation to ensure professional formatting.
  • Visual validation via scripts/render_docx.py to verify layout accuracy across pages and tables.
  • Workflow readiness for professional document delivery with templating and structured edits.

Quick Start

Run the render_docx.py script on a sample DOCX to verify layout fidelity.

Frequently Asked Questions about doc

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

FAQPage Schema
How do I automate Word document formatting and validate DOCX layout fidelity?

Automate Word document formatting and validate DOCX layout fidelity by using python-docx for structural edits and running render_docx.py for visual layout checks across pages and tables.

What's the best way to edit DOCX templates and tables while ensuring professional formatting?

The best way to edit DOCX templates and tables while ensuring professional formatting is to apply layout-aware validation scripts that review pagination and formatting fidelity during drafting and delivery workflows.

Does python-docx support visual validation for document pagination and layout accuracy?

python-docx handles structural document edits, while visual validation for pagination and layout accuracy is achieved by rendering the DOCX with the included render_docx.py script.

Do I need pdf2image to review and validate DOCX documents visually?

Yes, you need the pdf2image dependency to run the render_docx.py script, which converts your Word documents into images for visual layout validation and review.

Can I create and review Word documents programmatically for professional delivery workflows?

Yes, you can create and review Word documents programmatically for professional delivery workflows by combining python-docx for document creation with layout-aware validation scripts.

Why does my DOCX document layout break when automating edits with python-docx?

DOCX document layout may break during automated edits because python-docx handles content structure but not visual rendering, requiring render_docx.py to visually verify formatting fidelity.