latex-thesis-zh

Diagnose and review Chinese LaTeX thesis projects for compilation, formatting, logic, and AI-writing traces.

Updated Aug 12, 2026
One-click install
npx skills add https://github.com/littlt-momo-c-yfc/skills --skill latex-thesis-zh-littlt-momo-c-yfc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: latex-thesis-zh
Source: https://github.com/littlt-momo-c-yfc/skills/tree/main/skills/latex-thesis-zh
Command: npx skills add https://github.com/littlt-momo-c-yfc/skills --skill latex-thesis-zh-littlt-momo-c-yfc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Graduate students writing Chinese master's or PhD theses in LaTeX face recurring problems: XeLaTeX compilation failures, GB/T 7714 bibliography errors, inconsistent terminology across chapters, weak literature reviews, and prose that reads as AI-generated. This Skill routes each problem to a dedicated diagnostic script and returns review-ready findings without touching citations, labels, or math environments. ## Core Features & Use Cases - Compilation & Template Diagnosis: Builds with XeLaTeX/LuaLaTeX via a safe wrapper, identifies templates such as thuthesis or pkuthss, and reports exact errors with exit codes. - Format & Bibliography Checks: Validates GB/T 7714 references, three-line (booktabs) tables, abstract five-element structure, and chapter/section heading lead-ins. - Logic, Literature & De-AI Review: Detects author-year enumeration in related work, missing research-gap derivation, broken introduction-to-conclusion logic chains, and high-frequency AI-writing phrases with configurable thresholds. - Use Case: A PhD candidate asks why main.tex fails to compile and whether the references follow GB/T 7714; the Skill runs the compile and bibliography modules in sequence and returns line-annotated findings in LaTeX comment format. ## Quick Start Ask the assistant to diagnose your Chinese thesis project, for example: check why main.tex fails to compile with XeLaTeX and verify the references against GB/T 7714.

Frequently Asked Questions about latex-thesis-zh

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check a Chinese LaTeX thesis for GB/T 7714 bibliography compliance?

Run the bibliography module with verify_bib.py against your .bib file using the gb7714 standard flag. It validates entry types, author formatting, page ranges, and DOI presence according to the GB/T 7714-2015 rules documented in the references.

How to detect AI-writing traces in Chinese academic writing?

Use the deai module, which counts high-frequency AI phrases like 首先, 然而, and 显著 against per-document thresholds defined in AI_TONE_THRESHOLDS.yaml. It also flags repeated paragraph openings, throat-clearing sentence starters, and excessive em dashes.

Can this skill handle English conference papers or Typst projects?

No. It is scoped to existing Chinese LaTeX thesis projects only. English conference or journal papers should use latex-paper-en, multi-dimensional review should use paper-audit, and Typst or DOCX-only projects are explicitly out of scope.

Does the thesis checker modify citations or math equations?

No. All modules preserve \cite, \ref, \label commands, bibliography keys, math environments, and template macros. Source-preserving checks like compile and consistency are kept separate from rewriting suggestions so you can validate each change.

Why does XeLaTeX compilation fail on a Chinese thesis template?

Common causes include missing CJK fonts, incorrect compiler selection, or missing packages. The compile module runs through a wrapper script that disables shell escape by default, diagnoses the toolchain, and reports the exact command, exit code, and key stderr output.

What makes a literature review look like simple listing instead of synthesis?

Three or more consecutive sentences following the author-year pattern like 张三(2019)提出了 are flagged as enumeration. The literature module also checks for missing comparison language and absent research-gap derivation at the end of the related work section.