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

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
devtools

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
918
Forks
69
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nilbuild/diffity

All issues in nilbuild/diffity

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.