<?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>Forem: Alwin R</title>
    <description>The latest articles on Forem by Alwin R (@alraj).</description>
    <link>https://forem.com/alraj</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%2F3773804%2F008b28ac-1496-494e-86f5-8ac768a2a014.jpeg</url>
      <title>Forem: Alwin R</title>
      <link>https://forem.com/alraj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/alraj"/>
    <language>en</language>
    <item>
      <title>A Debugging Companion that follows the Socratic Method</title>
      <dc:creator>Alwin R</dc:creator>
      <pubDate>Sun, 15 Feb 2026 11:12:58 +0000</pubDate>
      <link>https://forem.com/alraj/a-debugging-companion-that-follows-the-socratic-method-5e58</link>
      <guid>https://forem.com/alraj/a-debugging-companion-that-follows-the-socratic-method-5e58</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github-2026-01-21"&gt;GitHub Copilot CLI Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;A Socratic debugging companion that asks questions instead of giving answers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Link: &lt;a href="https://github.com/alwnraj/rubber-duck" rel="noopener noreferrer"&gt;https://github.com/alwnraj/rubber-duck&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;### Start a debugging session&lt;/span&gt;
rubber-duck &lt;span class="s2"&gt;"my API returns 500 but only on Tuesdays"&lt;/span&gt;

&lt;span class="c"&gt;### Continue session&lt;/span&gt;
rubber-duck &lt;span class="nt"&gt;--continue&lt;/span&gt; &lt;span class="s2"&gt;"I checked the logs"&lt;/span&gt;

&lt;span class="c"&gt;### Provide file context&lt;/span&gt;
rubber-duck &lt;span class="nt"&gt;--context&lt;/span&gt; error.log &lt;span class="s2"&gt;"why is this failing?"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  My Experience with GitHub Copilot CLI
&lt;/h2&gt;

&lt;p&gt;I built this tool to work with the Copilot CLI while using Copilot CLI itself to build it. Copilot CLI helped the architect the subprocess integration. The core of this project is crafting prompts that force socratic questioning.  I used Copilot CLI to iterate on prompt templates, asking "how can I make this prompt more forward?". When writing tests for the CLI tool, opilot helped me understand that I could override HOME in the test environment to isolate each test's config.I wasn't familiar with GitHub Actions matrix builds. Copilot CLI generated the workflow file and explained how to test across multiple Node versions and OSes.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>cli</category>
      <category>githubcopilot</category>
    </item>
  </channel>
</rss>
