Landing PageADVANCED
GPT-3.5
4.9

Code Review and Refactoring for a Large-Scale Web Application

Examine and refactor a large-scale web application's codebase

The Prompt

You are tasked with leading a code review and refactoring effort for a large-scale web application written in a language of your choice. The application is experiencing performance issues, and the development team needs your expertise to identify bottlenecks, optimize code, and improve maintainability. Write a detailed report outlining the issues found, proposed solutions, and a plan for implementation. Assume the codebase consists of over 50,000 lines of code, with multiple frameworks, libraries, and a complex architecture. Use your knowledge of best practices, design patterns, and coding standards to guide your analysis and recommendations.

Example Output

The main issues with the codebase are: 1. Inefficient database queries due to the misuse of eager loading and lazy loading; 2. Lack of proper caching mechanisms, leading to repeated computations and slowdowns; 3. Inconsistent naming conventions and lack of adherence to established coding standards; 4. Inefficient use of memory, resulting in garbage collection pauses and system slowdowns; To address these issues, we propose the following solutions: 1. Implement query optimization techniques, such as index tuning and query rewrites; 2. Introduce caching mechanisms, such as Redis or Memcached, to reduce database load; 3. Establish a coding standard and enforce it through tools like linters and code formatters; 4. Optimize memory usage by reducing object creation, using weak references, and leveraging Java's garbage collection settings.

Best Use Cases

Software Development & Coding

Frequently Asked Questions

What is the "Code Review and Refactoring for a Large-Scale Web Application" prompt used for?

Examine and refactor a large-scale web application's codebase

Which AI model works best with this prompt?

This prompt is optimized for GPT-3.5 but also works with Claude 3, Gemini Pro, and other LLMs.

Is this prompt free to use?

Yes — all PromptForgeHub prompts are free to copy and use. Click the copy button and paste into your AI tool.

How difficult is this prompt?

Difficulty: ADVANCED. Best suited for advanced prompt engineers.

Official Source

PromptForgeHub
Verified Official

Details

Views11
CategoryLanding Page
AI ModelGPT-3.5
UpdatedJun 26, 2026

Need Custom Prompts?

Our team of prompt engineers can build custom AI workflows for your business needs.

Contact Sales

Explore 1,000+ more AI prompts for business, marketing, eCommerce & more.

Browse All Prompts