dsh-plugin-diagnose SKILL.md skillA

dsh-plugin-diagnose from taxueseek/plugin-fast-adapt is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add taxueseek/plugin-fast-adapt/dsh-plugin-diagnose@git:20261027.6642fbf

Pins git:20261027.6642fbf in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
taxueseek/plugin-fast-adapt
Path
sub-skills/diagnose/SKILL.md
Versions recorded
5
Latest version
git:20261027.6642fbf, committed Oct 27, 2026
First version recorded
Oct 27, 2026
Size
8,983 bytes
Repository stars
12
License
MIT

DSH 插件装了没生效、客户端卡 loading、宿主起不来的排障车道。log-doctor 解析 ~/.dsh/logs 的 startup 日志(StartupError、端口占用、未声明 inject、客户端入口死链)给根因与下一步动作;env-doctor 巡检 profiles 覆盖层旧包残留、共享 node_modules 农场悬空软链、两层 patch、宿主半与客户端半双面启用就绪度;env-heal 清理覆盖层默认 dry-run。触发词:插件装了没生效、插件不激活、客户端卡 loading、entry did not activate、web boot 失败、注入死链、宿主启动失败、StartupError、EADDRINUSE、日志诊断、覆盖层旧包、悬空软链、共享农场、环境体检、Silent Pending。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 环境与启动故障车道

症状是「插件明明装了却不起作用」或「宿主根本起不来」时走这里。代码本身踩没踩破坏性变更不走这条车道,那是 `../adapt/SKILL.md` 的事;先确认环境干净,适配结论才可信。以下命令都相对工具根目录执行,工具根即本文件真实路径往上两级、含 `scripts/` 的那一层。脚本用自身文件的绝对路径定位,不必先 cd,从任何目录直接 `node <工具根>/scripts/<脚本>.mjs` 同样可行。本目录常以软链别名加载,shell 的 `cd ../..` 会按软链走错地方,确实要 cd 时用 `cd "$(realpath <本文件所在目录>)/../.."`。

## 第一步:看宿主日志怎么说

```sh
node scripts/log-doctor.mjs [--logs <目录>] [--limit 5] [--pattern '^startup-']
```

宿主启动失败(`StartupError`、端口占用、未声明 inject、客户端入口死链)此前要人工逐个 grep `~/.dsh/logs/startup-*.log`,再从 300 多行的 JS 字面量里抠 `failedPlugins` 与 `waitingForServices`。本脚本把这条排障路径固化:解析每份 startup 日志的头部元信息与多行 error 块、消息数组(容忍宿主的 `[length]: N` 伪数组标记),抽取预置信号,汇总成按根因分组的诊断并给可执行动作。

输出:`runs`(每份日志的 meta、failedPlugins、waitingForServices、inactiveEntries、signals)、`crashReports`(桌面 APP 崩溃报告)、`signalSummary`(按出现次数排序的信号加动作)、`verdict`(`clean`/`warnings`/`host-failure`)。非 startup 日志(dsh-web、maintain、env-sweeper、web-restart)全文扫信号,并抽出 `inactiveEntries`:宿主「N entries did not activate」警告下的每一条,带条目 id、包名和错误原文。错误是「already owned by process」一类时另报 `resource-locked`,那是 web 与 APP 同时开在抢同一份资源,不是插件代码缺陷。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add taxueseek/plugin-fast-adapt/dsh-plugin-diagnose@sha256:5b45bca42d93d277

The line at the top of this page pins the label git:20261027.6642fbf, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_s6d65hxghph42vwa.svg)](https://markdownregistry.com/a/art_s6d65hxghph42vwa)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, all committed on Oct 27, 2026.

versioncommittedcommitsizeaudit
git:20261027.6642fbf latest2026-10-27 6642fbf 8,983 BA view · diff
git:20261027.ce076e12026-10-27 ce076e1 8,825 BA view · diff
git:20261027.847e88d2026-10-27 847e88d 8,560 BA view · diff
git:20261027.c2f73192026-10-27 c2f7319 7,930 BA view · diff
git:20261027.bf4c27c2026-10-27 bf4c27c 6,517 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8983 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

taxueseek/plugin-fast-adapt · 12 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_s6d65hxghph42vwa
GET https://markdownregistry.com/api/v1/resolve?ref=taxueseek/plugin-fast-adapt/dsh-plugin-diagnose
GET https://markdownregistry.com/api/v1/blob/5b45bca42d93d2774be8fd0f5ceb595b368285e7ec4592bacb0c5ecf0e988e68

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from taxueseek/plugin-fast-adapt

plugin-fast-adapt SKILL.md skill
taxueseek/plugin-fast-adapt · SKILL.md · DSH 插件升级适配与代码审查主入口。查 DeepSeek 官方最新版本与升级指南,扫描插件破坏性变更;支持四条车道(适配升级/造插件/启动排障/代码审查与防御性架构审核)及 DSH 原生插件与子 Agent 隔离委派协议,输出…
git:20261106.37bd500 · audit A · 12 stars
dsh-plugin-adapt SKILL.md skill
taxueseek/plugin-fast-adapt · sub-skills/adapt/SKILL.md · plugin-fast-adapt 的升级适配车道。查 DeepSeek 官方最新版本,取该版本官方 upgrade-guide,扫描插件代码匹配破坏性变更锚点,报出踩了哪几条并给官方修法;seams 查包名或 API…
git:20261105.d7d824c · audit A · 12 stars
dsh-plugin-review SKILL.md skill
taxueseek/plugin-fast-adapt · sub-skills/review/SKILL.md · DSH 插件代码审查与防御性架构审核车道。基于 Git 范围或工作区源码,检查 Cordis 生命周期泄漏、未逆向注销、单例状态漂移、已废弃模板变量(如 {{cwd}})、Vendored Peer 依赖污染、准入账本覆盖,按…
git:20261106.37bd500 · audit A · 12 stars

Every file in taxueseek/plugin-fast-adapt

Browse by kind, by grade A, or by owner.