P
💻DeveloppementIntermediateAll AIs

Create a Complete Code Review Checklist for Your Project

A prompt to generate an exhaustive code review checklist, adapted to your tech stack and business context, with concrete examples.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Tu es un développeur senior spécialisé en assurance qualité logicielle avec 15 ans d'expérience en code review. Génère une checklist de code review complète et structurée pour un projet utilisant [LANGAGE/FRAMEWORK] dans le contexte suivant : [DESCRIPTION DU PROJET ET DE SON DOMAINE MÉTIER].

La checklist doit couvrir les catégories suivantes, avec pour chaque point un niveau de sévérité (bloquant, majeur, mineur) :

  1. Correction fonctionnelle : le code fait-il ce qu'il est censé faire ? Les edge cases sont-ils gérés ?
  2. Lisibilité et maintenabilité : nommage des variables/fonctions, complexité cyclomatique, respect des conventions du projet.
  3. Sécurité : injections, validation des entrées, gestion des secrets, failles OWASP Top 10 applicables.
  4. Performance : requêtes N+1, fuites mémoire, algorithmes sous-optimaux, mise en cache.
  5. Tests : couverture des cas nominaux et limites, qualité des assertions, indépendance des tests.
  6. Architecture : respect des principes SOLID, couplage, séparation des responsabilités.
  7. Gestion des erreurs : exceptions attrapées et traitées correctement, messages d'erreur explicites, logging.
  8. Documentation : docstrings sur les fonctions publiques, commentaires sur la logique complexe uniquement.

Pour chaque point de la checklist, fournis :

  • La question à se poser lors de la review
  • Un exemple concret de code problématique en [LANGAGE/FRAMEWORK]
  • La version corrigée correspondante
  • Le niveau de sévérité

Termine par une section "Red flags" listant les 5 signaux d'alerte qui doivent déclencher une review approfondie.

Personalize this prompt with Léa

Answer 3 questions and Léa tailors the prompt to your situation.

Why this prompt works

<p>This prompt leverages the quality assurance expert role to produce a code review checklist that goes beyond superficial checks. By specifying your <strong>language or framework</strong>, you get code examples directly applicable to your project rather than generic advice.</p><p>The 8-category structure covers all critical review dimensions: from functional correctness to documentation, including security and performance. The <strong>severity level</strong> system (blocking, major, minor) helps prioritize feedback and avoids drowning the code author in cosmetic remarks when structural issues exist.</p><p>To get the most from this prompt, describe your business context precisely in the <strong>[PROJECT DESCRIPTION]</strong> variable: a banking API will not have the same security requirements as an internal tool. You can also iterate by asking to deepen a specific category after receiving the initial checklist.</p>

Use Cases

Standardize the code review process in a development teamTrain junior developers on code review best practicesCreate a pull request template with essential checks to verifyAudit an existing codebase before a critical production release

Expected Output

A structured checklist in 8 sections with a review question, a problematic code example, its correction, and a severity level for each point. Ends with a list of 5 priority red flags.

Learn more

Check the full skill on Prompt Guide to master this technique from A to Z.

View on Prompt Guide

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Similar Prompts

💻DeveloppementIntermediateClaude

Claude Prompt for Creating a REST API

Creating a REST API is a fundamental task of modern backend development. Whether you are building a microservice, a SaaS application, or a full platform, a well-structured API is the backbone of your architecture. Claude excels at generating complete REST APIs following best practices: clear project structure, data validation, error handling, authentication, OpenAPI documentation, and tests. Rather than starting from scratch or copying outdated boilerplates, you can precisely describe your business needs to Claude and get a production-ready API in minutes. The major advantage lies in Claude's ability to adapt the code to your framework of choice (Express, FastAPI, NestJS, Django REST, Spring Boot) while applying RESTful conventions: appropriate HTTP verbs, correct status codes, pagination, filtering, and versioning. This guide provides optimized prompts to get the most out of Claude in designing and implementing your REST APIs, from quick prototypes to complete microservice architectures.

09
💻DeveloppementIntermediateAll AIs

Set up semantic versioning automation

Automate semantic versioning

013
💻DeveloppementIntermediateAll AIs

Activation Idea Test

Generating activation experiment ideas

019
💻DeveloppementIntermediateChatGPT

Write Integration Tests for an API

Create complete API integration tests with database setup, authentication, CRUD, and end-to-end scenarios.

29229