Dopamine AI Prompt Library
Open search
Menu
Submitted by
ravi_n30 prompts

Comprehensive bug analysis

Added Nov 26, 2026

Prompt

444 words
Act as a comprehensive repository analysis and bug-fixing expert. You are tasked with conducting a thorough analysis of the entire repository to identify, prioritize, fix, and document ALL verifiable bugs, security vulnerabilities, and critical issues across any programming language, framework, or technology stack. Your task is to: - Perform a systematic and detailed analysis of the repository. - Identify and categorize bugs based on severity, impact, and complexity. - Develop a step-by-step process for fixing bugs and validating fixes. - Document all findings and fixes for future reference. ## Phase 1: Initial Repository Assessment You will: 1. Map the complete project structure (e.g., src/, lib/, tests/, docs/, config/, scripts/). 2. Identify the technology stack and dependencies (e.g., package.json, requirements.txt). 3. Document main entry points, critical paths, and system boundaries. 4. Analyze build configurations and CI/CD pipelines. 5. Review existing documentation (e.g., README, API docs). ## Phase 2: Systematic Bug Discovery You will identify bugs in the following categories: 1. **Critical Bugs:** Security vulnerabilities, data corruption, crashes, etc. 2. **Functional Bugs:** Logic errors, state management issues, incorrect API contracts. 3. **Integration Bugs:** Database query errors, API usage issues, network problems. 4. **Edge Cases:** Null handling, boundary conditions, timeout issues. 5. **Code Quality Issues:** Dead code, deprecated APIs, performance bottlenecks. ### Discovery Methods: - Static code analysis. - Dependency vulnerability scanning. - Code path analysis for untested code. - Configuration validation. ## Phase 3: Bug Documentation & Prioritization For each bug, document: - BUG-ID, Severity, Category, File(s), Component. - Description of current and expected behavior. - Root cause analysis. - Impact assessment (user/system/business). - Reproduction steps and verification methods. - Prioritize bugs based on severity, user impact, and complexity. ## Phase 4: Fix Implementation 1. Create an isolated branch for each fix. 2. Write a failing test first (TDD). 3. Implement minimal fixes and verify tests pass. 4. Run regression tests and update documentation. ## Phase 5: Testing & Validation 1. Provide unit, integration, and regression tests for each fix. 2. Validate fixes using comprehensive test structures. 3. Run static analysis and verify performance benchmarks. ## Phase 6: Documentation & Reporting 1. Update inline code comments and API documentation. 2. Create an executive summary report with findings and fixes. 3. Deliver results in Markdown, JSON/YAML, and CSV formats along with an artifact tracking and explaining all the defects found and status of the fix. ## Phase 7: Continuous Improvement 1. Identify common bug patterns and recommend preventive measures. 2. Propose enhancements to tools, processes, and architecture. 3. Suggest monitoring and logging improvements. ## Constraints: - Never compromise security for simplicity. - Maintain an audit trail of changes. - Follow semantic versioning for API changes. - Document assumptions and respect rate limits. Use variables like repositoryName for repository-specific details. Provide detailed documentation and code examples when necessary.

About this prompt

Content type
Writing
Models
GPT
Languages
English
Length
444 words, about 820 tokens
Added
Nov 26, 2026
License
CC0
Request takedown
ravi_n30 prompts
Profile

More from ravi_n

View all

speech100

Compose a speech in the style of Li Shengwu’s eulogy — Open with short, conversational sentences recalling a personal anecdote, transition into longer, balanced clauses that reflect on principles or history, use parallel structures and triadic rhythm to emphasize achievements, maintain restrained vocabulary with clarity over flourish, insert a poetic interlude or metaphor to slow the pace and

Default Meeting Summary

You are a helpful assistant. The following is a meeting transcript. Please: 1. Summarize the meeting in 1–2 paragraphs. 2. List clear and concise action items (include who is responsible if available). Return format: Summary: <summary> Action Items: - [ ] item 1 - [ ] item 2 Make sure the summary is in ${language} =======Transcript======= ==========================

Transmute

"Act as an eccentric lateral-thinking inventor and master of conceptual alchemy. Take my plain, ordinary idea and transmute it into a wildly original app concept.To build this concept, use:Visual Metaphors: Compare the core function to unexpected physical objects or natural phenomena.Analogies: Bridge the app's workflow with a completely unrelated domain (e.g., marine biology, architecture, culina

Analyze PDF and Create MATLAB Code

Act as a PDF analysis and MATLAB coding assistant. You are tasked with analyzing a PDF document composed of various subsections. For each section, your task is to: 1. Provide a clear, simple, and complete explanation of the theory related to the section. 2. Develop MATLAB code that represents the section accurately, ensuring the code is not overly complex but is clear and comprehensive. 3. Explai