/ 目录 / 演练场 / thesis-skills
● 社区 quzhiii ⚡ 即开即用

thesis-skills

作者 quzhiii · quzhiii/thesis-skills

Deterministic thesis workflow — Word→LaTeX migration with auto-citation mapping, Citation Lock, Chinese/English language QA, YAML rule-pack format validation.

quzhiii/thesis-skills is a Python-based Claude skill for Chinese academic thesis writing. Handles EndNote/Zotero import, Word-to-LaTeX conversion with auto-citation sync (claimed 5.25× faster than manual), a Citation Lock mechanism to stop reference numbers shifting when you edit, sentence-aware cross-file language screening, YAML rule-pack validation against university format requirements, and span-based patch previews for safe automated fixing (v0.5.2).

为什么要用

核心特性

实时演示

实际使用效果

thesis-skill.replay ▶ 就绪
0/0

安装

选择你的客户端

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "thesis-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/quzhiii/thesis-skills",
        "~/.claude/skills/thesis-skills"
      ],
      "_inferred": true
    }
  }
}

打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "thesis-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/quzhiii/thesis-skills",
        "~/.claude/skills/thesis-skills"
      ],
      "_inferred": true
    }
  }
}

Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "thesis-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/quzhiii/thesis-skills",
        "~/.claude/skills/thesis-skills"
      ],
      "_inferred": true
    }
  }
}

点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "thesis-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/quzhiii/thesis-skills",
        "~/.claude/skills/thesis-skills"
      ],
      "_inferred": true
    }
  }
}

格式与 Claude Desktop 相同。重启 Windsurf 生效。

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "thesis-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/quzhiii/thesis-skills",
        "~/.claude/skills/thesis-skills"
      ]
    }
  ]
}

Continue 使用服务器对象数组,而非映射。

~/.config/zed/settings.json
{
  "context_servers": {
    "thesis-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/quzhiii/thesis-skills",
          "~/.claude/skills/thesis-skills"
        ]
      }
    }
  }
}

加入 context_servers。Zed 保存后热重载。

claude mcp add thesis-skill -- git clone https://github.com/quzhiii/thesis-skills ~/.claude/skills/thesis-skills

一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。

使用场景

实战用法: thesis-skills

Migrate a Word-format thesis draft into LaTeX without remapping 300 citations by hand

👤 Chinese graduate students switching to LaTeX late in the game ⏱ ~120 min intermediate

何时使用: You wrote in Word, adviser demands LaTeX, deadline is in two weeks.

前置条件
  • Skill cloned — git clone https://github.com/quzhiii/thesis-skills ~/.claude/skills/thesis-skills
  • Zotero/EndNote export of your library — Export .bib from Zotero or use EndNote XML
步骤
  1. Import the bibliography
    Use thesis-skills — import my Zotero .bib and cross-reference with the Word doc's citations.✓ 已复制
    → Every Word citation mapped to a .bib entry; gaps flagged
  2. Convert the body
    Now convert Chapter 1 of thesis.docx to LaTeX preserving structure and citations.✓ 已复制
    → Clean .tex with \cite{} keys, not numeric citations
  3. Enable Citation Lock
    Turn on Citation Lock before I start rearranging sections.✓ 已复制
    → Confirmation + a note on how to verify numbering integrity

结果: A LaTeX draft with every citation key intact and a safety net against renumbering bugs.

注意事项
  • Cross-references to figures/tables break during conversion — Run the rule-pack validation pass afterward — it catches dead refs
搭配使用: filesystem

Validate thesis formatting against a specific university's YAML rule pack

👤 Students with university-specific format requirements ⏱ ~45 min intermediate

何时使用: Final submission is next week; format committee rejects on trivia.

步骤
  1. Point at the rule pack
    thesis-skills — validate thesis.tex against the Tsinghua rule pack.✓ 已复制
    → Per-rule pass/fail with line references
  2. Apply patches
    For each safe-level fix, show the span-based patch preview and apply.✓ 已复制
    → Previews show exact before/after; applied only when text matches

结果: A format-compliant thesis without the typical 3 rounds of committee rejections.

Cross-file Chinese/English language QA on the whole thesis

👤 Students writing in a second language or mixing ⏱ ~60 min intermediate

何时使用: Final polish; spell-check isn't enough.

步骤
  1. Run sentence-aware screening
    thesis-skills — full-thesis language screening. Flag connector misuse and acronym inconsistency.✓ 已复制
    → Issues grouped by type, not raw grammar noise
  2. Apply chosen fixes
    Apply the 'safe' level fixes; preview 'risky' ones for my review.✓ 已复制
    → Tiered application so you stay in control

结果: Consistent terminology and tone across all chapters.

组合

与其他 MCP 搭配,撬动十倍杠杆

thesis-skill + filesystem

Operate across the whole thesis tree, not just one file

Run language screen across all .tex files under thesis/.✓ 已复制
thesis-skill + github

Commit each phase (bib import, chapter convert, format fix) as its own revertable step

Commit after each conversion phase so rollback is trivial.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
import_bibliography path to .bib / EndNote XML Start of any migration 0
word_to_latex chapter path + bib state Converting body content 0
citation_lock enable / verify Before structural edits 0
rule_pack_validate thesis path + pack name Before submission 0
language_screen thesis path + scope Final polish 0

成本与限制

运行它的成本

API 配额
None
每次调用 Token 数
Can be large — full-thesis scans
费用
Free — skills are local files
提示
Scope by chapter when possible; full-thesis scans eat context.

安全

权限、密钥、影响范围

凭据存储: No credentials — pure prompts
数据出站: None — thesis stays local

故障排查

常见错误与修复

Skill not invoked — Claude does generic Pandoc conversion

Say 'use thesis-skills' explicitly; Pandoc doesn't do citation lock or rule-pack validation.

验证: ls ~/.claude/skills/thesis-skills/SKILL.md
SKILL.md frontmatter wrong

Re-clone; description drives activation.

验证: head ~/.claude/skills/thesis-skills/SKILL.md
Wrong trigger keywords — language screen misses cross-file issues

Pass 'full-thesis' scope explicitly rather than per-chapter.

替代方案

thesis-skills 对比其他方案

替代方案何时用它替代权衡
PandocGeneric Word↔LaTeX conversion without citation intelligenceNo citation locking, no rule packs
Manual migrationThesis is shortHours of remapping citations

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills