Create, revise, and format thesis or dissertation Word documents with strict academic formatting control. Use when an AI agent needs to generate or revise thesis content, normalize Word styles, follow a school template, fix captions or page numbers or section levels, or produce evidence-based Mermaid figures and LaTeX-formatted code listings for a thesis document.
Use this skill for thesis-oriented .docx work where content quality and
format fidelity both matter. Prefer Microsoft Word desktop automation over
WPS-like alternatives whenever the task involves batch formatting, styles,
captions, pagination, tables of contents, or cross-references.
This skill is designed to avoid the most common thesis-editing failure mode: the agent makes broad formatting changes too early, introduces new layout problems, and then forces the user to catch them one by one. The default behavior should therefore be:
powershell -ExecutionPolicy Bypass -File scripts/check_word_com.ps1 -Json
must enforce: school guide, template, user-confirmed style rulespreserve current state: anything the school guide does not definescripts/audit_docx_ooxml.py before large-scale formatting.Body TextHeading 1 / Heading 2 / Heading 3Figure CaptionTable CaptionReferencesAbstractKeywordsAppendix TitlefirstLineChars, numbering indentation, titlePg,
differentFirstPageHeaderFooter, REF field display text, and direct run
formatting.Before bulk editing, produce and internally follow a checklist like this:
Do not say "finished" merely because a structural audit looks good. For thesis work, pagination and page-level rendering are part of correctness.
Read references/failure-patterns-and-quality-gates.md before large-scale
formatting work. In particular, guard against:
firstLineChars or numbering indentation creating invisible extra indentsFor school-format-sensitive thesis work, final verification should prefer this
Edit PDFs with natural-language instructions using the nano-pdf CLI.