<?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: Thejan Vishmitha</title>
    <description>The latest articles on Forem by Thejan Vishmitha (@harryvishmitha).</description>
    <link>https://forem.com/harryvishmitha</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%2F3740339%2F1bffe987-fd77-4038-a559-5a5d97387b47.jpeg</url>
      <title>Forem: Thejan Vishmitha</title>
      <link>https://forem.com/harryvishmitha</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/harryvishmitha"/>
    <language>en</language>
    <item>
      <title>PR Whisperer: A Copilot-Powered CLI for Writing Better Pull Requests</title>
      <dc:creator>Thejan Vishmitha</dc:creator>
      <pubDate>Fri, 30 Jan 2026 18:23:27 +0000</pubDate>
      <link>https://forem.com/harryvishmitha/pr-whisperer-a-copilot-powered-cli-for-writing-better-pull-requests-3jc4</link>
      <guid>https://forem.com/harryvishmitha/pr-whisperer-a-copilot-powered-cli-for-writing-better-pull-requests-3jc4</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;I built &lt;strong&gt;PR Whisperer (&lt;code&gt;prw&lt;/code&gt;)&lt;/strong&gt;, a command-line tool that helps developers write &lt;strong&gt;better pull requests&lt;/strong&gt; using &lt;strong&gt;GitHub Copilot CLI&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Instead of being “AI for the sake of AI”, PR Whisperer focuses on real developer workflows:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;reviewing your own changes objectively&lt;/li&gt;
&lt;li&gt;generating clear, structured PR descriptions&lt;/li&gt;
&lt;li&gt;working even when you’re not on a feature branch&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal was to make Copilot feel like a &lt;strong&gt;thoughtful PR partner&lt;/strong&gt; rather than just a text generator.&lt;/p&gt;

&lt;p&gt;PR Whisperer supports multiple review contexts:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;traditional PRs (branch vs base)&lt;/li&gt;
&lt;li&gt;pre-commit reviews (staged changes)&lt;/li&gt;
&lt;li&gt;same-branch workflows (last commit vs previous commit)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All from the terminal, with zero browser context switching.&lt;/p&gt;




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

&lt;p&gt;&lt;strong&gt;Repository:&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;a href="https://github.com/HarryVishmitha/prw-whisper" rel="noopener noreferrer"&gt;https://github.com/HarryVishmitha/prw-whisper&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example commands:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;prw doctor
prw review &lt;span class="nt"&gt;--commit&lt;/span&gt; &lt;span class="nt"&gt;--save&lt;/span&gt;
prw describe &lt;span class="nt"&gt;--commit&lt;/span&gt; &lt;span class="nt"&gt;--save&lt;/span&gt;
prw init
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  What happens when you run it
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;prw review&lt;/code&gt; generates a structured PR review (summary, risk, issues, suggestions, checklist)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;prw describe&lt;/code&gt; drafts PR titles and a clean GitHub-ready PR description&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;--save&lt;/code&gt; writes Markdown reports to &lt;code&gt;.prw/reports/&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;prw init&lt;/code&gt; runs &lt;code&gt;copilot init&lt;/code&gt; and generates repository instructions automatically&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Screenshots and CLI output examples are available in the repository README.&lt;/p&gt;

&lt;p&gt;Sample Screenshots&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%2Fx6cy2mq0gs7iwkfzvnf3.png" 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%2Fx6cy2mq0gs7iwkfzvnf3.png" alt=" " width="800" height="431"&gt;&lt;/a&gt;&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%2Fgvedk70djxmov882u9mx.png" 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%2Fgvedk70djxmov882u9mx.png" alt=" " width="800" height="429"&gt;&lt;/a&gt;&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%2F98ju3n8r463cjbxge4wr.png" 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%2F98ju3n8r463cjbxge4wr.png" alt=" " width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;




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

&lt;p&gt;This project was built &lt;strong&gt;around&lt;/strong&gt; GitHub Copilot CLI — not just with it.&lt;/p&gt;

&lt;p&gt;I used Copilot CLI in three intentional ways:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AI-powered reviews&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Copilot analyzes Git diffs and generates structured, human-readable PR feedback.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;PR description generation&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
Copilot drafts PR titles and PR descriptions using a consistent template&lt;br&gt;&lt;br&gt;
(What / Why / How / Testing / Risk).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Repository initialization&lt;/strong&gt;&lt;br&gt;&lt;br&gt;
&lt;code&gt;prw init&lt;/code&gt; wraps &lt;code&gt;copilot init&lt;/code&gt; to generate &lt;code&gt;.github/copilot-instructions.md&lt;/code&gt;, documenting architecture, conventions, and CLI behavior.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I intentionally avoided calling Copilot when it wasn’t needed:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PR Whisperer detects “no diff” scenarios and guides the user instead of wasting AI calls&lt;/li&gt;
&lt;li&gt;All Copilot usage is non-interactive and scripted, making it reliable and repeatable&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This made Copilot feel less like a chatbot and more like a &lt;strong&gt;well-integrated CLI collaborator&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why This Project Is Different
&lt;/h2&gt;

&lt;p&gt;Most PR tools assume:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“You always work on feature branches.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;PR Whisperer supports:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;solo developers&lt;/li&gt;
&lt;li&gt;same-branch workflows&lt;/li&gt;
&lt;li&gt;pre-commit reviews&lt;/li&gt;
&lt;li&gt;quick self-reviews before opening a PR&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It’s not flashy — it’s &lt;strong&gt;practical&lt;/strong&gt;, and designed to fit into how developers actually work.&lt;/p&gt;




&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Building PR Whisperer showed me that the real strength of GitHub Copilot CLI isn’t just code generation — it’s &lt;strong&gt;augmenting developer judgment&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This project reflects how I’d genuinely want to use Copilot in my own workflow:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;intentional&lt;/li&gt;
&lt;li&gt;context-aware&lt;/li&gt;
&lt;li&gt;respectful of developer time&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for the challenge — this was a great opportunity to explore what AI-powered CLI tools can really be.&lt;/p&gt;

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