Skip to content

Professional Word (.docx) toolkit that enforces a render-and-review loop for visually verified, client-ready documents.

CCM score
44 of 100
skills.sh installs
780
GitHub stars
121
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers creating, editing, redlining, and extracting text from .docx files, with a visual inspection loop after every edit
  • Includes python-docx for structure and styling, docx-js for JavaScript builds, OOXML tracked-change editing, and Pandoc markdown conversion
  • Enforces schema element ordering in <w:pPr>, ASCII hyphens instead of Unicode dashes, and changes marked only where text actually differs
  • Designed for legal contracts, business reviews, and reports where precise formatting and tracked changes matter

Install

$ npx -y skills add igorwarzocha/opencode-workflows --skill word -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

<quality_workflow> For all professional deliverables, you MUST follow the "Render & Review" loop:

  1. Edit: Use python-docx for structure/styling or the Document library for XML edits.
  2. Render: Convert to PDF/PNG using soffice and pdftoppm:
    • soffice --headless --convert-to pdf document.docx
    • pdftoppm -png -r 150 document.pdf page
  3. Inspect: Read the generated PNG images. You MUST look for clipped text, overlapping shapes, or misaligned margins.
  4. Fix: Address defects and repeat the loop until the document is visually flawless. </quality_workflow>

<technical_workflows>

1. Creating New Documents

  • Python: You SHOULD use python-docx. Establish hierarchy with HeadingLevel styles.
  • JavaScript: You SHOULD use docx-js. Reference: See references/docx-js.md for syntax.
  • CRITICAL: You MUST NOT use \n for line breaks (use Paragraphs). You MUST NOT use Unicode bullets (use numbering config). PageBreak MUST be inside a Paragraph.

Details

Repository
github.com/igorwarzocha/opencode-workflows
Categories
Office Files & Slides, Writing & Content
First seen
Jun 3, 2026

More from igorwarzocha/opencode-workflows

All 7