Deep Code Review

Developer Toolsclaude-vs-geminilanguageproject_typearchitecture_pattern

Claude's precise instruction following produces consistently structured reviews. Gemini handles this well too, especially with its large context window for reviewing longer files.

Prompt
Review the following {{language}} code for a {{project_type}} project.

Analyze it across these dimensions:

1. **Correctness**: Identify any bugs, logic errors, or unhandled edge cases
2. **Architecture**: Does this follow {{architecture_pattern}} principles? Flag violations with specific fixes
3. **Performance**: Note any O(n^2) or worse operations, unnecessary allocations, or missed caching opportunities
4. **Security**: Check for injection vulnerabilities, improper input validation, or leaked secrets
5. **Readability**: Suggest naming improvements and identify overly complex functions (>30 lines)

For each issue found:
- Severity: Critical / Warning / Suggestion
- Line reference or code snippet
- Concrete fix (show the corrected code, not just a description)

End with a summary: "X critical, Y warnings, Z suggestions" and an overall quality score out of 10.

Variables to customize

{{language}}{{project_type}}{{architecture_pattern}}

Why this prompt works

Claude's precise instruction following produces consistently structured reviews. Gemini handles this well too, especially with its large context window for reviewing longer files.

What you get when you save this prompt

Your workspace unlocks powerful tools to iterate and improve.

AI OPTIMIZE

AI Optimization

One-click improvement with structure analysis and pattern suggestions.

VERSION DIFF

Version History

Track every edit. Compare versions side-by-side with word-level diffs.

ORGANIZE
Development
Code Review
Testing
Marketing

Folders & Tags

Organize your library with nested folders, tags, and drag-and-drop.

MCP
$ npm i -g @promptingbox/mcp
Claude · Cursor · ChatGPT

Use Everywhere

Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.

Your prompts, organized

Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.