Law Thesis Review: Word Revisions and Comments Review Draft

Introduction

When building teaching or tutoring agents in DeepSeek Harness (DSH), a common requirement is: students submit Word papers, and teachers or assistants need to check them against standards item by item, leaving traceable tracked changes and comments in the document. Pure conversation can only provide textual suggestions, and students still need to manually revise their drafts and check against lists, resulting in high round-trip costs. If you want the output to remain .docx with Word tracked changes (redline) and comment bubbles, you need to chain “read docx → check against list → write back tracked changes/comments” into a reproducible workflow at the plugin layer. Below introduces law-thesis-review maintained by Signalight (npm package name @signalight/dsh-law-thesis-review), a DSH skill plugin for law / international economics law student thesis review, whose core deliverable is a reviewed Word document with tracked changes and comments.

What Is This

law-thesis-review is a skill plugin for DeepSeek Harness (current package.json version is 0.3.0, license MIT). The maintainer is Signalight. Source code and documentation are available at GitHub, and the community directory page is at skillhub.cn/plugins/Signalight/law-thesis-review.

The specific problem it solves is: reading Word papers submitted by students (single file or folder), checking against the plugin’s built-in common issue checklist (including merged master/undergraduate versions and high-frequency issues in international economics law / law thesis), writing Word tracked changes (w:ins / w:del) for content that can be clearly corrected, writing Word comments for issues that students need to handle themselves, and providing a brief objective overall evaluation and a revision checklist. The output preserves the original title and student information; the revision/comment author defaults to the local Office/WPS username and can also be specified via command line.

Core Features

All the following capabilities come from the project README and package structure documentation. You can verify them in the repository before installation.

  1. Input: Supports a single .docx or papers within an entire folder.
  2. Checklist: Built-in checklists under skills/iet-law-thesis-review/references/, not dependent on external Obsidian paths; the plugin will attempt to identify the thesis level and select the corresponding checklist:
    - Undergraduate thesis → checklist-undergraduate.md (including format/text checks)
    - Master’s thesis → checklist-master.md (including format/text checks)
    - Academic training / term paper → checklist-academic-training.md (no detailed format requirements)
    - Level not specified → checklist.md (general requirements, no detailed format scrutiny)
  3. Output form: Definite corrections are written as tracked changes; overall section issues, missing basis/need clarification etc. are written as comments; additionally, a brief overall evaluation and fix list are provided.
  4. Self-contained: apply_edits.py, models.py, add_comment.py etc. are vendored with the plugin, not dependent on external word-docx plugins.
  5. Triggering in DSH: After installation and web profile restart, the skill will be automatically discovered; it can be triggered via natural language such as “grade student paper”, “review this paper”, “check paper with tracked changes + comments”, etc.

Installation and Activation

The installation command must follow the README verbatim. Local path or npm (after publication) methods are as follows:

# local path
dsh plugin --profile web add link:D:/Coding/Creating/dsh-law-thesis-review
# or from npm (once published)
dsh plugin --profile web add @signalight/dsh-law-thesis-review

After completion, restart the web profile. The plugin runs with the current DSH process permissions. Before installation, you should read the repository source code and MIT license to confirm that the checklist and script behaviors match your teaching scenario.

Typical Usage

The skill will call the bundled script skills/iet-law-thesis-review/scripts/review_docx.py. This can be done in two steps: first extract text and paragraph indices, then generate the reviewed document according to the spec.

# 1) extract text + paragraph indices
python skills/iet-law-thesis-review/scripts/review_docx.py extract 论文.docx --out ./work

# 2) review: apply tracked edits + comments from a spec
python skills/iet-law-thesis-review/scripts/review_docx.py review 论文.docx --spec spec.json --out 论文_审查稿.docx [--author "教师名"]

The structure of spec.json can be referenced from skills/iet-law-thesis-review/examples/spec-template.json in the repository. After generating _审查稿.docx, open it in Word to view redline tracked changes and comment bubbles.

Use Cases and Notes

Who it’s for: Teachers, teaching assistants in law and international economics law who need to batch or semi-automatically review student Word papers and want deliverables to remain docx with tracked changes/comments, or developers encapsulating “paper grading” workflows in DSH.

Notes:

  • The community directory site is not officially affiliated with DeepSeek / 幻方; the DSH ecosystem is “everything is a plugin”, and this plugin is a community skill, not a built-in capability of the official app store.
  • Checklists and scripts are distributed with the package. After upgrading the plugin version, it is recommended to re-check references/ and the example spec.
  • Automatic tracked changes are only applicable to rule-based, programmable modifications; complex arguments and citation standards still depend on comments and manual review.

Conclusion

law-thesis-review turns “check against law thesis self-review checklist → Word tracked changes + comments → reviewed document” into an installable DSH skill, bundling scripts and checklists to reduce dependency on external docx plugins. If you want to implement paper grading deliverables in an agent, you can learn about the inclusion information from the directory page and copy the installation commands and review_docx.py usage from the GitHub README.

  • Directory page: https://www.skillhub.cn/plugins/Signalight/law-thesis-review
  • GitHub: https://github.com/Signalight/law-thesis-review
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye