/project-documenter:md-to-docxfrom project-documenter
Converts Markdown files to styled Word .docx documents with title page metadata, table of contents, tables, code blocks, links, and embedded PNG images using pure JavaScript (no Pandoc/LibreOffice).
Ships in project-documenter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Convert a Markdown .md file into a styled Word .docx document; parse YAML front-matter, headings, tables, lists, code, links, horizontal rules, and PNG image references, then emit a portable document using the bundled Node.js script.
.docx from this .md report."scripts/package.json: docx 9+ and marked 15+.npm install from the skill's scripts folder before the first conversion or after dependency changes.cd skills/md-to-docx/scripts && npm install
node skills/md-to-docx/scripts/md-to-docx.mjs <input.md> [output.docx]
[output.docx] is omitted, expect <input-basename>.docx in the current directory..docx only if the task requires verification beyond successful script completion.| Markdown feature | Word output |
|---|---|
| YAML front-matter | Title page values from title, date, version, and audience. |
title containing — or – | Split into main title and subtitle. |
| H1-H3 headings | Document headings and generated table of contents entries. |
| Paragraphs and links | Styled body text; links preserved as link text and target where supported. |
| Tables | Styled tables with alternating row colors. |
| Code blocks | Consolas-styled code sections. |
| Lists | Word bullet or numbered lists. |
| Horizontal rules | Section separators. |
 PNG images | Embedded inline image resolved relative to the input Markdown file. |
| Missing image file | Placeholder text [Image not found: <path>]. |
The converter resolves image paths relative to the input Markdown file, reads the PNG header to determine dimensions, and scales each image to fit within 6 inches width while preserving aspect ratio.

---
title: Project Name — Project Summary
date: 2025-01-15
version: 1.0
audience: Engineering Team, Architects, Stakeholders
---
The skill package contains SKILL.md plus converter scripts; the old title used the word SKILL, but the runtime entry point is this Agent Skill. Installation is a one-time dependency step, not a system-level install. Heading color is #1F3864, default output examples may use output.docx, and the document styling uses Calibri headings, alternating table rows, and Consolas code blocks.
| Resource | Use when | Notes |
|---|---|---|
scripts/md-to-docx.mjs | Running the conversion | Pure JavaScript converter; no Pandoc, LibreOffice, or native binary required. |
scripts/package.json | Installing dependencies | Contains docx and marked. |
npm install must run where scripts/package.json lives.<input.md>.[Image not found: <path>], so inspect the document if image completeness matters.## Markdown to docx result
**Status:** converted | blocked
**Input:** `<input.md>`
**Output:** `<output.docx>`
**Command:** `node skills/md-to-docx/scripts/md-to-docx.mjs <input.md> [output.docx]`
### Features used
- Front-matter title page: yes | no
- Table of contents: yes | no
- PNG images embedded: <count or not checked>
- Missing image placeholders: <count or not checked>
### Validation
- Dependencies installed: pass | not needed | fail
- Converter exit status: pass | fail
npm install was run in skills/md-to-docx/scripts when dependencies were missing.node skills/md-to-docx/scripts/md-to-docx.mjs <input.md> [output.docx].<input-basename>.docx when omitted..docx path was reported.What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin project-documenterOther plugins' skills for the same job