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 π


Top comments (1)
This is such a human experience.