Generate and manipulate Word documents programmatically: create styled documents, add tables and images, extract text, fill templates, and convert between formats.
When to use this skill
- Generating a Word document
- Filling a docx template
- Extracting text from a Word file
Core concepts
This skill provides guidance on word documents best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/documentation/docx.zip
unzip docx.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- generating a Word document
- filling a docx template
- extracting text from a Word file