0

Improve the following code

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 P

Prompt · برومبت

Works with

claude-code (compatible), claude (compatible), codex (compatible), chatgpt (compatible), gemini-cli (compatible), cursor (compatible), copilot (compatible), opencode (compatible), amp (compatible), roo (compatible), kiro (compatible), goose (compatible), junie (compatible), trae (compatible), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible), aider (compatible)

Content

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.

Source and license

Source
Prompts Chat
Original
f/awesome-chatgpt-prompts/prompts.csv#improve-the-following-code
License
MIT