Перейти к основному содержимому
Z

dsh-vertical-kit (dsh-commit-msg-check)

zjukop3/dsh-vertical-kit/packages/dsh-commit-msg-check

Commit-message hygiene from a single message: a type prefix from a known set, a subject that fits a git log line, no trailing period, a blank line before the body, and breaking changes announced in a trailer. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Установка

dsh plugin --profile web add github:zjukop3/dsh-vertical-kit

Этот плагин находится в подкаталоге packages/dsh-commit-msg-check репозитория.

README

dsh-vertical-kit

Industry-scenario checks for deliverables an agent produced and a person is about to accept. The generic defects (ragged tables, broken citations) live in dsh-verify-kit; this kit covers the vocabulary of specific trades.

Listed in awesome-dsh-plugin — catalog pages: dsh-agreement-check · dsh-invoice-check · dsh-listing-check · dsh-meeting-notes-check · dsh-resume-check · dsh-release-notes-check · dsh-weekly-report-check · dsh-bug-report-check · dsh-api-doc-check · dsh-test-report-check · dsh-commit-msg-check · dsh-dockerfile-check · dsh-env-example-check · dsh-license-check · dsh-incident-report-check · dsh-ops-runbook-check · dsh-pr-description-check · dsh-spec-doc-check · dsh-adr-check · dsh-onboarding-check.

packagetradewhat it decides
dsh-agreement-checklegal / procurementparties named, date present, uppercase amount matches the digits, signature block, dispute and breach clauses
dsh-invoice-checkfinancecredit-code alphabet, net + tax = total, uppercase vs printed total, invoice-number shapes
dsh-listing-checke-commerce opstitle bounds, keyword repetition, price validity, SKU completeness and duplicates
dsh-meeting-notes-checkwhite-collar universaldate present, attendees named, decisions recorded, every action item with an owner and a deadline
dsh-resume-checkhiringreachable contact block, valid email/phone shapes, a work timeline that never overlaps itself, education section
dsh-release-notes-checkdev-facing deliveryversion heading, date, breaking changes paired with an upgrade path, newest-first ordering
dsh-weekly-report-checkwhite-collar universaldone separated from planned, risks named, at least one quantified line
dsh-bug-report-checkengineeringtitle, environment, numbered repro steps, expected vs actual
dsh-api-doc-checkengineeringmethod+path endpoints, examples, auth model, error shape
dsh-test-report-checkengineeringcounts that reconcile, environment, failure detail for every failure
dsh-commit-msg-checkengineeringtype prefix, subject length, no trailing period, blank line, breaking trailer
dsh-dockerfile-checkengineering / opspinned base, non-root USER, no secrets in layers, COPY over ADD, package cleanup
dsh-env-example-checkengineering / opsplaceholders only, no committed credential, no duplicate key, purpose comments
dsh-license-checklegal / open sourcerecognized body, title matches body, copyright holder and year, no leftover template
dsh-incident-report-checkSRE / opstimestamped timeline, impact and duration, root cause not remedy, owned follow-ups
dsh-ops-runbook-checkSRE / opsprerequisites, numbered steps, rollback, verification, warning beside every destructive command
dsh-pr-description-checkengineeringwhat / why / how-verified, linked issue, breaking change with migration, no unchecked checklist
dsh-spec-doc-checkproduct / engineeringproblem stated, checkable acceptance criteria, explicit out-of-scope, no wish-as-criterion
dsh-adr-checkarchitecturestatus, context, decision, consequences including cost, alternatives considered
dsh-onboarding-checkdeveloper experienceprerequisites, pasteable command, expected output, help path, time estimate

Design rules, unchanged from verify-kit:

  • A check must be decidable from the file. No model calls. A rule that needs judgment is not a rule; this kit states comparisons and reports the row and line that failed.
  • A finding names its row. "第 3 行甲方名称为空" is actionable; "party information may be incomplete" is not.
  • These are checklists, not professionals. dsh-agreement-check says a contract is structurally reviewable; it never says it is a good contract. dsh-invoice-check verifies arithmetic; it never verifies a business.
  • The route and the CLI call the same function, so a check that passes in CI cannot fail in the panel.
npm test   # 159 tests, no network

MIT.

在 DSH 中安装(索引源)

全部八件作品都在一个 format 1 索引源里,从 npm registry 解析,装完即用:

  1. 打开「插件」,启用实验性「自定义插件索引」。
  2. 「发现 → 添加索引源」,添加:https://zjukop3.github.io/dsh-review-outbox/plugins.json
  3. 按名字搜索安装。五个通用检查(hashcheck / citelint / outline-lint / tablelint / numberlint)在 dsh-verify-kit;本仓库的二十个场景检查见 README 顶部表格 或 对照表。

不装 DSH 也可以:npx <名字> --help 直接用,或按下面的 CLI 说明。

Похожие плагины