FlashPrompt

Senior Software Engineer Code ReviewHOT

This reusable text prompt, "Senior Software Engineer Code Review," is built for ChatGPT, Claude, Gemini, and other text models. Copy it, review the result on this page, then save it in FlashPrompt as -senior so you can insert the same brief without rewriting it.

Prompt

Act as a senior software engineer with a focus on performance, security, and clean code. I will provide you with a code snippet. Your task is to review it and provide specific, actionable feedback. Identify potential bugs, security vulnerabilities, performance bottlenecks, and suggest improvements for readability and maintainability based on industry best practices.

✨ Like this?
Result

Review Summary:

  1. Security: Potential SQL injection in line 42. Use parameterized queries.
  2. Performance: Nested loops here lead to O(n²) complexity. Consider using a Map for O(1) lookups.
  3. Clean Code: Variable names like 'd' and 'temp' are unclear. Use descriptive names like 'retainedData' and 'bufferSize'.

Suggested Refactor: [Code block follows...]

How to use the Senior Software Engineer Code Review prompt

  1. Copy the Senior Software Engineer Code Review prompt from this page.
  2. Paste it into ChatGPT, Claude, Gemini, and other text models.
  3. Compare the result with the example on this page, then adjust only the details that should change.
  4. Save the final version in FlashPrompt with the keyword -senior for one-tap reuse.

Use the Senior Software Engineer Code Review prompt when you write the same kind of senior software engineer code review output more than once. Keeping the instruction in a keyword shortcut keeps tone and structure stable across chats.

FlashPrompt keeps this prompt on your device. After you save it, type -senior in ChatGPT, Claude, Gemini, and other text models or any other text field to insert the same brief.