hacksurvivor/claude-mods/tree/main/mods/grudge

Claude Code mod,把每次被拒絕的 UI 外觀變成專案規則,並將截圖與規則一起儲存;當 Claude 未經核准的預覽就編輯 UI 檔案時發出警告。
hacksurvivor/claude-mods/tree/main/mods/grudge

Grudge 讓你用截圖或留言拒絕某個 UI 外觀,接著請 Claude 將它轉成一條與截圖放在一起的專案規則。規則會顯示在 Claude 回覆下方,附有 Undo 選項。進行任何 UI 編輯前,Claude 都會收到專案規則,以及兩個習慣:建立 UI 前先找真實參考,產生新外觀前先顯示預覽。它也會標記本工作階段中未經預覽核准的 UI 變更。"looks right" 等核准,或選取預覽變體,也會成為規則。指令:/grudge 列出規則,/grudge forget N 移除一條,/grudge add <rule> 寫入一條,/grudge off 和 /grudge on 暫停與恢復。需要 Claude Code 2.1.286+,以及 PATH 上的 Python 3,才能從工作階段轉錄複製截圖。透過 /plugin marketplace add hacksurvivor/claude-mods 安裝,再執行 /plugin install grudge@hacksurvivor 和 /reload-plugins。它會讀取你輸入的訊息、Claude 編輯的檔案路徑,並將截圖從 ~/.claude/projects 複製到 ~/.claude/grudge/<project>/;不會自行傳送任何內容。採用 Apache-2.0 授權。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add hacksurvivor/claude-mods claude plugin install grudge
A Claude Code mod that holds a grudge against every look you reject, so Claude never brings it back.
You reply "this is slop" with a screenshot, or "again the old top bar". Grudge asks Claude to turn that into one rule for the project, written after it has looked at your screenshot, and keeps the screenshot with it. A line under Claude's reply shows what was noted, with Undo:
Noted for shop-app: keep the R4 top bar in every theme · Undo
The next time Claude edits a UI file in that project, it is handed every rule first, along with two habits: look for real references before inventing UI, and show a preview before a new look. When Claude changes UI files without a preview you approved in the session, the reply says so:
Changed SettingsView.swift without a preview you approved
Approvals count too. "Looks right" or picking variant "A" after a preview keeps that look as a rule, so later changes don't quietly undo it.

/grudge lists the project's rules, numbered./grudge forget 2 drops one; /grudge add <rule> writes one yourself./grudge off pauses it for the session, /grudge on resumes it.PATH, to copy a screenshot out of the session's transcript.In Claude Code:
/plugin marketplace add hacksurvivor/claude-mods
/plugin install grudge@hacksurvivor
/reload-plugins
bin/shot.py with Python when you reject a look with a screenshot. It reads this session's transcript in ~/.claude/projects and copies that message's images into ~/.claude/grudge/<project>/. Nothing else.~/.claude/grudge/.See PRIVACY.md.
Apache-2.0