Skip to content
dsh.fish
Bundle

@signalight/dsh-law-thesis-review

国际经济法论文审查 skill:读取学生 Word 论文,对照自查清单,以 Word 修订+批注输出审查稿。

Source
Signalight
License
MIT
Updated
Updated 2 days ago

Readme

# dsh-law-thesis-review

A DeepSeek Harness **skill plugin** that reviews student law theses (国际经济法/法学论文) and outputs a Word review draft with **tracked changes + Word comments**.

## What it does

- Reads a student Word (.docx) thesis (single file or a folder).
- Checks against a bundled common-issue checklist (硕士/本科自查清单合并版 + 国际经济法/法学论文高发问题).
- Applies definite fixes as **Word tracked changes** (w:ins / w:del).
- Writes **Word comments** for issues the student must handle themselves (overall section problems, missing basis/clarification, etc.).
- Emits a short, objective overall review + a fix list.

## Install (local / from npm)

~~~bash
# 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
~~~

Restart the web profile. The skill is then auto-discovered; trigger it with phrases like “批改学生论文”, “审阅这篇论文”, “以修订+批注检查论文”.

## Usage

The skill runs the bundled script:

~~~bash
# 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 "教师名"]
~~~

Spec shape shown in `skills/iet-law-thesis-review/examples/spec-template.json`.

## Notes

- **Self-contained**: `apply_edits.py` / `models.py` / `add_comment.py` are vendored; the skill does **not** require an external word-docx plugin.
- Checklist is **bundled** (`skills/iet-law-thesis-review/references/checklist.md`); no dependency on any local Obsidian vault path.
- The output preserves the original title and any student info; revision/comment author defaults to the local Office/WPS username or can be set via `--author`.
- Word: open the `_审查稿.docx` to see the redline + comment bubbles.

## License

MIT

## Thesis level

The skill detects the paper level and routes to the matching checklist:

- Undergraduate thesis -> references/checklist-undergraduate.md (with format/editing checks)
- Master's thesis -> references/checklist-master.md (with format/editing checks)
- Academic training / term paper -> references/checklist-academic-training.md (no format requirements)
- Level unspecified -> references/checklist.md (general requirements only; no format nitpicks)

Install

dsh plugin --profile web add github:Signalight/law-thesis-review

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source