dsh-skill-slash-fuzzy
开发工具 活跃维护

dsh-skill-slash-fuzzy

NecromanAlbert/dsh-skill-slash-fuzzy

支持斜杠令牌中kebab-case风格技能子串的自动匹配,无需输入完整技能名称即可精准识别唯一对应项,降低命令输入成本,可自定义匹配规则适配不同使用习惯。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
11 KB
仓库大小
29 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:NecromanAlbert/dsh-skill-slash-fuzzy
git clone https://github.com/NecromanAlbert/dsh-skill-slash-fuzzy.git
git clone git@github.com:NecromanAlbert/dsh-skill-slash-fuzzy.git
README.md main
# dsh-skill-slash-fuzzy **Resolve unique kebab-case skill substrings in DeepSeek Harness slash tokens.** [简体中文](https://github.com/NecromanAlbert/dsh-skill-slash-fuzzy/blob/main/README.zh.md) · [MIT](https://github.com/NecromanAlbert/dsh-skill-slash-fuzzy/blob/main/LICENSE) · [Security](https://github.com/NecromanAlbert/dsh-skill-slash-fuzzy/blob/main/SECURITY.md) [![License: MIT](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/License-MIT-yellow.svg)](https://raw.githubusercontent.com/NecromanAlbert/dsh-skill-slash-fuzzy/main/LICENSE) [![dsh.bundle](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/dsh.bundle-required-0f766e.svg)](https://deepseek-harness.github.io/deepseek-harness/develop/basic/publish.html) [![topic: dsh-plugin](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/topic-dsh--plugin-111827.svg)](https://github.com/topics/dsh-plugin) [![Node.js 22+](https://cdnimage-cache.doubi.ren/?url=https://img.shields.io/badge/Node.js-22%2B-339933.svg?logo=node.js&logoColor=white)](https://nodejs.org/)

Community plugin for DeepSeek Harness. Not an official DeepSeek AI product.

Official skill slash matching is exact-name startsWith. Host commands already fuzzy-match. This plugin fills the gap for kebab-case skills: /oneshot can load game-package-oneshot when that segment is unique.

Install

From GitHub (no build step — lib/ is the source):

dsh plugin --profile desktop add github:NecromanAlbert/dsh-skill-slash-fuzzy

Or a local checkout:

dsh plugin --profile desktop add /path/to/dsh-skill-slash-fuzzy

Restart the Desktop GUI after install.

What it does

Host Rewrites unique /segment tokens to the full skill name before official injection
Client Extra / source so unique segments appear in the skill menu
Unique hit /oneshotgame-package-oneshot
Ambiguous /package stays /package when two skills share that segment
Exact names /pua and /understand are unchanged

What this is not

  • Not a replacement for official ui-skill or dsh-tool-skill.
  • Not a fuzzy matcher for host commands (those already fuzzy-match).
  • Not an alias registry. There is no extra YAML of nicknames.

Develop

node --test

Host: lib/index.js (agent/pre-step waterfall).
Client: lib/client.js (window.__ModuleLoader__, extra / source skill-fuzzy).
Shared: lib/match.js.

License

MIT.