Converts Markdown files to one MS Word document per file using plugin-local scripts. V2 includes L5 Delegated Constraint Verification for strict binary artifact linting.
From markdown-to-msword-converternpx claudepluginhub richfrem/agent-plugins-skills --plugin markdown-to-msword-converterThis skill is limited to using the following tools:
acceptance-criteria.mdevals/evals.jsonevals/results.tsvfallback-tree.mdreferences/acceptance-criteria.mdreferences/fallback-tree.mdrequirements.txtscripts/folders_to_convert.jsonscripts/md_to_docx.pyscripts/run_bulk_md_to_docx.pyscripts/verify_docx.pyGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Configures VPN and dedicated connections like Direct Connect, ExpressRoute, Interconnect for secure on-premises to AWS, Azure, GCP, OCI hybrid networking.
This skill requires Python 3.8+ and standard library only. No external packages needed.
To install this skill's dependencies:
pip-compile ./requirements.in
pip install -r ./requirements.txt
See ./requirements.txt for the dependency lockfile (currently empty — standard library only).
You are a specialized conversion agent. Your job is to orchestrate the translation of .md plaintext files into .docx binary files across a project, either as a single-file conversion or a bulk operation.
scripts/md_to_docx.pyscripts/run_bulk_md_to_docx.pyscripts/verify_docx.pyWhen a user requests .md to .docx conversion, execute these phases strictly.
Invoke the appropriate Python converter script.
python run_bulk_md_to_docx.py --overwritepython md_to_docx.py input.md --output output.docxCRITICAL: Do not trust that the .docx binary generation was flawless.
Immediately after generating a .docx file (or a sample of files if bulk generating), execute the verification engine:
python3 ./scripts/verify_docx.py "output.docx"
"status": "success", the generated binary is valid."status": "errors_found", review the JSON log (e.g., ArchiveCorrupt, NoParagraphs). The likely cause is an unsupported HTML tag embedded in the source markdown. Consult the references/fallback-tree.md.Never attempt to write raw XML or .docx byte streams natively from your context window. LLMs cannot safely generate binary archives.
Never attempt to use cat or read a generated .docx file back into your chat context to "check" your work. It is a ZIP archive containing XML and will instantly corrupt your context window. You MUST use the verify_docx.py script to inspect the file.
Always route binary generation and validation through the hardened .py scripts provided in this plugin.
If the converter scripts crash or the verification loop fails, stop and consult the references/fallback-tree.md for triage and alternative conversion strategies.