<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Narek</title>
    <description>The latest articles on DEV Community by Narek (@narghev).</description>
    <link>https://dev.to/narghev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3902681%2Fa5f22a22-f85a-4cb0-a91a-3b4edaf77144.png</url>
      <title>DEV Community: Narek</title>
      <link>https://dev.to/narghev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/narghev"/>
    <language>en</language>
    <item>
      <title>🚀 I built askdiff — a Claude Code skill that lets you ask questions to the same session that wrote the code</title>
      <dc:creator>Narek</dc:creator>
      <pubDate>Tue, 12 May 2026 07:25:20 +0000</pubDate>
      <link>https://dev.to/narghev/i-built-askdiff-a-claude-code-skill-that-lets-you-ask-questions-to-the-same-session-that-wrote-45d3</link>
      <guid>https://dev.to/narghev/i-built-askdiff-a-claude-code-skill-that-lets-you-ask-questions-to-the-same-session-that-wrote-45d3</guid>
      <description>&lt;h2&gt;
  
  
  The problem I kept running into
&lt;/h2&gt;

&lt;p&gt;Using Claude Code in the past couple of months I have noticed a clear bottleneck in my workflow - reviewing code written by AI.&lt;/p&gt;

&lt;p&gt;My workflow looked like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Finish a Claude Code session&lt;/li&gt;
&lt;li&gt;Open a draft PR to review the diff&lt;/li&gt;
&lt;li&gt;Hit a question on a specific line&lt;/li&gt;
&lt;li&gt;Copy file name + line numbers back into Claude&lt;/li&gt;
&lt;li&gt;Try to help the session to remember the context&lt;/li&gt;
&lt;li&gt;Repeat&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then I realized something: &lt;strong&gt;in the pre-AI world, I never did this.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I never took diffs back to the code author. I just left a comment &lt;br&gt;
in the PR and the author answered directly, because they had full &lt;br&gt;
context of why and what.&lt;/p&gt;

&lt;p&gt;So I built askdiff.&lt;/p&gt;
&lt;h2&gt;
  
  
  What askdiff does
&lt;/h2&gt;

&lt;p&gt;Askdiff is a Claude Code skill + an NPM package that opens a GitHub PR-style diff viewer in your browser, attached to the same Claude Code session that wrote the code.&lt;/p&gt;

&lt;p&gt;Launch /askdiff from any Claude Code session and it will open the working directory diff in a UI attached to the Claude Code session.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd0xhx4j86azflmy5um2u.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd0xhx4j86azflmy5um2u.gif" alt="askdiff demo" width="200" height="129"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  How to try it
&lt;/h2&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /path/to/your/project
npx &lt;span class="nt"&gt;-y&lt;/span&gt; askdiff install-skill

&lt;span class="c"&gt;# Or, install user-level (available from any project):&lt;/span&gt;
npx &lt;span class="nt"&gt;-y&lt;/span&gt; askdiff install-skill &lt;span class="nt"&gt;--global&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;Then run &lt;code&gt;/askdiff&lt;/code&gt; from any Claude Code session.&lt;/p&gt;
&lt;h3&gt;
  
  
  /askdiff with natural language descriptions for diff and session
&lt;/h3&gt;

&lt;p&gt;Askdiff can also be launched by describing the diff and the session you want it to be attached. Let's say you have made a change days ago and it had a dedicated session that has all the context. You can do&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;/askdiff the commit where we implemented auth attached to the session that wrote it
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz8sc5akob1v2v3nh1doc.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz8sc5akob1v2v3nh1doc.gif" alt="askdiff demo for NL descriptors" width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The technical bit
&lt;/h2&gt;

&lt;p&gt;Askdiff uses &lt;code&gt;claude --resume&lt;/code&gt; &lt;em&gt;without&lt;/em&gt; &lt;code&gt;--fork-session&lt;/code&gt;, so, if launched or attached to a session that has the context your question contains all the relevant information that the AI needs to answer it.&lt;/p&gt;

&lt;p&gt;This means if you ask "why did you use a Set here instead of an &lt;br&gt;
array?", the answer will reference the actual reasoning from when &lt;br&gt;
the code was written, not a generic explanation.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Currently Claude Code only, no Anthropic API key required, no configuration.&lt;/p&gt;

&lt;p&gt;The repo is open source: &lt;a href="https://github.com/narghev/askdiff" rel="noopener noreferrer"&gt;https://github.com/narghev/askdiff&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'm still using askdiff daily and refining the UI and the skill itself. &lt;/p&gt;

&lt;p&gt;If you're using Claude Code in your team workflow — how are you reviewing AI-generated code today? Is the back-and-forth between PR and Claude a pain for you too?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>nocode</category>
      <category>devex</category>
    </item>
  </channel>
</rss>
