eric zakariasson· @ericzakariasson · X·· 2026-08-15AI 评分44
AI 导读
Eric Zakariasson 将用户反馈自动修复流程打包成 npm 包 feedback-agent,应用内嵌入组件后,用户提交反馈即触发云智能体处理。该流程基于 PostHog 收集的文本、会话回放、事件和错误数据,由 Cursor 云智能体结合只读 PostHog MCP 上下文循环验证修复,最终自动创建带测试的 GitHub PR 供手机端审核。
正文 · 原文
i turned this into an npm package
you drop a widget in your app and when someone files feedback, a cloud agent opens a pr
npm i feedback-agent
i've been building some smaller apps over the last weeks for myself, friends and family and discovered a pretty nice pattern in the process you see, after building, i'm not particularly interested in fixing bugs or triaging feature requests. i just want to get the job done so i've set up a system that lets me and other users fix bugs and build features without me having to actually open cursor the flow: 1. someone files feedback in the app 2. it lands in posthog with the submitted text, session replay, events, and errors 3. a cursor cloud agent picks it up with that context, plus live read-only posthog mcp 4. it loops until the fix is verified, then opens a github pr with tests 5. i get a ping and review it on my phone we give our cloud agents access to all the necessary user context, and they'll figure it out with this in place, we can start setting up more abstractions in between. if we're getting a high volume, we might want to triage first with another cloud agent or some automation. the feedback can create a github or linear issue, which we later pick up with a cron-backed cloud agent that decides which are duplicates. there are so many ways to configure this, you just gotta try it out and see what works for you but there's so much more here that is untapped. with session replays and event logs, you can have a cloud agent look at each session replay to extract ux pitfalls and improvement areas. you can have another agent looking at event logs to see weird patterns. another one for errors or similar try it out and see what you can do!在 X 查看被引用的帖子
来源:eric zakariasson · x.com