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-code

Installs into .claude/skills of the current project.

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.

Sponsors

Details

Repository
github.com/igorwarzocha/opencode-workflows
Category
Office & Documents
First seen
Jun 3, 2026

More from igorwarzocha/opencode-workflows

All 7
1sickn33 avatarnanobanana-ppt-skillssickn33/antigravity-awesome-skillsnanobanana ppt skills748skills.sh installs
2sickn33 avatarfrontend-slidessickn33/antigravity-awesome-skillsfrontend slides553skills.sh installs
3microsoft avatarpowerpointmicrosoft/hve-corePowerPoint slide deck generation and management using python-pptx with YAML-driven content and styling450skills.sh installs
4aradotso avatarhtml-ppt-skillaradotso/trending-skillshtml ppt skill336skills.sh installs
5aradotso avatarppt-image-first-workflowaradotso/trending-skillsppt image first workflow207skills.sh installs
6qodex-ai avatarpresentation-builderqodex-ai/ai-agent-skillsCreate and edit presentation documents with full formatting. Handles slide creation, layouts, animations, and speaker notes programmatically.201skills.sh installs