dsh-plugin-skill-palette
其他 活跃维护

dsh-plugin-skill-palette

qyjgg/dsh-plugin-skill-palette

提供分层加权模糊搜索能力,可快速匹配各类斜杠指令,支持多技能无缝调度与联动,配置轻量接入便捷,交互流畅无卡顿,使用门槛低。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
19.9 MB
仓库大小
23 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:qyjgg/dsh-plugin-skill-palette
git clone https://github.com/qyjgg/dsh-plugin-skill-palette.git
git clone git@github.com:qyjgg/dsh-plugin-skill-palette.git
README.md main

dsh-plugin-skill-palette

English | 简体中文

⚡ DeepSeek Harness (DSH) Enhanced Skill Plugin: Tiered weighted fuzzy search for / commands and seamless multi-skill inline selection.


🎯 Key Problems Solved

  1. Native / Skill Trigger Lacks Fuzzy Search:

    • DSH native skill matching only supports startsWith prefix filtering. Typing /review fails to match code-review, and typing /test cannot find tdd by description keywords.
    • Solution: Built-in 4-tier weighted fuzzy matching engine (Exact prefix > Subsequence & word boundaries > Description full-text keywords > Subsequence fuzzy).
  2. Chained Multi-Skill Selection:

    • Complex development tasks require combining multiple skills (e.g. Caveman terse style + TDD test-first cycle + Code Review standards).
    • Solution: Picking a skill inserts /<skill> and preserves input focus. Typing / immediately opens fuzzy search for the next skill, enabling rapid multi-skill composition like /caveman /tdd /code-review.

📦 Installation & Setup

Option 1: Install via GitHub Repository (Recommended)

dsh plugin --profile web add github:qyjgg/dsh-plugin-skill-palette

Option 2: Local Development & Build

  1. Build the plugin:

    cd dsh-plugin-skill-palette
    npm install
    npm run build
  2. Then configure in package.json of your profile (C:\Users\<user>\.dsh\profiles\web\package.json):

    {
     "dependencies": {
       "dsh-plugin-skill-palette": "link:E:/work/dsh-plugin-skill-palette"
     },
     "dsh": {
       "profile": {
         "bundles": [
           "...",
           "dsh-plugin-skill-palette"
         ]
       }
     }
    }

Uninstallation

dsh plugin --profile web remove dsh-plugin-skill-palette

If configured locally, simply remove dsh-plugin-skill-palette from dependencies and bundles in your profile's package.json.


🖥️ Features

1. Tiered Weighted Fuzzy Search

Type / after any whitespace in composer:

  • /cr or /review matches code-review and caveman-review
  • /test matches tdd (via description)
  • /git matches git-guardrails-claude-code and caveman-commit

2. Seamless Inline Multi-Skill Chaining

  • Pick a skill from dropdown menu via Enter or mouse click;
  • Trailing space is auto-appended; type / again to immediately pick the second skill;
  • On submission, DSH host pre-step hook extracts all /name tokens and injects <skill_content> for every selected skill.

📄 License

MIT License