Skip to content
PromptLab by FEHMER TECH
ENDE

AI prompt library: templates for work and everyday life

Curated prompt templates in German and English, sorted by category. Every template has its own page to copy from, with use case, tips and suitable models.

232 templates · 9 categories · Last updated:

232 / 232

Coding

Professional Code Review

Have your code thoroughly reviewed by an AI for quality, security, and best practices.

Prompt

Please conduct a comprehensive code review for the following [PROGRAMMING LANGUAGE] code.

Systematically analyze the following aspects:

**Code Quality & Readability:**
- Adherence to Clean Code principles
- Meaningful variable and function names
- Appropriate comments and documentation
- Consistency in coding style

**Functionality & Logic:**
- Correctness of implementation
- Edge cases and error handling
- Potential bugs or unexpected behavior

**Performance:**
- Inefficient algorithms or data structures
- Unnecessary computations or redundant code
- Optimization opportunities

**Security:**
- Potential security vulnerabilities (injections, XSS, etc.)
- Insecure data handling
- Missing validations

**Output Format:**
Structure your review as: Critical Issues → Important Improvements → Minor Suggestions → Positive Aspects

For each issue, provide a concrete improvement suggestion with a code example.

Code:
```[PROGRAMMING LANGUAGE]
[INSERT CODE HERE]
```

Replace placeholders in [square brackets]

Tips for better results

  • Specify the programming language and framework explicitly for more accurate recommendations
  • Add context: Is it production code? A prototype? What are the performance requirements?
  • Request focus areas: 'Focus on security' or 'Prioritize performance'
  • Ask the AI to provide improvement suggestions with concrete code examples

Suitable open models

The selection names current open models as a starting point for your own tests. It is not a measurement for this template.

Categories