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调用都会在提示列上方显示 toast 和卡片;页脚按严重程度统计打开的条目。 - 反馈工具调用会在转录中绘制成紧凑的行。
条目会写入此外挂中的 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.
