LorcanChinnock/claude-desk-neighbours/tree/main/plugins/grudge

LorcanChinnock/claude-desk-neighbours/tree/main/plugins/grudge

記住你的修正,所以你只要說一次 "no, use pnpm"。

/plugin install grudge@claude-desk-neighbours
當你送出的簡短提示聽起來像長期偏好("no, use pnpm"、"don't use default exports"、"always use the logger, not console")時,提示列會在 Claude 繼續工作時提供記住它的選項:
😤 Hold a grudge? "use pnpm, not npm" 4: Hold 5: Nah
除非你按下 Hold,否則不會記住任何內容;你可以在空白提示中輸入 4,或直接點擊它。一次性的修正("that's the wrong file")完全不會提供選項;如果忽略某個選項,它會在你送出下一個提示時消失。
你保存的每條規則都會在該存放庫的每個工作階段傳給 Claude。拼字或語氣等個人風格規則會套用到每個存放庫。
如果規則是精確的指令替換,Grudge 會在指令執行前修正它,並在工具呼叫下方加入說明:😤 grudge #4: npm → pnpm。它只替換完整指令(絕不碰 .npmrc),也只會在引數意思相同的地方替換:
| From | To | After |
|---|---|---|
| npm | pnpm | install, i, run, test, start |
| npm | yarn | run, test, start |
| npm | bun | install, i, run |
| pnpm | npm | install, i, run, test, start |
| yarn | npm | run, test, start |
| yarn | pnpm | run, test, start |
| pip | pip3 | anything |
| python | python3 | anything |
這裡 Claude 被要求執行 npm test,但實際以 pnpm test 執行:

點擊狀態列中的 😤 1 grudge,或執行 /grudges。先列出此存放庫的規則,再列出適用於所有地方的規則:

原諒一條規則後,它會立即消失。
如果提示少於 400 個字元,而且其中有看起來像修正的內容,它會交給 Haiku 判斷是否為長期偏好。其他提示不會產生費用。規則保存在外掛的儲存區中。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add LorcanChinnock/claude-desk-neighbours claude plugin install grudge
Remembers your corrections, so you only have to say "no, use pnpm" once.

/plugin install grudge@claude-desk-neighbours
When you send a short prompt that sounds like a lasting preference ("no, use pnpm", "don't use default exports", "always use the logger, not console"), the band offers to remember it while Claude carries on working:
😤 Hold a grudge? "use pnpm, not npm" 4: Hold 5: Nah
Nothing gets remembered unless you press Hold, either by typing 4 into an empty prompt or by clicking it.
One-off fixes ("that's the wrong file") don't get an offer at all, and if you ignore an offer it goes away when
you send your next prompt.
Every rule you hold is passed to Claude in every session in that repo. Rules about personal style, like spelling or tone, apply in every repo.
When a rule is an exact command swap, Grudge fixes the command before it runs and adds a note under the tool
call: 😤 grudge #4: npm → pnpm. It only swaps whole commands (it never touches .npmrc), and only where the
arguments mean the same thing:
| From | To | After |
|---|---|---|
| npm | pnpm | install, i, run, test, start |
| npm | yarn | run, test, start |
| npm | bun | install, i, run |
| pnpm | npm | install, i, run, test, start |
| yarn | npm | run, test, start |
| yarn | pnpm | install, run, test, start |
| pip | pip3 | anything |
| python | python3 | anything |
Here Claude was asked to run npm test anyway, and it ran as pnpm test:

Click 😤 1 grudge in the status row, or run /grudges. Rules for this repo are listed first, then the ones
that apply everywhere:

Forgive a rule and it's gone straight away.
If a prompt is under 400 characters and has something in it that looks like a correction, it goes to Haiku to decide whether it's a lasting preference. Any other prompt costs nothing. Rules are kept in the plugin's store.