latex-thesis-zh

community

Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk). Use this skill whenever a user works on a Chinese master's or doctoral thesis needing compilation, GB/T 7714 bibliography checks, chapter structure mapping, template detection (thuthesis, pkuthss), terminology consistency, logic coherence review, literature review restructuring, related-work synthesis, research-gap derivation, heading lead-in checks, title optimization, de-AI editing, experiment chapter review, three-line table validation, or abstract structure diagnosis. Trigger even for single issues like "帮我编译论文", "检查国标格式", "看看绪论逻辑", "文献综述太像罗列", "研究空白没推出来", "毕业论文", "学位论文", "硕士/博士论文", "三线表", "检查摘要", or "摘要结构".

>_bahayonghang/academic-writing-skills/academic-writing-skills/latex-thesis-zh·commit f6319dd

name: latex-thesis-zh description: Chinese LaTeX thesis assistant for existing .tex degree thesis projects (XeLaTeX/LuaLaTeX/latexmk). Use this skill whenever a user works on a Chinese master's or doctoral thesis needing compilation, GB/T 7714 bibliography checks, chapter structure mapping, template detection (thuthesis, pkuthss), terminology consistency, logic coherence review, literature review restructuring, related-work synthesis, research-gap derivation, heading lead-in checks, title optimization, de-AI editing, experiment chapter review, three-line table validation, or abstract structure diagnosis. Trigger even for single issues like "帮我编译论文", "检查国标格式", "看看绪论逻辑", "文献综述太像罗列", "研究空白没推出来", "毕业论文", "学位论文", "硕士/博士论文", "三线表", "检查摘要", or "摘要结构". metadata: category: academic-writing tags: [latex, thesis, chinese, phd, master, xelatex, gb7714, thuthesis, pkuthss, compilation, bibliography, structure] version: "1.3" last_updated: "2026-04-15" argument-hint: "[main.tex] [--section SECTION] [--module MODULE]" allowed-tools: Read, Glob, Grep, Bash(uv *), Bash(xelatex *), Bash(lualatex *), Bash(latexmk *), Bash(bibtex *), Bash(biber *)

LaTeX 中文学位论文助手

使用此 skill 处理已有中文 LaTeX 学位论文项目中的定向问题。保持低摩擦:先判断最小匹配模块,再运行对应脚本,最后以论文审阅友好的格式返回问题和建议。

Capability Summary

  • 编译并诊断 XeLaTeX / LuaLaTeX / latexmk 构建问题。
  • 检查论文格式、GB/T 7714 相关要求、章节结构、模板类型和术语一致性。
  • 审阅逻辑连贯性、文献综述质量、章节/小节/四级标题导语完整性、实验章节写法、标题表达与 AI 痕迹。
  • 针对文献综述提供“共识 -> 分歧 -> 局限 -> 空白 -> 本文切入点”的重写蓝图。
  • 在不破坏引用、标签和数学环境的前提下给出可落地的中文论文修改建议。

Triggering

当用户拥有一个现有中文 .tex 学位论文项目,并希望你帮助处理以下任务时使用本 skill:

  • 编译失败或工具链不确定
  • 学位论文格式、国标或学校模板检查
  • 章节结构梳理或模板识别
  • 术语、缩略语、命名一致性检查
  • 逻辑连贯性、文献综述质量、标题后导语完整性、跨章节闭合检查
  • 文献综述重写、比较分析不足、研究空白推导薄弱
  • 标题优化、学术表达或去 AI 化检查
  • 实验章节语言与结构审阅

即使用户只提到单一问题,例如“帮我判断是不是 thuthesis”“检查绪论逻辑”或“按 GB/T 7714 看参考文献”,也应触发本 skill。

Do Not Use

不要将此 skill 用于:

  • 英文会议或期刊论文
  • Typst 项目
  • 仅有 DOCX/PDF、没有 LaTeX 源文件的场景
  • 纯文献调研、没有学位论文工程的任务
  • 从零写一篇学位论文
  • 多维度审稿、评分或投稿门控检查(使用 paper-audit
  • 英文会议/期刊论文编辑(使用 latex-paper-en

Module Router

ModuleUse whenPrimary commandRead next
compileThesis build fails or toolchain is unclearuv run python $SKILL_DIR/scripts/compile.py main.texreferences/modules/COMPILE.md
formatUser asks about thesis formatting or GB/T 7714 layoutuv run python $SKILL_DIR/scripts/check_format.py main.texreferences/modules/FORMAT.md
structureNeed chapter/section map or thesis skeleton overviewuv run python $SKILL_DIR/scripts/map_structure.py main.texreferences/STRUCTURE_GUIDE.md
consistencyTerms, abbreviations, or naming drift across chaptersuv run python $SKILL_DIR/scripts/check_consistency.py main.tex --termsreferences/modules/CONSISTENCY.md
templateNeed to identify or validate thesis class/templateuv run python $SKILL_DIR/scripts/detect_template.py main.texreferences/modules/TEMPLATE.md
bibliographyGB/T 7714 or BibTeX validationuv run python $SKILL_DIR/scripts/verify_bib.py references.bib --standard gb7714references/modules/BIBLIOGRAPHY.md
titleOptimize Chinese thesis titles and chapter titlesuv run python $SKILL_DIR/scripts/optimize_title.py main.tex --checkreferences/modules/TITLE.md
deaiReduce AI-writing traces in visible Chinese proseuv run python $SKILL_DIR/scripts/deai_check.py main.tex --section introductionreferences/modules/DEAI.md
logicCheck logical coherence, introduction funnel, heading lead-ins, lit review quality, chapter mainline, and cross-section closureuv run python $SKILL_DIR/scripts/analyze_logic.py main.tex --section relatedreferences/modules/LOGIC.md
literature文献综述像流水账、缺少比较分析、研究空白没有被自然推出uv run python $SKILL_DIR/scripts/analyze_literature.py main.tex --section relatedreferences/modules/LITERATURE.md
experimentReview experiment chapter language, discussion layering, and conclusion completenessuv run python $SKILL_DIR/scripts/analyze_experiment.py main.tex --section experimentsreferences/modules/EXPERIMENT.md
tables表格结构校验、三线表生成、booktabs 检查uv run python $SKILL_DIR/scripts/check_tables.py main.texreferences/modules/TABLES.md
abstract摘要五要素结构诊断与字数校验uv run python $SKILL_DIR/scripts/analyze_abstract.py main.tex --lang zhreferences/modules/ABSTRACT.md

路由规则

  • 先根据用户问题自动推断模块,不把“你想用哪个模块”当成默认追问。
  • 如果一个请求同时包含 2-3 个兼容目标,按固定顺序串行执行,而不是只做第一个:template -> compile -> format -> structure / consistency -> bibliography -> logic / literature -> experiment / title / deai / tables / abstract
  • 涉及模板不明、编译失败、学校规范不清这三类问题时,优先 template,再决定后续是 compile 还是 format
  • 涉及“标题后直接接列表/公式”“绪论-结论闭合”“章节主线”“研究空白推导”“四级标题导语”时,默认走 logic;只有明确要重构文献综述写法时才切到 literature
  • 涉及“实验像项目汇报”“讨论太浅”“结论不完整”“缺少限制与未来工作”时,默认走 experiment,不要误判成纯语言润色。
  • 某个脚本失败时,先返回精确命令、退出码和关键报错,再给出最小下一步,不要静默切换到别的模块掩盖失败。

Required Inputs

  • 论文入口文件,例如 main.tex
  • 可选 --section SECTION,当用户只关注某一章或某一节。
  • 可选 bibliography 路径,当任务聚焦参考文献。
  • 可选学校/模板上下文,当用户关心 thuthesispkuthss 或特定高校要求。

如果参数不完整,保留已推断出的模块,只追问缺失的入口 .tex 文件、section、bibliography 路径或学校/模板上下文,不额外扩展问题。

Output Contract

  • 尽量使用 LaTeX 友好的审阅格式返回问题:% MODULE (L##) [Severity] [Priority]: ...
  • 明确给出执行的命令;若脚本失败,必须报告退出码和关键 stderr。
  • 将“检查结果”和“建议改写”分开陈述,避免把脚本诊断和正文润色混在一起。
  • 默认保留 \cite{}\ref{}\label{}、数学环境、参考文献键和模板宏命令。
  • literature 模块默认先给诊断与重写蓝图;只有用户明确要求时才给段落级改写提案。

Workflow

  1. Parse $ARGUMENTS,先锁定入口文件,再根据用户诉求推断模块;若缺参数,只追问缺失项。
  2. 若请求同时覆盖多个兼容模块,按“路由规则”中的顺序串行执行,并分模块回报结果。
  3. Read the one reference file tied to that module (see "Read next" column).
  4. Run the corresponding script with uv run python ....
  5. Return findings as % Module (L##) [Severity] [Priority]: .... Report exact command and exit code on failure.
  6. If template and structure are both unclear, run template first, then structure.

Safety Boundaries

  • Never fabricate citations, funding statements, acknowledgements, or academic claims.
  • Never rewrite \cite{}, \ref{}, \label{}, math blocks, or bibliography keys unless explicitly asked.
  • Treat title suggestions, de-AI revisions, and logic comments as proposals; keep source-preserving checks separate from edits.

Reference Map

  • references/COMPILATION.md: compilation strategy and toolchain diagnosis.
  • references/GB_STANDARD.md: GB/T 7714 and bibliography-related checks.
  • references/STRUCTURE_GUIDE.md: thesis structure expectations and chapter mapping.
  • references/LOGIC_COHERENCE.md: logic, coherence, heading lead-ins, consistency, and literature-review expectations.
  • references/TITLE_OPTIMIZATION.md: Chinese academic title heuristics.
  • references/DEAI_GUIDE.md: de-AI review heuristics.
  • references/modules/EXPERIMENT.md: experiment-chapter review criteria.
  • references/UNIVERSITIES/: school/template-specific constraints after template detection.

只读取当前模块所需的参考文件,避免一次加载整套指南。

Example Requests

  • “帮我定位这个中文学位论文 main.tex 为什么 XeLaTeX 一直编译失败,并判断是不是 thuthesis 模板。”
  • “请梳理这篇硕士论文的章节结构,并检查术语和缩略语是否前后统一。”
  • “按 GB/T 7714 帮我检查参考文献,再看看绪论是不是有明显 AI 腔。”
  • “检查 related work 的逻辑链条和研究空白推导,但不要动任何引用和公式。”
  • “把文献综述从作者年份罗列改成按主题对话式写法,但不要新增任何引用。”
  • “帮我检查每一章、每一节、四级标题后有没有先写导语,不要只看格式。”