Easy Prompt
WritingTextIntermediate

Improve the following code

Prompt from prompts.chat: Improve the following code

Prompt Content

Copy and paste directly into your model or internal evaluation tool.

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.

Use Cases

Imported from source sync; refine manually if needed

Reference Output

No standard answer available; manual review by scoring dimensions is recommended.

Scoring Rubric

Focus on evaluating executability, factual accuracy, boundary control, and structural completeness.

Try & save

Fill variables and copy, or save as a personal template.

This template has no variables and is ready to copy.

User Rating

0 ratings
-

Your rating

Log in to rate

Comments

0

Log in to comment

Related Prompts