This handles Word document creation, editing, and extraction with a strong emphasis on visual quality. It uses python-docx for structure, direct OOXML editing for tracked changes and redlining, and enforces a render-and-review loop where you convert to PDF/PNG and actually inspect the output for formatting issues. The tracked changes workflow is solid for legal documents, though it requires unpacking the docx, editing XML directly, and repacking. Worth noting it's opinionated about professional standards like element ordering in XML and bans Unicode bullets in favor of proper numbering. If you need Word documents that look exactly right and can handle the render loop overhead, this delivers.
- skills.sh installs
- 775
- GitHub stars
- 122
- last updated
- Jul 14, 2026
Install
$ npx -y skills add igorwarzocha/opencode-workflows --skill word --agent claude-codeInstalls into .claude/skills of the current project.
Files
<quality_workflow> For all professional deliverables, you MUST follow the "Render & Review" loop:
- Edit: Use
python-docxfor structure/styling or the Document library for XML edits. - Render: Convert to PDF/PNG using
sofficeandpdftoppm:soffice --headless --convert-to pdf document.docxpdftoppm -png -r 150 document.pdf page
- Inspect: Read the generated PNG images. You MUST look for clipped text, overlapping shapes, or misaligned margins.
- 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: Seereferences/docx-js.mdfor syntax. - CRITICAL: You MUST NOT use
\nfor line breaks (use Paragraphs). You MUST NOT use Unicode bullets (use numbering config).PageBreakMUST be inside a Paragraph.
Sponsors
Details
- Repository
- github.com/igorwarzocha/opencode-workflows
- Category
- Office & Documents
- First seen
- Jun 3, 2026
