Thesis docx production
Skill lihongqing2001-gif/chinese-thesis-production-skills/skills/thesis-docx-production
Evidence-first Codex skills for guided Chinese STEM thesis production
npx -y skills add lihongqing2001-gif/chinese-thesis-production-skills --skill thesis-docx-productionAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 13 days oldThe repository was created 13 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 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.
What its author says it does
Copied from the file, not written here
Build, patch, and verify Chinese thesis DOCX files while preserving an author-declared Word baseline and school template. Use for Pandoc/CSL export, minimal OOXML edits, page size, headers, page numbers, TOC fields, figure/table captions, three-line tables, citation superscripts, equations, fonts, references, comments, tracked changes, or final rendered-page quality assurance.
SKILL.md
2.6 KB, as published. Nobody here has run it
Thesis DOCX Production
Choose the production mode from the document state.
Mode A: controlled build
Use when Markdown and structured assets are authoritative.
- Verify bibliography, CSL, Word reference document, figures, and chapter order.
- Run citation and claim audits.
- Build with Pandoc citeproc.
- Apply only documented school-specific post-processing.
- Audit OOXML and render every page.
Mode B: minimal patch
Use when the author has manually corrected Word formatting or explicitly names a DOCX as the baseline.
- Hash and preserve the baseline.
- Unpack a copy.
- Modify only declared paragraphs, runs, relationships, styles, or section properties.
- Repack to a new file.
- Compare text, image, table, section, and reference counts.
- Verify the baseline hash remains unchanged.
Do not rebuild the entire document with Pandoc in Mode B.
Formatting rules
Extract rules from the current school document and accepted exemplar. Do not assume generic Chinese thesis conventions override explicit local rules.
Check at minimum:
- A4 and margins;
- heading hierarchy and page starts;
- headers and page-number sections;
- TOC fields and error strings;
- Chinese/Latin fonts and sizes;
- variable italics and true Word sub/superscripts;
- centered equations and right-aligned numbers;
- citations in the required baseline/superscript form;
- figure/table caption placement and bilingual line structure;
- three-line tables and cross-page behavior;
- reference list CSL conformity;
- comments, tracked changes, hidden placeholders, and duplicate media.
Read references/ooxml-policy.md before low-level edits and references/word-qa.md before delivery.
Tools
Build from Markdown:
bash scripts/build_docx.sh chapter.md output.docx references.bib style.csl template.docx
Audit a DOCX:
python scripts/audit_docx.py thesis.docx --baseline baseline.docx \
--report reports/docx.json --strict
Structural success is not visual success. Convert to PDF or page images and inspect all pages, especially tables, group figures, equations, references, and section transitions.