Skip to content

latex-thesis-zh

Chinese LaTeX degree-thesis assistant for existing .tex projects. It covers source-level diagnosis, thesis argument and chapter structure, school-template constraints, and final-review checks without silently changing citations, labels, mathematics, or template macros.

Use It For

  • Diagnose XeLaTeX, LuaLaTeX, latexmk, template, layout, formula, and GB/T 7714 issues.
  • Map chapter structure and check terminology, abbreviations, references, tables, and headings.
  • Review the introduction funnel, literature synthesis, method and process chapters, experiments, abstracts, conclusions, and cross-chapter closure.
  • Reduce AI-writing traces while preserving academic claims and LaTeX syntax.
  • Run school-specification and blind-review checks before submission.

Do Not Use It For

  • English conference or journal papers; use latex-paper-en.
  • Typst projects; use typst-paper.
  • PDF-only, multi-dimensional reviewer reports; use paper-audit.
  • Pure literature discovery, DOCX-only work, or writing a thesis from scratch.

Module Router

ModuleUse whenPrimary command
compileThe thesis build fails or the toolchain is unclearuv run python academic-writing-skills/latex-thesis-zh/scripts/compile.py main.tex
formatLayout, formula wrapping, draft residue, or placeholder rows need checkinguv run python academic-writing-skills/latex-thesis-zh/scripts/check_format.py main.tex
structureYou need a chapter and section mapuv run python academic-writing-skills/latex-thesis-zh/scripts/map_structure.py main.tex
consistencyTerms, abbreviations, or names drift across chaptersuv run python academic-writing-skills/latex-thesis-zh/scripts/check_consistency.py main.tex --terms
templateThe thesis class or school template is unclearuv run python academic-writing-skills/latex-thesis-zh/scripts/detect_template.py main.tex
bibliographyBibTeX data or GB/T 7714 compliance needs checking; use --standard gb7714-2025 for the standard effective from 2026-07-01uv run python academic-writing-skills/latex-thesis-zh/scripts/verify_bib.py references.bib --standard gb7714
titleThesis, chapter, or section titles need reviewuv run python academic-writing-skills/latex-thesis-zh/scripts/optimize_title.py main.tex --check --headings
deaiVisible Chinese prose contains AI-writing tracesuv run python academic-writing-skills/latex-thesis-zh/scripts/deai_check.py main.tex --section introduction
logicThe introduction funnel, chapter handoffs, mainline, or closure is weakuv run python academic-writing-skills/latex-thesis-zh/scripts/analyze_logic.py main.tex
literatureThe literature review lists papers without synthesis or a defensible gapuv run python academic-writing-skills/latex-thesis-zh/scripts/analyze_literature.py main.tex --section related
experimentExperiment language, evidence layers, or per-method-chapter completeness needs reviewuv run python academic-writing-skills/latex-thesis-zh/scripts/analyze_experiment.py main.tex
referencesCross-references, captions, labels, or numbering are inconsistentuv run python academic-writing-skills/latex-thesis-zh/scripts/check_references.py main.tex
tablesThree-line tables, booktabs structure, or table generation needs checkinguv run python academic-writing-skills/latex-thesis-zh/scripts/check_tables.py main.tex
abstractAbstract structure, length, or Chinese-English consistency needs diagnosisuv run python academic-writing-skills/latex-thesis-zh/scripts/analyze_abstract.py main.tex
conclusionThe conclusion lacks summary, contributions, outlook, or numerical consistencyuv run python academic-writing-skills/latex-thesis-zh/scripts/analyze_conclusion.py main.tex
spec-checkA final thesis must be checked item by item against a school specificationuv run python academic-writing-skills/latex-thesis-zh/scripts/check_spec.py main.tex --template yanshan --degree doctor
blind-reviewPersonal information must be detected or removed in a review copyuv run python academic-writing-skills/latex-thesis-zh/scripts/blind_review.py main.tex --check

Minimum Inputs

  • A thesis entry file such as main.tex; multi-file projects may use \input and \include.
  • A bibliography path for bibliography checks.
  • Optional chapter or section, school/template context, and degree type for targeted checks.
  • For online bibliography verification, explicit permission to send citation metadata externally.

First Commands

bash
uv run python academic-writing-skills/latex-thesis-zh/scripts/detect_template.py main.tex
uv run python academic-writing-skills/latex-thesis-zh/scripts/map_structure.py main.tex
uv run python academic-writing-skills/latex-thesis-zh/scripts/compile.py main.tex

Run the smallest matching module. For multi-part requests, follow the order documented in routing rules. Compilation must go through compile.py; do not invoke TeX tools directly.

Output Artifacts

  • Source-located diagnostics in % MODULE (L##) [Severity] [Priority]: ... form.
  • Exact commands, exit codes, and key stderr when a script fails.
  • Structure maps, template signals, bibliography findings, and source-preserving rewrite proposals.
  • Separate findings and proposed edits; no fabricated citations, data, claims, funds, or acknowledgments.
  • Blind-review output only in *_blind copies, with the original source unchanged.

Public Resources

Module References

Writing References

Formatting, Citations, And De-AI References

Templates

Examples

Common Requests And Handoffs

Use this skill for source-level thesis work: template detection, controlled compilation, chapter diagnosis, writing review, specification checks, and blind-review copies. Hand off English papers to latex-paper-en, Typst sources to typst-paper, local bibliography discovery to bib-search-citation, and final multi-dimensional reviewer reports to paper-audit.

Released under the MIT License.