Thesis Skill — Development skill for Claude Code
检查并自动修正中国高校毕业论文 Word 排版|A CLI + Agent Skill that checks and fixes Chinese thesis formatting (GB/T 7714, 三线表, 页眉页码).
How to install Thesis Skill
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Hua123456-sudo/thesis-skill and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Thesis Skill does
检查并自动修正中国高校毕业论文 Word 排版|A CLI + Agent Skill that checks and fixes Chinese thesis formatting (GB/T 7714, 三线表, 页眉页码).
Alternatives in Development
- Thesis Drift — 投资论文漂移检测:分清事实变化与措辞变化 15.9k ★
- Thesis — 投资逻辑追踪 — 5 条核心支柱的当前状态 + 信念度 + 建议动作 6.6k ★
- Academic Pptx Skill — A Claude Skill for creating academic presentations (conference talks, seminar slides, thesis defenses, grant b 811 ★
README
thesis-skill
[English](README.en.md) | 简体中文
  
一条命令检查并自动修正中国高校毕业论文(设计)的 Word 排版。

`thesis-check` 直接读 `.docx` 的 OOXML,按学校规范检查页边距、字体字号、行距、页眉页码、目录、标题层级、摘要关键词、参考文献、三线表和图题表题;`thesis-fix` 只改版式,不改正文,默认输出一个副本。
[静态修复前后对比](assets/before-after-v2.png)
- 50+ 条检查规则,覆盖盲审最常挑的格式项
- 规则写在 YAML 里,换学校只改数值
- 纯本地运行,论文不上传任何服务器
- 可作为 Agent Skill 交给 Claude Code / Cursor / Codex / Hermes 使用
快速开始
git clone https://github.com/Hua123456-sudo/thesis-skill.git
cd thesis-skill
pip install -r requirements.txt
# 1. 检查(只读,不改文件)
python scripts/check.py 你的论文.docx --preset presets/cn-thesis.yaml
# 2. 修正(默认输出 你的论文.fixed.docx)
python scripts/fix.py 你的论文.docx --preset presets/cn-thesis.yaml
# 3. 复检
python scripts/check.py 你的论文.fixed.docx --preset presets/cn-thesis.yaml
示例(`examples/messy-thesis.docx` 是故意做坏的演示文件):
$ python scripts/check.py examples/messy-thesis.docx --preset presets/cn-thesis.yaml
thesis-check | 中国高校毕业论文(设计)通用模板
结果:13 个错误,30 个警告
ERROR MARGIN_LEFT 左边距应为 3.0 cm(2 节不符)
ERROR HEADER_MISSING 缺少页眉「XX大学本科毕业论文(设计)」 [第 1 节]
ERROR BODY_FONT ×10 正文中文应为宋体(10 处)
ERROR BODY_SIZE ×10 正文字号应为12pt(小四)(10 处)
ERROR REF_COUNT 参考文献 8 篇,规范要求不少于 15 篇
WARN TOC_FIELD 未检测到 TOC 域,目录可能是手打的
...
$ python scripts/fix.py examples/messy-thesis.docx --preset presets/cn-thesis.yaml
已修正 页面设置: 2
已修正 页眉/页码: 2
已修正 正文: 10
已修正 标题: 10
已修正 三线表: 1
...
修复后复检:**13 个错误 → 2 个错误,30 个警告 → 6 个警告**。剩下的 2 个错误是“参考文献只有 8 篇、外文 0 篇”,属于内容问题,工具不会替你编文献。
检查项
| 类别 | 检查内容 | 自动修正 |
|---|---|---|
| 页面 | A4、上 2.5 / 下 2.5 / 左 3.0 / 右 2.5 cm、分节 | ✅ |
| 页眉页脚 | 页眉文字/宋体小五/居中/下双线、页码 PAGE 域、目录页无页眉页码 | ✅(目录需独立分节) |
| 标题 | 一级小三居中加粗、二级四号、三级小四、章前分页、章号/节号连续 | ✅ |
| 正文 | 宋体小四、英文数字 Times New Roman、1.5 倍行距、首行缩进 2 字符、不加粗 | ✅ |
| 摘要 | 中英文标题 |
Related Skills
Emoji Sticker Cn
中文表情包生成合规助手:微信 / 小红书 / 抖音尺寸硬约束 + 违禁词校验 + 平台规范巡检更新 + 零成本程序化动画 GIF。Compliant emoji & sticker generator for Chine
Citation Check
Claude Code skill that audits the citations in a manuscript: fetches the cited papers, checks each paper says
Chinese Script Policy
Harness-neutral Traditional Chinese enforcer and offline converter (skill / DSH bundle / CLI). Checks four axe
Dissertation Polisher Zh
中文学位论文润色工具 Thesis Polishing Skill (Chinese Version)
Cumt Journal Formatting
《中国矿业大学学报》投稿排版 Skill:全文排版、格式体检、参考文献转换与 Word 模板生成
Locale Trap Hunter
Claude skill that finds and fixes code that breaks under a Turkish (tr-TR) or other non-English locale: the Tu
Related Agents
Node Tooling Engineer
Builds and fixes skillgate's CLI internals — argument parsing, file discovery, and output formatting. Use for
Fpm Thai Language
Fixes Thai word segmentation from STT output. Joins compound words, cleans filler, validates Thai grammar. Mec
Go CLI UX
Design and implement CLI user experience, commands, flags, and output formatting