Add "Finish Review" to turn review comments into CLAUDE.md(AGENTS.md) rules

未關閉
#69 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript
領域
devtools

研究方向

This is a feature proposal for a new Finish Review button in the Diffity Mac app, written in TypeScript. The payload names no files or entry points, so the first step is finding where review threads and the accepted diff are stored and rendered. Done would mean a reflection session that proposes CLAUDE.md or AGENTS.md changes as a reviewable diff, but the design is unsettled and needs maintainer input first.

由索引模型根據 Issue 內容生成。

描述

enhancement
What problem are you trying to solve?

Review comments are lost when a review ends, so the same feedback comes back in the next review.

Many comments are instances of one general rule, such as a naming or docstring convention. The agent fixes each thread, but nothing carries the rule forward.

Two gaps:

  • Nothing uses the comments after the review. I have to write rules into CLAUDE.md by hand, or run Claude Code to extract common pattern from the review session created by diffity.
  • During a review, the agent fixes each thread alone. It does not look for the same problem elsewhere in the diff, so I comment on every instance.
What would you like to see?

A "Finish Review" button. It starts a reflection agent session with all review threads and the accepted diff.

  1. The agent finds comments that repeat or state a general rule, and ignores one-off fixes.
  2. It proposes the rules as a diff to CLAUDE.md (or AGENTS.md), shown in Diffity.
  3. I review that diff with the same comment workflow, then accept, reject, or edit each rule.

Optional: Diffity installs a skill that runs when I resolve a thread. If the comment is a general issue, the agent fixes the other instances in the diff before I comment on them, and records the pattern for the Finish Review step.

主要語言
TypeScript
星號
918
分支
69
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

nilbuild/diffity 的其他 Issue

查看 nilbuild/diffity 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。