Author & Architect: Robina Mirbahar (Google Developer Expert in Cloud & AI · Google Cloud Champion Innovator · Co-Author of AI Engineering)
📚 Companion Repository: AI-CODE-DEBUGGER (RobinaMirbahar/AI-CODE-DEBUGGER)
Core Stack: Google Gemini API, Python Code Diagnostics, Complexity Analysis, and Patch Suggestion.
🎯 Why I Built ai.code.debugger — Lightweight Gemini Static Analyzer (Engineering Purpose & Real-World Value)
I created ai.code.debugger as a lightweight, zero-bloat companion for inspecting buggy scripts, understanding stack traces, and generating clean refactored code using the Google Gemini API.
Rather than returning an unexplained code block, my prompt architecture outputs a clear breakdown of what broke, why it broke, and how the patch prevents regressions.
Designed with a clean Python footprint that integrates into local scripts, notebooks, or CI pre-commit hooks.
flowchart TD
A["Buggy Source File + Traceback"] --> B["ai.code.debugger Parser"]
B --> C["Google Gemini Diagnostic Prompt"]
C --> D["Root-Cause Explanation"]
C --> E["Refactored & Patched Code"]