/ ディレクトリ / プレイグラウンド / 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と組み合わせて10倍の力を

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
呼び出しあたりのトークン
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を見る