ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 josippapez

feedback

一个本地 AI 设置反馈收件箱,通过 MCP 服务器提供两个工具。

josippapez@josippapez

josippapez/ai-setup/tree/main/claude/plugins/feedback

已翻译

关于这个 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_feedback records a bug, pain_point, ambiguity, or idea with a title, details, and optional area, severity, and evidence. The server also stores the time and the working directory it ran in.
  • read_feedback lists entries newest first, filtered by status (open by default), kind, area, severity, or a text query.
  • update_feedback resolves an entry, closes it as wontfix, 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:

  • /feedback opens a pane listing entries newest first, with a filter button per kind.
  • /fb <text> logs a pain_point through collect_feedback without a model turn.
  • Every successful collect_feedback call 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.

更多类似作品