Skip to content
dsh.fish
Bundle

dsh-plugin-skill-palette

Enhanced skill plugin for DeepSeek Harness (DSH): Fuzzy slash search, interactive multi-skill palette & preset bundles

Source
qyjgg
License
MIT
Updated
Updated yesterday

Readme

# dsh-plugin-skill-palette

English | [简体中文](README.zh.md)

⚡ **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)

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

### Option 2: Local Development & Build

1. Build the plugin:
   ```bash
   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`):
   ```json
   {
     "dependencies": {
       "dsh-plugin-skill-palette": "link:E:/work/dsh-plugin-skill-palette"
     },
     "dsh": {
       "profile": {
         "bundles": [
           "...",
           "dsh-plugin-skill-palette"
         ]
       }
     }
   }
   ```

### Uninstallation

```bash
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](LICENSE)

Install

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

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
Source