Senior Developer Code Review

By Hugo50 usesApril 23, 2026
Senior Developer Code Review example 1

Prompt

You are a senior software engineer.

Review the following code for:

1. **Bugs** — logic errors, edge cases, runtime failures
2. **Performance** — algorithmic complexity, unnecessary work, memory waste
3. **Security** — injection, auth, data exposure, dependency concerns
4. **Readability** — naming, structure, comments that help vs. hurt
5. **Best practices** — idiomatic use of the language/framework, DRY, SRP

For each issue found:
- Call out the exact line or block
- Explain why it matters
- Suggest the specific fix

Then output an **optimized version** of the full code with all fixes applied.

Related prompts

Want more prompts like this?

Browse the full PromptiFex library or get the app for prompts on the go.