explaingit

dcarrero/awesome-code-review-prompts

Analysis updated 2026-05-18

8ShellAudience · developerLicenseSetup · easy

TLDR

A library of copy paste prompts that turn an AI chat model into a structured code reviewer for security, performance, accessibility, and more.

Mindmap

mindmap
  root((code review prompts))
    What it does
      Master review prompts
      Language add ons
      English and Spanish
    Tech stack
      Markdown prompt files
    Use cases
      PR diff review
      Full audit report
      Stack specific checks
    Audience
      Developers
      Code reviewers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Paste a git diff into an AI chat with the security prompt to catch injection or auth issues before merging

USE CASE 2

Run the all in one prompt to get a single scored review report covering every dimension at once

USE CASE 3

Stack a language specific add on, like Python or Go, on top of a general prompt for idiomatic checks

USE CASE 4

Use the Spanish twin of any prompt for teams that review code in Spanish

What is it built with?

MarkdownShell

How does it compare?

dcarrero/awesome-code-review-promptseburgueno/chat-rk1davorpa/shell-utils
Stars887
LanguageShellShellShell
Last pushed2021-09-18
MaintenanceDormant
Setup difficultyeasyhardeasy
Complexity5/51/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

This repository is a collection of ready to paste prompts for asking an AI assistant to review your code. Instead of writing your own instructions each time, you copy one of these prompt files into a chat with an AI model and paste your code or diff alongside it. The prompts are organized by dimension: security, cybersecurity and infrastructure, performance, accessibility, usability, code quality, testing, and safety concerns specific to AI generated code. There is also an all in one prompt that runs every dimension at once and produces a single scored report. On top of these general prompts, the project includes add ons for over a dozen languages and frameworks, such as JavaScript, Python, Ruby, PHP, Java, Go, C sharp, Swift, Kotlin, and Rust, which you append after a general prompt to get checks specific to that stack. Every prompt file exists in both English and a matching Spanish version, so teams working in either language can use the same structure. The suggested workflow is simple: pick a dimension, paste the master prompt into the chat, add your code as a git diff for a quick pull request check or a full file or folder for a deeper audit, then optionally stack a language specific add on. Each master prompt is written to first ask the AI up to three clarifying questions before it reviews, so the review is based on real context rather than guesses. The prompts are plain text and not tied to one AI vendor. The README states they are tuned for Claude Fable 5 but are also designed to work with other frontier models that can follow structured instructions, including other Claude models, GPT models, Gemini, Grok, and DeepSeek. The project is licensed under MIT.

Copy-paste prompts

Prompt 1
Paste the security.md master prompt from this repo into my chat, then review this git diff for vulnerabilities
Prompt 2
Use the all-in-one.md prompt from awesome-code-review-prompts to give me a scored release report on this folder
Prompt 3
Combine the general code-quality prompt with the Python add on from this repo to review my Python module
Prompt 4
Show me how to use the accessibility.md prompt from this repo to check my frontend code against WCAG 2.2 AA

Frequently asked questions

What is awesome-code-review-prompts?

A library of copy paste prompts that turn an AI chat model into a structured code reviewer for security, performance, accessibility, and more.

What language is awesome-code-review-prompts written in?

Mainly Shell. The stack also includes Markdown, Shell.

What license does awesome-code-review-prompts use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is awesome-code-review-prompts to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is awesome-code-review-prompts for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.