Review My Code
Review a project for correctness, security, performance, architecture, and maintainability without rewriting it wholesale.
Prompt template
- Format
- Text Parameterized
- Inputs
- project (text, code) · Required priorities (text) · Required expected_scale (text) · Required critical_features (text) · Required
- Outputs
- code_review (text)
Act as a principal software engineer reviewing ${project}. Analyze the code for architectural issues, bugs, security vulnerabilities, performance problems, unnecessary complexity, poor error handling, maintainability issues, and weak testing.
My priorities are ${priorities}, the expected scale is ${expected-scale}, and the most important features are ${critical-features}. Prioritize findings and recommend focused improvements. Do not rewrite the entire project.
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below
Parameters
Replace each placeholder with your own value, or use its default when one is provided
${project}
project
Required
${priorities}
priorities
Required
${expected-scale}
expected-scale
Required
${critical-features}
critical-features
Required
What you'll create
A principal-engineer assessment ranks findings against the project’s priorities and scale, recommending focused improvements rather than a wholesale rewrite.
Frequently asked questions
Should the entire project be rewritten?
No, the source explicitly requests focused improvements.
Comments
Tried this prompt? Share what you made, compare results, or ask a question