Thesis Docx 标志

Thesis Docx

社区
the-shy123456
thesis-docx

在严格控制学术格式的前提下,创建、修订并排版论文或学位论文 Word 文档。当 AI 智能体需要生成或修订论文内容、统一 Word 样式、遵循学校模板、修正图注、页码或章节级别,或为论文文档制作有依据的 Mermaid 图和 LaTeX 格式代码清单时使用。

Add to TypingMind

概览

发布者the-shy123456
代码仓库thesis-docx
技能名称thesis-docx
星标数
478
复刻数
25
附带文件
15
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 15 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 the-shy123456 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Thesis Docx AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/the-shy123456/thesis-docx/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/the-shy123456/thesis-docx.git \
  .claude/skills/thesis-docx
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Thesis Docx,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Thesis Docx。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Thesis Docx 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Thesis DOCX

Overview

Use this skill for thesis-oriented .docx work where content quality and format fidelity both matter. Prefer Microsoft Word desktop automation over WPS-like alternatives whenever the task involves batch formatting, styles, captions, pagination, tables of contents, or cross-references.

This skill is designed to avoid the most common thesis-editing failure mode: the agent makes broad formatting changes too early, introduces new layout problems, and then forces the user to catch them one by one. The default behavior should therefore be:

  1. audit first,
  2. separate explicit school requirements from unspecified formatting,
  3. fix only what is justified,
  4. re-check page by page before claiming completion.

Workflow

  1. Check Microsoft Word and COM/DOM automation first.
    • On Windows, run:
    powershell
    powershell -ExecutionPolicy Bypass -File scripts/check_word_com.ps1 -Json
    • If Word is missing, COM is unavailable, or DOM access fails:
      • Stop the automation-heavy plan.
      • Tell the user to install desktop Microsoft Word.
      • Explain briefly that WPS or similar tools are likely to degrade layout fidelity for thesis formatting.
  2. Read the user's real constraints before editing.
    • Collect the thesis template, school formatting guide, screenshots, existing document, sample pages, and any explicit chapter rules.
    • If the user gave formal requirements, follow them strictly.
    • If the user did not give requirements, do not invent school-specific standards. Use conservative academic defaults and say that they are defaults.
    • Explicitly classify requirements into two buckets before editing:
      • must enforce: school guide, template, user-confirmed style rules
      • preserve current state: anything the school guide does not define
  3. Audit the DOCX / OOXML before risky bulk edits.
    • Prefer scripts/audit_docx_ooxml.py before large-scale formatting.
    • Use it to detect hidden indentation, section drift, stale REF display text, and style-ID mismatches before deciding on a repair strategy.
  4. Standardize with styles, not scattered direct formatting.
    • Reuse and repair existing styles whenever possible.
    • Create missing styles only when no matching style exists.
    • Keep body text, headings, figure captions, table captions, references, abstract, and appendix styles separate and consistent.
    • Before changing any style globally, inspect whether the document contains direct paragraph formatting or OOXML overrides that will survive the style change.
  5. Edit content only from user-provided facts.
    • Expand, polish, or reorganize thesis text only within the user's topic, evidence, codebase, notes, or source material.
    • Do not invent experimental data, system structure, entities, or results.
    • Do not expose agent reasoning or data-feeding context inside the thesis prose. Forbidden patterns include thesis-language such as:
      • "根据已有工程"
      • "根据现有代码"
      • "将任务书和代码喂给模型后"
      • "通过分析用户提供的代码"
      • any wording that sounds like an AI workflow note instead of thesis prose
    • Write in normal thesis voice, not in prompt-engineering voice, review voice, or chain-of-thought voice.
    • Prefer neutral academic narration that reads like student writing, e.g. "本文设计并实现了……", "系统采用了……", "在该模块中……"
    • Avoid first-order meta-explanations about how the text was generated, inferred, or assembled.
  6. Generate figures only when the source material is sufficient.
    • Use Mermaid for architecture diagrams, E-R diagrams, flow charts, state diagrams, and similar thesis figures.
    • Base every node, field, relation, and dependency on real materials from the user, such as code, SQL schema, API docs, project docs, or the thesis draft itself.
    • If the materials are insufficient, refuse to fabricate the figure and ask for the missing source information.
  7. Typeset code with LaTeX conventions when thesis code excerpts are needed.
    • Keep only the code relevant to the argument.
    • Preserve real identifiers from the user's code or design.
    • Avoid synthetic filler code written only to look complete.
  8. Audit before you claim completion.
    • Run a structure audit first: styles, sections, captions, references, page number scheme, cross-references, hidden paragraph overrides.
    • Then export the document to PDF from Word and review page by page.
    • Only say the task is complete after the PDF-level audit passes or after you clearly state the remaining manual visual checks.

Style Strategy

  • Treat styles as the single source of truth for formatting.
  • Prefer these logical style buckets:
    • Body Text
    • Heading 1 / Heading 2 / Heading 3
    • Figure Caption
    • Table Caption
    • References
    • Abstract
    • Keywords
    • Appendix Title
  • If the document already has equivalent styles, map to them and normalize their font, spacing, indentation, and numbering behavior.
  • If direct formatting conflicts with styles, reduce the direct formatting and bring the document back under style control.
  • Do not globally normalize sections that the school guide does not specify. Examples of high-risk overreach:
    • page header/footer redesign when the user only asked for headings
    • changing code box appearance when the task is only about references
    • normalizing table internals when the school guide does not regulate them
  • When a visual issue remains after style normalization, inspect hidden OOXML state such as firstLineChars, numbering indentation, titlePg, differentFirstPageHeaderFooter, REF field display text, and direct run formatting.

Audit-First Discipline

Before bulk editing, produce and internally follow a checklist like this:

  1. Which parts are explicitly regulated by the school guide?
  2. Which parts are user-defined house rules?
  3. Which parts are currently acceptable and must be preserved?
  4. Which problems are structural vs. visual-only?
  5. Which fixes can be done safely through styles?
  6. Which fixes require Word COM or OOXML-level patching?

Do not say "finished" merely because a structural audit looks good. For thesis work, pagination and page-level rendering are part of correctness.

High-Risk Pitfalls

Read references/failure-patterns-and-quality-gates.md before large-scale formatting work. In particular, guard against:

  • style names that look correct but map to the wrong style IDs
  • paragraph-level direct formatting that overrides the intended style
  • firstLineChars or numbering indentation creating invisible extra indents
  • TOC fields or cross-reference fields showing stale display text
  • section-level first-page settings causing missing headers or page numbers
  • Word vs. WPS differences for table row height, vertical alignment, and code box title clipping
  • punctuation normalization that accidentally rewrites DOI, URLs, code, or English references

Visual Review Rule

For school-format-sensitive thesis work, final verification should prefer this order:

  1. Word COM/DOM structural checks
  2. Word export to PDF
  3. page-by-page PDF review
  4. only then final delivery language

If page rendering cannot be verified, say so explicitly instead of implying the formatting is fully validated.

Figure Rules

  • Use Mermaid when a thesis figure is needed and the structure can be traced to real source material.
  • Keep the diagram academically neutral and concise.
  • Avoid decorative labels, chatty callouts, and speculative entities.
  • Match the user's terminology unless it conflicts with the real materials.
  • Read references/figure-and-code-rules.md before generating diagrams.

Thesis Voice Rule

Read references/thesis-voice-and-style.md before generating or rewriting body text. In particular:

  • thesis prose must sound like thesis prose, not like notes about how the AI reasoned
  • student-facing academic narration is preferred over review-style meta commentary
  • do not leak the existence of source-feeding, code-ingestion, or analysis steps into the final paper text

Before finalizing thesis prose, quickly self-check:

  1. Does the paragraph describe the system/research itself, rather than how the assistant inferred it?
  2. Does the paragraph sound like thesis narration instead of prompt notes?
  3. Does the paragraph avoid phrases like "根据现有代码", "根据已有工程", "通过分析用户提供的代码", or similar workflow-language?
  4. Would the sentence still make sense if the reader had no idea an AI helped draft it?

Code Listing Rules

  • Prefer LaTeX-oriented code presentation when the thesis includes code listings.
  • Keep the listing faithful to the actual code.
  • Trim non-essential boilerplate when it does not support the thesis argument.
  • If the user requests a specific LaTeX package or listing style, follow it.

Resource Guide

  • scripts/check_word_com.ps1
    • Detect whether Microsoft Word desktop and COM/DOM automation are available.
  • scripts/audit_docx_ooxml.py
    • Audit DOCX styles, direct indentation, section settings, numbering, and REF field behavior before making risky formatting changes.
  • scripts/normalize_word_styles.ps1
    • Batch-normalize thesis body text, Heading 1-3, figure captions, and table captions through Word COM automation.
  • scripts/export_word_pdf.ps1
    • Export the current thesis document to PDF through Word COM for page-level review.
  • scripts/render_mermaid_figure.ps1
    • Render Mermaid source into thesis-ready SVG, PNG, or PDF figure assets.
  • references/paper-format-workflow.md
    • Read for the standard Word thesis formatting workflow.
  • references/figure-and-code-rules.md
    • Read before generating Mermaid figures or LaTeX code listings.
  • references/thesis-voice-and-style.md
    • Read before generating or rewriting thesis prose.
  • references/failure-patterns-and-quality-gates.md
    • Read before large-scale formatting or before claiming the thesis is fully checked.
  • references/script-usage.md
    • Read for command examples and config file conventions.

Final Checks

  • Confirm the document is still style-driven after edits.
  • Confirm captions, numbering, page breaks, and table of contents are coherent.
  • Confirm cross-references display the current target labels, not stale field text.
  • Confirm section settings do not silently remove page headers or page numbers from first pages.
  • Confirm references are formatted according to the school rules and that punctuation normalization did not damage DOI or English references.
  • Confirm every diagram and code block is grounded in user-provided material.
  • Export to PDF and inspect every page before saying the format is complete.
  • If Word automation or PDF verification was unavailable, explicitly warn that layout fidelity was not guaranteed.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Thesis Docx AI 技能有什么作用?

在严格控制学术格式的前提下,创建、修订并排版论文或学位论文 Word 文档。当 AI 智能体需要生成或修订论文内容、统一 Word 样式、遵循学校模板、修正图注、页码或章节级别,或为论文文档制作有依据的 Mermaid 图和 LaTeX 格式代码清单时使用。

为什么在 TypingMind 中使用 Thesis Docx?

因为您只需安装一次,就能搭配任何模型使用。Thesis Docx 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Thesis Docx?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/the-shy123456/thesis-docx/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Thesis Docx?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Thesis Docx 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Thesis Docx 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Thesis Docx AI 技能免费吗?

是的。the-shy123456 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇