josippapez/ai-setup/tree/main/claude/plugins/feedback
josippapez@josippapez
關於這個 mod
feedback
本機 AI 設定的回饋收件匣,透過 MCP 伺服器提供兩個工具。
collect_feedback會記錄一個bug、pain_point、ambiguity或idea,包含標題、詳細內容,以及可選的area、severity和evidence。伺服器也會儲存記錄時間與它執行時的工作目錄。read_feedback會按最新優先列出項目,可依status(預設為 open)、kind、area、severity或文字query篩選。update_feedback會解決項目、以wontfix關閉、重新開啟,或修正欄位。更新會以{ "op": "update" }列追加,讀取時再合併,因此並行工作階段不會互相覆寫。
一個 mod(hooks/register.tsx)會加入介面:
/feedback開啟面板,按最新優先列出項目,並為每種 kind 提供篩選按鈕。/fb <text>透過collect_feedback記錄pain_point,不會觸發模型回合。- 每次成功的
collect_feedback呼叫都會在提示列上方顯示通知與卡片;頁尾按嚴重程度統計開啟中的項目。 - 回饋工具呼叫會在轉錄中畫成精簡的列。
項目會寫入這個外掛內的 data/feedback.jsonl,每列一個 JSON 物件。資料夾已被 git 忽略。伺服器是沒有相依套件的純 Node。
測試:node --test claude/plugins/feedback/server/feedback-mcp.test.cjs 以及 claude plugin test claude/plugins/feedback。
安裝
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add josippapez/ai-setup claude plugin install feedback
原文 / README
feedback
A local feedback inbox for the AI setup, exposed as an MCP server with two tools.
collect_feedbackrecords abug,pain_point,ambiguity, orideawith a title, details, and optionalarea,severity, andevidence. The server also stores the time and the working directory it ran in.read_feedbacklists entries newest first, filtered bystatus(open by default),kind,area,severity, or a textquery.update_feedbackresolves an entry, closes it aswontfix, reopens it, or corrects its fields. Updates are appended as{ "op": "update" }lines and merged on read, so concurrent sessions never overwrite each other.
A mod (hooks/register.tsx) adds the UI:
/feedbackopens a pane listing entries newest first, with a filter button per kind./fb <text>logs apain_pointthroughcollect_feedbackwithout a model turn.- Every successful
collect_feedbackcall shows a toast and a card above the prompt; the footer counts open entries by severity. - Feedback tool calls draw as compact rows in the transcript.
Entries go to data/feedback.jsonl inside this plugin, one JSON object per line. The
folder is git-ignored. The server is plain Node with no dependencies.
Test: node --test claude/plugins/feedback/server/feedback-mcp.test.cjs and
claude plugin test claude/plugins/feedback.
