💻 Coding & Development
Comprehensive Repository Analysis and Bug Fixing Framework
Example outputs
Here is what ChatGPT, Claude, and Gemini typically return for this prompt:
I'll conduct a comprehensive repository analysis following your framework. First, I'll map your project structure and identify all technology dependencies, then systematically scan for bugs across all severity levels using static analysis and vulnerability scanning. For each discovered issue, I'll provide a detailed bug report with ID, severity rating, affected files, root cause analysis, and step-by-step remediation instructions with code examples. Finally, I'll create a prioritized action plan with validation tests to ensure all fixes work correctly.
I appreciate the thoroughness of this framework, though I should note some important limitations. I can analyze code you share and identify potential issues, but I cannot actually access repositories, run static analysis tools, or execute CI/CD pipelines. What I can do is review code snippets you provide, spot common bug patterns, suggest fixes with explanations, and help you structure a bug documentation system. Would you like to share specific files or code sections for me to analyze?
I can help analyze code for bugs following this framework. Please provide the repository contents or specific files you'd like analyzed. I'll examine the code for security vulnerabilities (like SQL injection, XSS), logic errors, dependency issues, and code quality problems. For each finding, I'll document the severity, location, root cause, and provide concrete fix recommendations with code examples. Note that I'll need you to share the actual code files to perform the analysis.
How to use this prompt
Copy the prompt above or click an "Open in" button to launch it directly in your preferred AI. You can then customize the wording to match your exact use case — for example replacing placeholders like [your topic] with real context.
Which AI model works best
Claude Opus 4 and Sonnet 4.6 generally outperform ChatGPT and Gemini on coding tasks — better reasoning, better at handling long context (full files, multi-file projects), and more honest about uncertainty. ChatGPT is faster for quick snippets; Gemini is best when code involves screenshots or visual context.
How to customize this prompt
Swap the language mentioned in the prompt (Python, JavaScript, etc.) for whichever stack you're on. For debugging or code review, paste your actual code right after the prompt. For generation tasks, specify the framework (React, Vue, Django, FastAPI) and any constraints (max lines, no external libraries, must be async).
Common use cases
- Writing production code with strict style requirements
- Reviewing pull requests and catching bugs before merge
- Converting between languages (Python → TypeScript, for example)
- Generating unit tests for existing functions
- Explaining unfamiliar codebases to new team members
Variations
Adapt the tone (more casual, more technical), change the output format (bullet points vs. paragraphs), or add constraints (word limits, target audience).
Frequently asked questions
What is the Comprehensive Repository Analysis and Bug Fixing Framework prompt used for?
A comprehensive repository analysis and bug-fixing expert. You are tasked with conducting a thorough analysis… Free AI prompt for ChatGPT, Claude & Gemini.
Which AI model works best for the Comprehensive Repository Analysis and Bug Fixing Framework prompt?
Claude Opus 4 and Sonnet 4.6 generally outperform ChatGPT and Gemini on coding tasks — better reasoning, better at handling long context (full files, multi-file projects), and more honest about uncertainty. ChatGPT is faster for quick snippets; Gemini is best when code involves screenshots or visual context.
How do I customize the Comprehensive Repository Analysis and Bug Fixing Framework prompt?
Swap the language mentioned in the prompt (Python, JavaScript, etc.) for whichever stack you're on. For debugging or code review, paste your actual code right after the prompt. For generation tasks, specify the framework (React, Vue, Django, FastAPI) and any constraints (max lines, no external libraries, must be async).