简历的书记检查:联系方式可达、邮箱电话形态合法、工作经历时间线不自相重叠、教育段在场——只验记录格式,不判断内容真伪。它的 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.
链接
同类插件
Tencent/WeKnora#dsh-weknora★ 37546
把 WeKnora 知识库接入 dsh 的四个只读工具:列出知识库、混合检索原文片段、按顺序还原单篇文档,以及直接取用 WeKnora 自己带引用的 RAG 或 ReAct agent 回答(含可续聊的 session id)。
DayuanJiang/next-ai-draw-io#dsh-plugin★ 36997
dsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
superdesigndev/treg★ 8164
给 Agent 的工具目录:按「要做的事」检索约 2,600 个外部接口(SEO 与 SERP、外链、社交、人物与公司信息补全、广告库、抓取),查看参数与单次调用价格后直接调用,凭据由服务端注入。附带技能,MCP 行在未设置 TREG_TOKEN 前保持禁用。
T-Auto/dsh-ops★ 5864
为 Windows 的 DSH 提供 bash、PowerShell 7 及 Rust 高性能工具,减少 token 消耗。
sixtysevenlf/dsh-blender-plugin★ 2147
让 DSH agent 通过直连 TCP 通道驱动本地 Blender,提供 15 个工具:视口帧、自定义视角渲染、Python 执行、无头与作业卸载、事务回滚,以及 34 个 family / 228 个 op 的规划层。
helloHub1212/dsh-windows-mcp★ 1456
通过官方 MCP 客户端桥接层把 CursorTouch/Windows-MCP 桌面自动化服务器接入 DSH,把截屏、UI 树快照、鼠标键盘输入、剪贴板、进程与注册表等工具注册成 mcp__windows__* 供模型调用,并附带 windows_mcp_doctor 诊断工具;Computer Use 默认关闭,需在插件面板里打开。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。