<?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: Shahid Malik</title>
    <description>The latest articles on Forem by Shahid Malik (@shahid_malik786).</description>
    <link>https://forem.com/shahid_malik786</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%2F3746352%2F2a386bec-1038-4d49-90df-de3b0be62a9d.png</url>
      <title>Forem: Shahid Malik</title>
      <link>https://forem.com/shahid_malik786</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/shahid_malik786"/>
    <language>en</language>
    <item>
      <title>AI Error Doctor – A CLI That Explains Errors Like a Human</title>
      <dc:creator>Shahid Malik</dc:creator>
      <pubDate>Wed, 04 Feb 2026 11:48:36 +0000</pubDate>
      <link>https://forem.com/shahid_malik786/ai-error-doctor-a-cli-that-explains-errors-like-a-human-4op4</link>
      <guid>https://forem.com/shahid_malik786/ai-error-doctor-a-cli-that-explains-errors-like-a-human-4op4</guid>
      <description>&lt;p&gt;What I Built&lt;/p&gt;

&lt;p&gt;I built AI Error Doctor, a simple but powerful Python CLI tool that takes a raw error message and instantly explains:&lt;/p&gt;

&lt;p&gt;🔍 What the error means&lt;/p&gt;

&lt;p&gt;🔧 Why it happened&lt;/p&gt;

&lt;p&gt;✅ How to fix it&lt;/p&gt;

&lt;p&gt;As a student and early-stage developer, I often found error messages confusing, especially for beginners. This tool is designed to act like a friendly debugging assistant right inside the terminal.&lt;/p&gt;

&lt;p&gt;Example usage:&lt;/p&gt;

&lt;p&gt;py error_doctor.py "ModuleNotFoundError: No module named 'requests'"&lt;/p&gt;

&lt;p&gt;Example output:&lt;/p&gt;

&lt;p&gt;📋 Error Type: ModuleNotFoundError&lt;br&gt;
💡 Explanation: Python cannot find the requested module.&lt;br&gt;
🔧 Suggested Fix: pip install requests&lt;/p&gt;

&lt;p&gt;The tool currently supports common Python, npm, and Git errors, and it’s easy to extend with more patterns.&lt;/p&gt;

&lt;p&gt;Demo&lt;br&gt;
📸 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%2Fm45ffe6wei7e123q9ajc.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%2Fm45ffe6wei7e123q9ajc.png" alt=" " width="800" height="342"&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%2Fknw79ozinbva4nlckfkm.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%2Fknw79ozinbva4nlckfkm.png" alt=" " width="800" height="139"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;💻 Code&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/SHAHID-glitch/ai-error-doctor" rel="noopener noreferrer"&gt;https://github.com/SHAHID-glitch/ai-error-doctor&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Video Link: &lt;a href="https://player.mux.com/NY00L3RQlb6ZrZiPOT5pfl18WjfhnduhSMPqC7HsaaYw" rel="noopener noreferrer"&gt;https://player.mux.com/NY00L3RQlb6ZrZiPOT5pfl18WjfhnduhSMPqC7HsaaYw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;GitHub Copilot CLI was central to this project.&lt;/p&gt;

&lt;p&gt;I used it to:&lt;/p&gt;

&lt;p&gt;🧠 Design the CLI structure&lt;/p&gt;

&lt;p&gt;✍️ Generate error-handling logic&lt;/p&gt;

&lt;p&gt;🔎 Suggest common error patterns and fixes&lt;/p&gt;

&lt;p&gt;🚀 Rapidly iterate inside the terminal without switching contexts&lt;/p&gt;

&lt;p&gt;Copilot CLI felt like pair programming in the terminal. Instead of searching error explanations online, I could build a tool that explains errors for others — using Copilot itself.&lt;/p&gt;

&lt;p&gt;This project genuinely changed how I see debugging: from something frustrating into something automated, educational, and developer-friendly.&lt;/p&gt;

&lt;p&gt;Final Thoughts&lt;/p&gt;

&lt;p&gt;AI Error Doctor may be simple, but it solves a real problem faced by beginners every day.&lt;br&gt;
This challenge helped me go from asking Copilot for help to building a tool that helps others.&lt;/p&gt;

&lt;p&gt;Thank you, GitHub and DEV, for this opportunity 🙌&lt;/p&gt;

&lt;h1&gt;
  
  
  githubcopilot #cli #python #ai #devtools
&lt;/h1&gt;

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