中文EN

dsh-score

dev已测通过npmApache-2.0

为 DeepSeek Harness 插件提供多指标质量评分:基于真实的 CLI 证据对某个仓库或 npm 包在安装成功率、维护活跃度、文档完整度、安全扫描和协议合规五个维度打分,并生成 JSON 或 Markdown 排行榜报告。

下载量 / Downloads
2,712
依赖体积 / node_modules
15.12 MB
测试时间 / Tested
2026-11-06
DSH 版本 / Version
0.2.2-rc.1

安装

dsh plugin --profile web add dsh-score

沙箱测试结果

阶段结果
1 安装✓
2 列装✓
3 挂载✓
4 启动—

四阶段在隔离沙箱里跑:安装(有网)→ 列装 → 挂载 → 启动(后三步断网)。

README

<div align="center">

🏆 dsh-score

Status: active. This is the local, on-demand prior inspector; the public evidence layer is dsh-attention-index. No FROZEN banner.
  • 1024 store channel: npm i -g dsh1024 once, then dsh1024 plugin --profile web add dsh-score (counts toward the deepseek1024.com install ranking).

![Gitee](https://gitee.com/perrylink/dsh-score)

![dshfind](https://dshfind.com/plugins/PerryLink/dsh-score?ref=badge)

![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/PerryLink/dsh-score)

Multi-dimensional quality scoring for DeepSeek Harness plugins.

Five dimensions, real gh/npm evidence, one weighted risk card and leaderboard.

![License](LICENSE)

![DSH plugin](https://github.com/topics/dsh-plugin)

![dsh-doctor](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)

![DSH Market](https://dsh.market/)

![Node](#)

![CI](https://github.com/PerryLink/dsh-score/actions)

![Version](https://github.com/PerryLink/dsh-score/releases)

![npm version](https://www.npmjs.com/package/dsh-score)

![npm downloads](https://www.npmjs.com/package/dsh-score)

[English](README.md) · [简体中文](README-zh.md) · [Español](README-es.md) · [Português](README-pt.md) · [हिन्दी](README-hi.md)

dsh plugin --profile <name> add dsh-score

</div>


📖 Ecosystem knowledge base — measured data, not marketing: plugin development guide · plugin-selection data · maintenance criteria.

<!-- star-cta -->

Install & uninstall

dsh plugin --profile web add dsh-score     # install (npm) — or the git form above
dsh plugin --profile web remove dsh-score  # uninstall

⭐ 如果它帮到了你

这个插件是 DSH 插件家族的一员(95 个,全部 Apache-2.0)。如果你在用,给个 star —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。

English: part of a 95 plugin family for DeepSeek Harness. If it is useful, a star helps the next person find it — nothing is gated behind it.

What is dsh-score?

Multi-dimensional quality scoring for DeepSeek Harness plugins.

Five dimensions, real gh/npm evidence, one weighted risk card and leaderboard.

Workflow overview: question → sealed sources → report. The examples below use the real command surface.

Comparison

Compatibility

Component · Version

DeepSeek Harness · dsh-v0.2.2-rc.1 (GitHub tag). The engines.dsh gate is >=0.2.1-0 <0.3.0 \ · \ · >=0.2.2-0 <0.3.0; dev/test pins and the typecheck:ci ruler measure 0.2.2-rc.1. The ctx.jobs seam uses the SessionId contract.

Node.js · ^22.19.0 \ · \ · >=24.0.0

Package manager · pnpm@11.7.0

Platform · Windows / macOS / Linux (host-only plugin)

External tools · gh CLI on PATH (authenticated for API reads), npm CLI on PATH

What you get

  • score tool — one target through the five-dimension pipeline; returns the structured risk card, or { kind: 'background', jobId } with background: true.
  • /score command — batch scoring of a whitespace/comma-separated target list as a score-batch background job over ctx.jobs, producing a leaderboard snapshot (JSON + Markdown).
  • score_report tool — fetch any stored score card (sc_...), leaderboard (lb_...), or the latest leaderboard.
  • score_badge tool — an embeddable README badge (shields.io flat SVG + endpoint URL) and the five-dimension JSON for one scored target.
  • Five dimensions (weights configurable, defaults sum to 100): install success 25, maintenance 20, documentation 20, security 20, compliance 15.
  • Evidence discipline — every dimension records its audit links (source, sanitized detail, observedAt); a dimension without evidence reports no-evidence (score 0, excluded from the weighted total), never a fabricated number.
  • Structured results — every record carries schema: "dsh-score/v1" with first-class fields; this is the machine-readable contract downstream tooling consumes.

Quick start

Git channel

dsh plugin --profile web add github:PerryLink/dsh-score#<commit-sha>

The first add fails because pnpm blocks the package's prepare build; copy the exact key pnpm printed into the profile's pnpm-workspace.yaml and re-run:

allowBuilds:
  'dsh-score': true

npm channel

dsh plugin --profile web add dsh-score

Prebuilt packages need no build allowance. Restart the profile, then use score / /score from a session.

Examples

These are the plugin's real entry points; install once, then call one.

Detailed example

Command

~~~sh

score({ target: "owner/repo" })

~~~

Output

~~~text

Score sc_65e817eec8cd71ed

  • Target: owner/repo (repo)
  • Grade: B — total 88/100
  • Verdict: healthy (weighted total 88/100)

Dimension · Status · Score · W

…(truncated)

以上内容来自 npm 上的 README,我们只做格式化,不改内容。

版本

npm 上共发布:31,最后更新 2026-11-05

链接

GitHub · Homepage · npm

同类插件