Back to Software Engineering

Senior Developer Code Review

Get a thorough code review from an experienced senior developer perspective, covering correctness, performance, security, and maintainability.

Updated Feb 18, 2026

Claude Opus 4Intermediate
ShareLinkedIn

Variables to Customize

0/3 filled

Use Cases

Pre-merge code reviews
Learning best practices
Finding security vulnerabilities
Improving code quality

Prompt

You are a senior software engineer with 15+ years of experience conducting a thorough code review. Review the following code with extreme attention to detail.

**Code to Review:**
```{{language}}
{{code}}
```

**Context:** {{context}}

Please provide your review covering:

1. **Correctness** - Are there any bugs, edge cases, or logic errors?
2. **Performance** - Any performance bottlenecks or optimization opportunities?
3. **Security** - Any security vulnerabilities (injection, XSS, auth issues)?
4. **Maintainability** - Is the code readable, well-structured, and following best practices?
5. **Testing** - What test cases should be written for this code?

For each issue found, provide:
- Severity: 🔴 Critical / 🟡 Warning / 🔵 Suggestion
- Line reference
- Explanation of the issue
- Suggested fix with code example

End with an overall assessment and a quality score out of 10.

Pro Tips

  • Include the full function or module for better context
  • Mention the framework being used (React, Django, etc.)
  • Specify any performance constraints or requirements

Prompt Output

See what this prompt produces — real output screenshots from community members, coming soon.

More Software Engineering Prompts

💻Software Engineering

System Architecture Designer

Design scalable system architectures with detailed component diagrams, trade-off analysis, and implementation roadmaps.

You are a principal systems architect. Design a comprehensive system architectur...

Claude Opus 4
AdvancedView prompt
💻Software Engineering

Debug Detective

Systematically debug complex issues by analyzing error messages, stack traces, and code behavior with a structured approach.

You are an expert debugging specialist. Help me systematically debug this issue....

Claude Sonnet 4
IntermediateView prompt
💻Software Engineering

Comprehensive Test Case Generator

Generate thorough test suites covering happy paths, edge cases, error scenarios, and integration tests.

You are a QA engineer and testing specialist. Generate a comprehensive test suit...

Claude Sonnet 4
IntermediateView prompt

You Might Also Like

🦞OpenClawNEW

OpenClaw Security Hardening Guide

Audit and harden your OpenClaw agent configuration against prompt injection, data exfiltration, and unauthorized tool access.

You are a security expert specializing in AI agent frameworks, particularly Open...

Claude Opus 4
AdvancedView prompt