igorwarzocha/opencode-workflows/word
Claude Code and agent skill by igorwarzocha/opencode-workflows
- community
Checking that the SKILL.md file is still in the repository.
Handle Word document (.docx) creation, editing, and analysis with high-fidelity visual review. Use for professional reports, legal documents, and tracked changes. Use proactively when quality and precise formatting are critical. Examples: - user: "Create a professional report in Word" -> use python-docx with render loops - user: "Draft a legal contract with redlines" -> use ooxml redlining workflow - user: "Extract text from this DOCX while preserving structure" -> use pandoc markdown conversion
Install
npx vskill@latest install igorwarzocha/opencode-workflows/wordSKILL.md
<instructions> <word_document_professional_suite>
<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.
2. Redlining & Tracked Changes
For legal or business review:
- Initialize: Use
scripts/document.py. Reference: Readreferences/ooxml.mdfor 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>
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcowork/.opencode/skill/word/SKILL.md
Popularity
- Repository stars
- 118
- Repository forks
- 10
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 11 May 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/igorwarzocha/opencode-workflows/word)