ClaudeMods
☰
KO
● 0 명 접속 중 · 조회 0 회
후원프로젝트 제출
GitHub 저장소 · 작성자 LorcanChinnock

grudge

😤 수정 내용을 기억합니다. 오래 유지할 선호를 저장할지 묻고, 매 세션 Claude에 알려 주며, 안전하게 바꿀 수 있는 명령을 수정합니다.

LorcanChinnock@LorcanChinnock

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

원본 게시물 이미지1
번역 완료

이 mod 소개

😤 Grudge

수정 내용을 기억하므로 "no, use pnpm"이라고 한 번만 말하면 됩니다.

"no, use pnpm, not npm"이라고 말했을 때: Claude가 작업하는 동안 Grudge가 저장을 제안하고 4로 저장합니다

/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로 실행되었습니다.

아래에 "grudge #1: npm → pnpm" 메모가 표시된 Bash 호출

패널

상태 줄의 😤 1 grudge를 클릭하거나 /grudges를 실행합니다. 이 저장소의 규칙이 먼저 표시되고, 어디에나 적용되는 규칙이 뒤따릅니다.

"use pnpm, not npm" 규칙, 저장일 3 Oct, 적용 1×, Forgive 버튼을 보여 주는 Grudges 패널

규칙을 용서하면 즉시 사라집니다.

백그라운드

프롬프트가 400자 미만이고 그 안에 수정처럼 보이는 내용이 있으면 Haiku로 보내 오래 유지할 선호인지 판단합니다. 다른 프롬프트에는 비용이 들지 않습니다. 규칙은 플러그인의 저장소에 보관됩니다.

설치

먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.

claude plugin marketplace add LorcanChinnock/claude-desk-neighbours
claude plugin install grudge
원문 / README

😤 Grudge

Remembers your corrections, so you only have to say "no, use pnpm" once.

Saying "no, use pnpm, not npm": Grudge offers to hold it while Claude works, and 4 holds it

/plugin install grudge@claude-desk-neighbours

How it works

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:

A Bash call with the note "grudge #1: npm → pnpm" under it

The pane

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

The Grudges pane listing "use pnpm, not npm", held 3 Oct, enforced 1×, with a Forgive button

Forgive a rule and it's gone straight away.

In the background

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.

동명의 다른 작품

비슷한 프로젝트