igorwarzocha/opencode-workflows59 files

Word

|-

Specification
Skill ID
igorwarzocha/opencode-workflows/word
Publisher
igorwarzocha
Repository
opencode-workflows
Installs
0
Files
59
Synced
Sep 23, 2026
How to use it

Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.

igorwarzocha/opencode-workflows/wordInstalls these files
  • SKILL.md
  • references/docx-js.md
  • references/ooxml.md
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd
  • references/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd
  • references/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd
  • references/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd
  • references/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd
  • references/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd
  • references/ooxml/schemas/mce/mc.xsd
  • references/ooxml/schemas/microsoft/wml-2010.xsd
  • references/ooxml/schemas/microsoft/wml-2012.xsd
  • references/ooxml/schemas/microsoft/wml-2018.xsd
  • references/ooxml/schemas/microsoft/wml-cex-2018.xsd
  • references/ooxml/schemas/microsoft/wml-cid-2016.xsd
  • references/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd
  • references/ooxml/schemas/microsoft/wml-symex-2015.xsd
  • references/ooxml/scripts/pack.py
  • references/ooxml/scripts/unpack.py
  • references/ooxml/scripts/validate.py
  • references/ooxml/scripts/validation/__init__.py
  • references/ooxml/scripts/validation/base.py
  • references/ooxml/scripts/validation/docx.py
  • references/ooxml/scripts/validation/pptx.py
  • references/ooxml/scripts/validation/redlining.py
  • scripts/__init__.py
  • scripts/document.py
  • scripts/render_docx.py
  • scripts/templates/comments.xml
  • scripts/templates/commentsExtended.xml
  • scripts/templates/commentsExtensible.xml
  • scripts/templates/commentsIds.xml
  • scripts/templates/people.xml
  • scripts/utilities.py

What this skill tells the agent

<instructions> <word_document_professional_suite>

<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
  1. Inspect: Read the generated PNG images. You MUST look for clipped text, overlapping shapes, or misaligned margins.
  2. 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.

2. Redlining & Tracked Changes

For legal or business review:

  • Initialize: Use scripts/document.py. Reference: Read references/ooxml.md for XML patterns.
  • Procedure: Unpack (unpack.py), edit XML using the Document Library, then Pack (pack.py).
  • Standard: You MUST only mark text that actually changes. Keep unchanged text outside <w:del>/<w:ins>.

3. Text Extraction

  • You SHOULD use Pandoc to convert to markdown while preserving structure:
  • pandoc --track-changes=all path-to-file.docx -o output.md

</technical_workflows>

<quality_expectations>

  • Client-Ready: You MUST NOT use Unicode dashes (use ASCII hyphens). No internal AI tokens.
  • Element Ordering: In <w:pPr>, elements MUST follow schema order: Style -> Numbering -> Spacing -> Indent -> Alignment.
  • Visual Fidelity: Charts and tables MUST be sharp and legible in rendered previews.

</quality_expectations>

</word_document_professional_suite> </instructions>

Use this skill in a project

Open any RiverX project, search the Skills panel for igorwarzocha/opencode-workflows/word, and install it in one click.

Use this skill