Skip to content
Development
Skill

/scholar-thesis-docx

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

From plugin
maestro-flow
51124 skills25 agents29 commands3 MCP
Install
$ npx -y skills add catlog22/maestro-flow --skill scholar-thesis-docx --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/scholar-thesis-docx

Context preview

The summary Claude sees to decide when to auto-load this skill.

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

SKILL.md

scholar-thesis-docx.SKILL.md
name: thesis-docx
disable-model-invocation: true
description: 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.
session-mode: none

Thesis DOCX

Overview

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:

1. audit first, 2. separate explicit school requirements from unspecified formatting, 3. fix only what is justified, 4. re-check page by page before claiming completion.

Pre-load (before execution)

1. **Codebase docs**: If `.workflow/codebase/ARCHITECTURE.md` exists, read for project context 2. **Specs**: `maestro load --type spec --category coding` — load coding conventions 3. **Wiki knowledge**: `maestro search "thesis academic writing docx formatting" --json` — top 5 entries as prior context 4. All optional — proceed without if unavailable

Workflow

1. Check Microsoft Word and COM/DOM automation first.

  • On Windows, run:
   powershell -ExecutionPolicy Bypass -File scripts/check_word_com.ps1 -Json
  • If Word is missing, COM is unavailable, or DOM access fails:
  • Stop the automation-heavy plan.
  • Tell the user to install desktop Microsoft Word.
  • Explain briefly that WPS or similar tools are likely to degrade layout

fidelity for thesis formatting. 2. Read the user's real constraints before editing.

  • Collect the thesis template, school formatting guide, screenshots,

existing document, sample pages, and any explicit chapter rules.

  • If the user gave formal requirements, follow them strictly.
  • If the user did not give requirements, do not invent school-specific

standards. Use conservative academic defaults and say that they are defaults.

  • Explicitly classify requirements into two buckets before editing:
  • `must enforce`: school guide, template, user-confirmed style rules
  • `preserve current state`: anything the school guide does not define

3. Audit the DOCX / OOXML before risky bulk edits.

  • Prefer `scripts/audit_docx_ooxml.py` before large-scale formatting.
  • Use it to detect hidden indentation, section drift, stale REF display

text, and style-ID mismatches before deciding on a repair strategy. 4. Standardize with styles, not scattered direct formatting.

  • Reuse and repair existing styles whenever possible.
  • Create missing styles only when no matching style exists.
  • Keep body text, headings, figure captions, table captions, references,

abstract, and appendix styles separate and consistent.

  • Before changing any style globally, inspect whether the document contains

direct paragraph formatting or OOXML overrides that will survive the style change. 5. Edit content only from user-provided facts.

  • Expand, polish, or reorganize thesis text only within the user's topic,

evidence, codebase, notes, or source material.

  • Do not invent experimental data, system structure, entities, or results.

6. Generate figures only when the source material is sufficient.

  • Use Mermaid for architecture diagrams, E-R diagrams, flow charts, state

diagrams, and similar thesis figures.

  • Base every node, field, relation, and dependency on real materials from

the user, such as code, SQL schema, API docs, project docs, or the thesis draft itself.

  • If the materials are insufficient, refuse to fabricate the figure and ask

for the missing source information. 7. Typeset code with LaTeX conventions when thesis code excerpts are needed.

  • Keep only the code relevant to the argument.
  • Preserve real identifiers from the user's code or design.
  • Avoid synthetic filler code written only to look complete.

8. Audit before you claim completion.

  • Run a structure audit first: styles, sections, captions, references,

page number scheme, cross-references, hidden paragraph overrides.

  • Then export the document to PDF from Word and review page by page.
  • Only say the task is complete after the PDF-level audit passes or after

you clearly state the remaining manual visual checks.

Style Strategy

  • Treat styles as the single source of truth for formatting.
  • Prefer these logical style buckets:
  • `Body Text`
  • `Heading 1` / `Heading 2` / `Heading 3`
  • `Figure Caption`
  • `Table Caption`
  • `References`
  • `Abstract`
  • `Keywords`
  • `Appendix Title`
  • If the document already has equivalent styles, map to them and normalize

their font, spacing, indentation, and numbering behavior.

  • If direct formatting conflicts with styles, reduce the direct formatting and

bring the document back under style control.

  • Do not globally normalize sections that the school guide does not specify.

Examples of high-risk overreach:

  • page header/footer redesign when the user only asked for headings
  • changing code box appearance when the task is only about references
  • normalizing table internals when the school guide does not regulate them
  • When a visual issue remains after style normalization, inspect hidden OOXML

state such as `firstLineChars`, numbering indentation, `titlePg`, `differentFirstPageHeaderFooter`, REF field display text, and direct run formatting.

Audit-First Discipline

Before bulk editing, prod

Read more
Ships withmaestro-flow

Intent-driven workflow orchestration for multi-agent AI development — adaptive lifecycle engine, self-reinforcing knowledge graph, and visual dashboard for Claude Code, Gemini, Codex & more

Get the whole plugin

Other skills on maestro-flow.