Vai al contenuto principale
Z

dsh-vertical-kit (dsh-listing-check)

zjukop3/dsh-vertical-kit/packages/dsh-listing-check

E-commerce listing hygiene from CSV/JSON exports: title length bounds, keyword stuffing, price validity and bounds, SKU completeness and duplicates. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Installazione

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

Questo plugin si trova nella sottodirectory packages/dsh-listing-check del repository.

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.

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

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   # 18 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-vertical-kit:agreement-check / invoice-check / listing-check)。

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

Plugin correlati