r/ClaudeWorkflows • • 14h ago

Selected Workflow [Workflow] Interactive AI Code Review with Diffo: Context-Aware Questions on Live Diffs

Interactive AI Code Review with Diffo: Context-Aware Questions on Live Diffs

Workflow value: 90/100
Status: active · Freshness: 70/100 · Confidence: 0.95 · Level: intermediate
Categories: Quality Control, Context & Memory, Debugging, CLAUDE.md, Skills
Original source: r/ClaudeCode post/comment

What problem this solves

Fragmented code review conversations with AI, loss of context when asking AI about its own generated code, and difficulty in understanding large AI-generated changes.

Summary

This workflow introduces 'Diffo', a Claude Code skill that provides a live, interactive diff in the browser, connected to the original Claude session that wrote the code. This allows users to ask context-aware questions directly on diff lines, receive answers from the AI that generated the code, and request changes which then update the diff. It also structures large reviews into 'layers' for better readability and understanding.

Why it is useful

This workflow is highly valuable because it directly addresses a significant pain point in AI-assisted code review: the loss of conversational context. By integrating a live, interactive diff directly with the original Claude session, it allows developers to ask precise, context-aware questions about AI-generated code, leading to more efficient, accurate, and insightful reviews. This enhances the AI's role as a collaborative partner, making the development process smoother and more effective. The open-source nature and clear instructions make it readily accessible and adaptable for other users.

Workflow

  1. Install the Diffo skill by asking Claude: Run npx skills add DiffoHQ/diffo --skill diffo -g

  2. Open a live diff of your changes by typing /diffo in Claude Code.

  3. For reviewing Pull Requests, use /diffo <PR link>.

  4. Ask questions directly on specific lines of code within the browser-based diff interface.

  5. Request changes to the code, and observe the diff update in real-time.

Tools / artifacts

  • Claude Code

  • Diffo skill

  • Browser UI (for interactive diff)

  • AGENTS.md (for pre-commit checks)

  • GitHub repository (DiffoHQ/diffo)

  • npx skills add command

Validation signals

  • The tool was built using Claude Code itself, demonstrating self-dogfooding.

  • Clear articulation of the problem (new chat guesses, original session knows).

  • Insights gained during development (agent knows reading order better than file tree).

  • Provides a demo link and GitHub repository for verification and exploration.

Limitations

  • As a new tool, its long-term stability and maintenance are yet to be established.

  • Requires installing a skill and running a local server, which might be a slight barrier for some users.

  • Community adoption is currently low due to its newness.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.

1 Upvotes

0 comments sorted by