Individual skill
docx-generation
Use when creating a Word DOCX report from Markdown, converting Markdown tables and lists to DOCX, or choosing a workflow for editing an existing DOCX while preserving its structure and styles. Use this workflow before running Markdown-to-DOCX shell commands. Includes report typography, table layout, a reusable reference document, and a Python converter.
resources/skills/docx-generation/SKILL.md
Source commit 357d1a980056e191f380d0e01ec4fbc7cf529d1b
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 3, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 5,491
- Repository last updated
- Nov 8, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- ai-for-science Repository topic
- local-first Repository topic
- reproducible-research Repository topic
- open-science Repository topic
- ai-research Repository topic
- model-agnostic Repository topic
- scientific-ai Repository topic
- desktop-app Repository topic
- ai-workbench Repository topic
- open-source Repository topic
- design Derived category
- operations Derived category
- writing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
README.mddoc · 4,378 bytesSKILL.mdcore · 5,178 bytesSKILL.mdcore · 5,178 bytesSKILL.mdcore · 5,178 bytesassets/reference.docxasset · 11,062 byteskernel.pyruns · 29,926 bytesopen-science.jsonasset · 254 bytesscripts/build_kernel.pyruns · 1,654 bytesscripts/build_reference.pyruns · 5,915 bytesscripts/convert.pyruns · 8,469 bytes
Read excerpt
# DOCX generation and editing
Choose a workflow that preserves the user's requested content, structure, and presentation. User requirements take precedence over defaults. Keep tables, headings, and lists as native document structures.
## Markdown to a new DOCX
For ordinary reports, use the bundled converter with an existing Pandoc 3.12.1 executable and Python 3.9 or newer. It uses a versioned reference document, separates ordinary table paragraphs from the Compact style shared by lists, and records converter/template provenance inside the DOCX. It does not install software. Run this converter rather than a bare `pandoc source.md -o output.docx` command: that command bypasses the report template and its typography, page geometry, table spacing, and provenance.
In Open Science, first prepare the workflow through the registered Notebook helper:
```json
{
"kernelSkillIds": ["docx-generation"],
"code": "docx_workflow = prepare_docx_conversion('.')\nprint(docx_workflow)"