DeepSeek Harness 插件

zjukop3/dsh-vertical-kit#dsh-resume-check

Star 数 ★ 0 分类 工具与能力 收录于 2026-11-16 npm dsh-resume-check

简历的书记检查:联系方式可达、邮箱电话形态合法、工作经历时间线不自相重叠、教育段在场——只验记录格式,不判断内容真伪。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。

安装

# npm 包(预构建)

dsh plugin --profile web add dsh-resume-check

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:zjukop3/dsh-vertical-kit#path:/packages/dsh-resume-check

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

Resume hygiene from markdown. A resume is decidable in its bookkeeping: the reader must be able to reach the person, the contact shapes must be valid, and the work timeline must never overlap itself. This verifies exactly those and names the line that is wrong.

真实输入输出

输入:

# 李四

- 邮箱:lisi..wrong@site
- 电话:12345

## 工作经历

**A公司** 工程师 2020.1 - 2022.6
**B公司** 工程师 2021.5 - 2023.1
**C公司** 工程师 2022.3 - 至今
**D公司** 工程师 2023.2 - 2024.1

真实运行(逐字输出,由测试与工具保持同步):

$ resume-check resume-sample.md
error email-invalid 第3行 第 3 行邮箱「lisi..wrong@site」不是合法形态(连续点或域缺尾)
error phone-invalid 第4行 第 4 行电话位数 5 不在 7-15 位之间
error dates-overlap 第9行 第 9 段经历(2021.5 - 2023.1)与上一段(2020.1 - 2022.6)时间重叠
error dates-overlap 第10行 第 10 段经历(2022.3 - 至今)与上一段(2021.5 - 2023.1)时间重叠
error dates-order 第11行 第 11 段(2023.2 - 2024.1)开始于「至今」的经历之后——如果是笔误请改成结束日期,如果确实是新经历请把上一段改为结束日期
warn education-missing 第0行 没有教育/学历信息(认得:## 教育背景、本科/硕士/博士、毕业院校)
fail: 4 stints, 5 errors, 1 warnings

出口码:1。

Listed in awesome-dsh-plugin.

What it decides

rule level meaning
contact-missing error no 电话/手机/邮箱/微信/Email/Phone anywhere
email-invalid error an address that fails the strict shape (double dots, domain without a tail) — detection is loose, validation is strict, so a bad address is always caught
phone-invalid error digit count outside 7-15
dates-overlap error two stints whose ranges overlap (2020.1-2022.6 then 2021.5-…)
dates-order error a closed stint starting after an open-ended one — a real contradiction, not a document-order nitpick
date-gap warn a >12-month gap between stints, only with --no-allow-gaps — a gap is informative, not a defect
education-missing warn no 教育/学历 section

Date shapes parsed: 2020.3-2022.5, 2020年3月-2022年5月, 2020/3 ~ 2022/5, 2020-03 至今.

Use

npx dsh-resume-check resume.md           # findings + summary, exit 1 on errors
npx dsh-resume-check resume.md --json    # machine output
npx dsh-resume-check resume.md --no-allow-gaps

Same function over HTTP: POST /resume-check/api with {"text": "…"} or {"path": "…"}, optional {"rules": {"allowGaps": false}} — the CLI and the host route share one implementation, so they cannot disagree.

Honest scope

This checks the resume's bookkeeping, not its truth. It cannot tell whether the person actually worked at A公司 or whether the numbers in a bullet are real — it verifies the document is reachable, well-formed, and temporally coherent. Whether the content is honest is what an interview is for.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。