
What I Built I built AI Error Doctor, a simple but powerful Python CLI tool that takes a raw error...
What I Built
I built AI Error Doctor, a simple but powerful Python CLI tool that takes a raw error message and instantly explains:
🔍 What the error means
🔧 Why it happened
✅ How to fix it
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.
Example usage:
py error_doctor.py "ModuleNotFoundError: No module named 'requests'"
Example output:
📋 Error Type: ModuleNotFoundError 💡 Explanation: Python cannot find the requested module. 🔧 Suggested Fix: pip install requests
The tool currently supports common Python, npm, and Git errors, and it’s easy to extend with more patterns.
Demo 📸 Screenshots


💻 Code
https://github.com/SHAHID-glitch/ai-error-doctor
Video Link: https://player.mux.com/NY00L3RQlb6ZrZiPOT5pfl18WjfhnduhSMPqC7HsaaYw
GitHub Copilot CLI was central to this project.
I used it to:
🧠 Design the CLI structure
✍️ Generate error-handling logic
🔎 Suggest common error patterns and fixes
🚀 Rapidly iterate inside the terminal without switching contexts
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.
This project genuinely changed how I see debugging: from something frustrating into something automated, educational, and developer-friendly.
Final Thoughts
AI Error Doctor may be simple, but it solves a real problem faced by beginners every day. This challenge helped me go from asking Copilot for help to building a tool that helps others.
Thank you, GitHub and DEV, for this opportunity 🙌
#githubcopilot #cli #python #ai #devtools
aiEvery developer tool follows the same pattern: parse flags, run logic, print output. git commit -m...
dockerAPT repositories are just HTTP file servers, doesn't seem like something that should require a custom piece of software.
opensourceWe wanted every employee in the company to use OpenClaw — not just engineers. Product managers...
azurefabricLeveraging Gemini CLI and the underlying Gemini LLM to build Model Context Protocol (MCP) AI...
googlecloudplatformLeveraging Gemini CLI and the underlying Gemini LLM to build Model Context Protocol (MCP) AI...
iacLeveraging Gemini CLI and the underlying Gemini LLM to build Model Context Protocol (MCP) AI...
Workflows from the Neura Market marketplace related to this Grok resource