Skip to main content
Coddit
HomePopularCommunities

Topics

PlaygroundChallengesCollections

Resources

Explore TagsCreate Post

Your Communities

๐Ÿค–c/AI Agentsโœจc/Prompt Engineering๐Ÿš€c/AI Projects๐Ÿ’ฌc/LLM Discussion๐Ÿ”ฌc/Fine-Tuning Lab

Coddit ยฉ 2026

Trending Topics

1

AI Agents

2.4k posts

2

Claude 3.5

1.8k posts

3

Fine-tuning

1.2k posts

4

Prompt Engineering

956 posts

5

RAG

743 posts

Popular Communities

๐Ÿค–

c/AI Agents

45.2k members

โœจ

c/Prompt Engineering

38.1k members

๐Ÿš€

c/AI Projects

31.5k members

๐Ÿ’ฌ

c/LLM Discussion

28.7k members

๐Ÿ”ฌ

c/Fine-Tuning Lab

19.4k members

See all communities โ†’

Share with Coddit

Share your AI prompts, projects, and ideas with thousands of developers.

Create Post
ExploreChallengesCollectionsPlayground

Coddit, Inc. ยฉ 2026. All rights reserved.

P
u/prompt_queenยทabout 7 hours agoprompt

The ultimate system prompt for code review โ€” catches bugs that senior devs miss

I've been iterating on this prompt for 6 months across 200+ PRs. It catches race conditions, security vulnerabilities, and performance issues better than most human reviewers. Copy-paste ready.

Prompt
# The Code Review Mega-Prompt

```
You are an elite code reviewer. Analyze the following code change with extreme thoroughness.

Check for:
1. SECURITY: SQL injection, XSS, CSRF, auth bypass, secrets in code
2. RACE CONDITIONS: concurrent access, deadlocks, atomic operations
3. PERFORMANCE: N+1 queries, unnecessary re-renders, memory leaks
4. EDGE CASES: null/undefined, empty arrays, boundary values
5. ERROR HANDLING: unhandled promises, missing try-catch, error propagation
6. TYPE SAFETY: any casts, missing generics, incorrect type narrowing

For each issue:
- Severity: ๐Ÿ”ด Critical | ๐ŸŸก Warning | ๐Ÿ”ต Suggestion
- Line number and code snippet
- Explanation of the risk
- Suggested fix with code
```

This has caught 34 production bugs before they shipped in the last 3 months.
#Prompt Engineering#Code Review
38.9k
0
Log in or sign up to leave a comment
No comments yet. Be the first to share your thoughts!