Dilon document compiler
Skill dilontechnologies/dilon-claude-tools/skills/dilon-document-compiler
Compile a Dilon-formatted markdown file (with YAML front matter) into a regulatory-compliant Word document, with signature page, revision history table, and table of contents. Use when asked to compile, convert, or export a Dilon markdown document to Word/.docx.From its SKILL.md
npx -y skills add dilontechnologies/dilon-claude-tools --skill dilon-document-compilerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, as published. Nobody here has run it
Dilon Document Compiler
Wraps the Dilon Document Compiler Python script to convert a markdown file with Dilon YAML front matter into a formatted .docx (signature page + revision table + title page + content with TOC).
Before compiling
Run the dependency check first:
python scripts/check_deps.py
(Run from this skill's directory, or pass the full path to check_deps.py.)
If it reports any [FAIL] line, stop and tell the user exactly which dependency is missing and that install.ps1 (repo root) can install Python/Pandoc/pip packages automatically. Do not attempt compilation with missing dependencies — it will fail partway through and leave temp files behind.
Compiling
Invoke the script with explicit template paths — always pass all four arguments, never rely on the script's own default template lookup:
python scripts/generate_dilon_doc.py <input.md> <output.docx> <signature_template> <content_template>
<input.md>: the markdown file to compile (must have YAML front matter — if it doesn't, point the user at thedilon-document-writerskill first).<output.docx>: defaults to the same name as the input with a.docxextension if the user doesn't specify one.<signature_template>: defaults totemplates/TEMPLATE_Word_Signature.docxin this skill's directory, unless the user supplies a custom one.<content_template>: defaults totemplates/TEMPLATE_Word_Content.docxin this skill's directory, unless the user supplies a custom one.
After the script exits, verify the output file now exists. Report the script's stdout/stderr to the user on failure; report the output path on success.
Input format reference
The input markdown needs YAML front matter shaped like:
---
title: "Document Title"
author: "Author Name"
department: "Engineering"
doc_number: "DD_XXX_XXXXX"
current_revision: "01"
regulatory_rep: "Name"
quality_rep: "Name"
department_head: "Name"
revisions:
- number: "00"
description: "Initial release"
eco_number: "ECO-TBD"
eco_date: "2026-01-01"
- number: "01"
description: "Updated section 2"
eco_number: "ECO-1234"
eco_date: "2026-03-01"
---
Major section headings in the body must be H2 (##) for correct table-of-contents generation.