<?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: Mohammad Rehan Qureshi</title>
    <description>The latest articles on Forem by Mohammad Rehan Qureshi (@rehan99).</description>
    <link>https://forem.com/rehan99</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%2F3766420%2F6660ca84-05d8-4ec6-9c3e-9af27f030e03.png</url>
      <title>Forem: Mohammad Rehan Qureshi</title>
      <link>https://forem.com/rehan99</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/rehan99"/>
    <language>en</language>
    <item>
      <title>Carnitrix-ai: AI-Powered Code Evolution &amp; Risk Intelligence Engine</title>
      <dc:creator>Mohammad Rehan Qureshi</dc:creator>
      <pubDate>Sun, 15 Feb 2026 10:48:17 +0000</pubDate>
      <link>https://forem.com/rehan99/carnitrix-ai-ai-powered-code-evolution-risk-intelligence-engine-ba1</link>
      <guid>https://forem.com/rehan99/carnitrix-ai-ai-powered-code-evolution-risk-intelligence-engine-ba1</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;Carnitrix-ai is an AI-powered CLI tool that predicts potential code failures,&lt;br&gt;
analyzes security risks, forecasts project health using Git history,&lt;br&gt;
and automatically fixes issues using GitHub Copilot CLI.&lt;/p&gt;

&lt;p&gt;It combines:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Static analysis&lt;/li&gt;
&lt;li&gt;AI-driven refactoring&lt;/li&gt;
&lt;li&gt;Security scanning&lt;/li&gt;
&lt;li&gt;Evolution forecasting&lt;/li&gt;
&lt;li&gt;Interactive demo mode&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is to prevent “code disasters” before they happen.&lt;/p&gt;

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

&lt;h3&gt;
  
  
  🔗 GitHub Repository
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/rehanqureshi-1786/carnitrix-ai" rel="noopener noreferrer"&gt;https://github.com/rehanqureshi-1786/carnitrix-ai&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🎥 Demo Video
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://youtu.be/PZL0zJsRfQ8" rel="noopener noreferrer"&gt;https://youtu.be/PZL0zJsRfQ8&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  🖥️ How to Run
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/rehanquresi-1786/carnitrix-ai
&lt;span class="nb"&gt;cd &lt;/span&gt;carnitrix-ai

npm &lt;span class="nb"&gt;install

&lt;/span&gt;npm start demo
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;p&gt;GitHub Copilot CLI significantly accelerated the development of Carnitrix-ai.&lt;/p&gt;

&lt;p&gt;Throughout this project, I used Copilot CLI to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generate and refine CLI command handlers&lt;/li&gt;
&lt;li&gt;Improve error handling and edge case management&lt;/li&gt;
&lt;li&gt;Refactor complex logic into cleaner, modular structures&lt;/li&gt;
&lt;li&gt;Suggest security improvements in vulnerable demo files&lt;/li&gt;
&lt;li&gt;Optimize file path handling and cross-directory execution&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One of the most impactful uses of Copilot CLI was during the implementation of the AI-powered fix command. Copilot helped restructure complex TypeScript logic, reduce code smells, and improve readability in seconds — tasks that would otherwise take much longer manually.&lt;/p&gt;

&lt;p&gt;Copilot CLI also helped during debugging sessions by quickly suggesting fixes for incorrect argument handling and improving output formatting for scan reports.&lt;/p&gt;

&lt;p&gt;Overall, GitHub Copilot CLI acted as an intelligent development partner — speeding up iteration, improving code quality, and allowing me to focus more on architecture and feature design rather than boilerplate implementation.&lt;/p&gt;

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