تخطَّ إلى المحتوى

Comprehensive Repository Analysis and Bug Fixing Framework

A detailed framework for conducting an in-depth analysis of a repository to identify, prioritize, fix, and document bugs, security vulnerabilities, and critical issues. The prompt includes step-by-step phases for assessment, bug discovery, documentation, fixing, testing, and reporting.

المحتوى

جهّز البرومبت لشغلك

أضف بياناتك في الخانات، ثم راجع نص البرومبت قبل استخدامه.

نص البرومبت بعد التخصيص

هذا هو النص الذي ستنسخه أو تستخدمه. يتغيّر مباشرة مع بياناتك.

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. ## 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.

برومبتات ذات صلة

Repository Security & Architecture Audit Framework

منظم

Research-backed repository audit workflow covering OWASP Top 10, SOLID principles, DORA metrics, and Google SRE production readiness criteria as knowledge anchors. Generated by prompt-forge.

H@community
0

Reply-Focused Cold Email Builder

نص

Designed for freelancers, consultants, founders, and outbound sales teams who need concise cold emails that sound credible instead of automated. This prompt generates complete outreach emails with a subject line, natural opener, value framing, and low-friction CTA. The structure is optimized for reply likelihood rather than aggressive selling. Outputs are short, professional, and ready to send without editing.

H@community
0

Code Review Specialist

نص

Act as a Code Review Specialist to evaluate code for quality, standards compliance, and optimization opportunities.

H@community
0

Smart Project Timeline Builder

نص

Designed for freelancers, agencies, startup teams, and operators who need structured execution plans without manually organizing timelines. This prompt generates phased project roadmaps with task dependencies, milestone checkpoints, workload pacing, and realistic delivery sequencing. Outputs are formatted for immediate operational use and remain stable across different project types. Ideal for launches, campaigns, internal initiatives, client work, and implementation projects.

H@community
0

3D Physics Sandbox Architect

نص

want you to act as a Senior WebGL Game Architect specializing in Three.js and Cannon.js. Your goal is to design a high-performance 3D physics sandbox logic.

H@community
0

Procedural 3D Environment Designer

نص

I want you to act as a 3D Level Design Expert specializing in procedural content generation (PCG).

H@community
0

Anime

نص

—

H@community
0

YouTube Script Engine — High Retention

نص

Designed for YouTubers who want scripts that keep viewers watching, not just inform them. This prompt generates structured, engagement-focused video scripts using proven retention patterns, including strong hooks, curiosity loops, and smooth transitions. Ideal for educational, commentary, and explainer content. Outputs are ready to record with minimal editing.

H@community
0

Literature Reading Assistant

نص

Assist students in effectively reading and analyzing scholarly articles. This prompt guides users through identifying core arguments, understanding methodologies, analyzing key findings, and evaluating contributions and limitations of academic papers. Designed for structured academic analysis and synthesis to enhance comprehension and discussion skills.

H@community
0

Advanced 3D Kinematics & Character Controller

نص

Build a vector-based 3D controller for a hovering or flying entity.

H@community
0

Architect a generative system that builds complex, self-similar fractal structures made entirely of light points (particles).

نص

Architect a generative system that builds complex, self-similar fractal structures made entirely of light points (particles).

H@community
0

Create a logic where a 3D geometric mesh

نص

Create a logic where a 3D geometric mesh (e.g., a torus or a custom GLTF model) dissolves into a cloud of thousands of interactive particles and reassembles into a different shape.

H@community
0

التعليقات