ComsiloAI Prompt Library
Explore
Design Prompts
Writing Prompts
More
Blog
Tools
Community
ComsiloAI Prompt Library

Comsilo is a free AI prompt library with real outputs for Images, Videos, Websites & more. See results before you spend your AI credits.

Weekly AI prompt ideas

Curated prompts, model comparisons & tips every week. No spam.

Explore

  • Design Prompts
  • Writing Prompts
  • Coding Prompts
  • Marketing Prompts
  • All Categories
  • Popular Tags

Platforms

  • Midjourney Prompts
  • ChatGPT Prompts
  • Flux Prompts
  • Runway Prompts
  • All Platforms →

Resources

  • Prompt Guides
  • Prompt Tips
  • Tools & Generators
  • AI Tools Directory
  • Blog

Company

  • About Us
  • Submit Prompt
  • Blog
  • Privacy Policy
  • Terms of Use

© 2026 Comsilo.com — All rights reserved.

AboutPrivacy PolicyTerms of UseDMCA
HomePromptscodingSenior Code Reviewer Prompt
coding

Senior Code Reviewer Prompt

Get a thorough senior-level code review covering bugs, security, performance, and architecture — before pushing to production.

Output Sample

Output for: Senior Code Reviewer Prompt

The Prompt

Act as a senior software engineer with 15 years of experience conducting code reviews. Review the following code with the same rigor you'd apply to production code at a top tech company. Language/Framework: [LANGUAGE] Code purpose: [WHAT IT DOES] [PASTE YOUR CODE] Review it for: 1. **Bugs & Logic Errors**: Anything that will break 2. **Security Vulnerabilities**: SQL injection, XSS, auth issues, etc. 3. **Performance**: N+1 queries, memory leaks, unnecessary loops 4. **Readability**: Naming, complexity, missing comments where needed 5. **Architecture**: Separation of concerns, SOLID principles 6. **Edge Cases**: What happens with null, empty, extreme inputs 7. **Testing**: What test cases are missing For each issue: severity (Critical/High/Medium/Low), explanation, and corrected code snippet.

How to use

  1. Copy the prompt above using the copy button
  2. Replace any [bracketed placeholders] with your details
  3. Paste into chatgpt, claude
  4. Adjust and iterate based on the result

Shared by

Alex Chen

Alex Chen

Software engineer building AI-powered apps. I write prompts the way I write code — structured, modular, and well-commented.

Tags

#code-review#security#performance#engineering#best-practices

Works With

chatgpt
claude

Details

Categorycoding
AddedJun 24, 2026

Shared by

Alex Chen

Alex Chen

Software engineer building AI-powered apps. I write prompts the way I write code — structured, modular, and well-commented.

Ready to use this?

Copy and paste directly into your AI tool.

Browse by Tag

#code-review#security#performance#engineering#best-practices

You might also like

Browse similar →
Related to:#code-review#security#performance#engineering#best-practices
Python Bug Hunter & Explainer
Coding

Python Bug Hunter & Explainer

Debug any Python error with a clear explanation of root cause, fix, and prevention strategies — faster than Stack Overflow.

You are an expert Python debugger and educator. I have a bug in my code that I cannot figure out. Python version: [VERSION] Framework (if any): [DJANGO/FLASK/FASTAPI/etc.] Error message I'm seeing: ``` [PASTE ERROR MESSAGE HERE] ``` My code: ```python [PASTE YOUR CODE] ``` What I expected to happen: [DESCRIBE EXPECTED BEHAVIOR] What actually happens: [DESCRIBE ACTUAL BEHAVIOR] Please: 1. Identify the root cause (not just symptoms) 2. Explain WHY this causes the error 3. Show the corrected code 4. Explain what you changed and why 5. Suggest 2 ways I could have caught this bug earlier (better logging, type hints, tests)

chatgptclaude
#python#debugging
Liam Walker
React Component Generator
Coding

React Component Generator

Generate production-ready React components with proper typing and accessibility.

Create a React functional component for: [describe the component] Requirements: - Props: [list expected props and their types] - Styling: [Tailwind CSS / CSS modules / styled-components] - State management: [local state / props only] - Accessibility: include ARIA labels where relevant - TypeScript: [yes/no] Include the component, its TypeScript interface, and a usage example.

gpt-4claude-3
#react#typescript
SQL Query Builder
Coding

SQL Query Builder

Build complex SQL queries without needing to remember exact syntax.

Generate a SQL query for the following requirement: Database type: [MySQL/PostgreSQL/SQLite] Tables involved: [table names and brief description] What I need: [describe what data you want] Filters: [any WHERE conditions] Sorting: [ORDER BY requirements] Limit: [any LIMIT] Also explain what the query does in plain English.

gpt-4claude-3
#sql#database
Code Reviewer
Coding

Code Reviewer

Get a thorough code review without waiting for a colleague.

Review the following code and provide detailed feedback: ``` [paste code here] ``` Please check for: 1. Bugs and logical errors 2. Security vulnerabilities 3. Performance issues 4. Code style and readability 5. Suggest improvements with examples.

gpt-4claude-3
#code#review