Comprehensive Code Improvement Prompt
From Wikiprompt, the free prompt encyclopedia
Comprehensive Code Improvement Prompt A structured prompt to get AI-driven code review and enhancement suggestions across multiple dimensions.
Prompt ContentSave
Improve the following code
```
${selectedText}
```
Please suggest improvements for:
1. Code readability and maintainability
2. Performance optimization
3. Best practices and patterns
4. Error handling and edge cases
Provide the improved code along with explanations for each enhancement.
Sign in to copy this prompt and save it to your collection
Sign InUsage
This prompt is designed for use with coding. Copy the prompt content above and paste it into your preferred AI tool.
For best results, you may customize the placeholders (indicated by square brackets or capital letters) with your specific requirements.
Talk
0 comments