10 AI Code Review Prompts I Actually Use# I review 15-20 PRs per week. These are the prompts that survived — the ones I keep coming back to because they consistently catch real issues.
Copy-paste them into Claude Code, Copilot Chat, Cursor, or any LLM CLI.
1. Bug Scan# S - - - - - F c o a N R R S E r n u e a Q r m l s c L r a t l e o t h u i r : i u r c n s n c o j h f d e n e a i d e d c n l i f l i t d e f i e t i l , f n a i o i e k o n n l f d s n g i o s o n r r ( r g e : i u o a , s n r X p k c S s s s l c S e o o v s n v e e c u r d u l i r n t f r e y i e r l n a ( e c b H s y i I , l G i i H c s t / o s i M n u e E n e s D e s / c L t O i W o ) n , s , e x s p t l r a e n a a m t s i ) o n . 2. Security Review# R - - - - - I e g v I A S I I n i n u e n n o e p t n j s r w u h s e e e t e i c c t n t t u s h v t i i r t i a i v o e y s l c e n l i a d e c d t d v e o a i a u f i d t o t l a s e i n a n u s o / e l u c n a e r t e h u x a s s a g t p b . n a h o i g p o s l O e s r u i n i r t l f z e i y o a e r t ( s f i l l s o o ( a e n g S g c s Q u b , L t r y , h i p e i t a r c n y s r o g s o m s i e r m s s a t s m n h u e d a e s , t s s a L c o g D o n e A u l s P l y , ) d : r b e e s p e o x n p s l e o s i ) t e d .
3. Style & Pattern Check# R - - - - - D e o v F I M C A n i u n i o n ' e n c s d t t w c o s e i t n i - f t i s n t p l h o i g h a a i n s a t g s s t o t t e r e m c n d r i o v t m u n n d e i p s o e r n s l r a l i s f 5 m e c p s o 0 i a a e t r n d t c y : l g i e i l i n s f e n c g i e o e c p s n d x r v o i t e t e c s o f h n s t e a t t i [ r t i r n P e o i g y n s n n t c h s g u h e o s t o s u i n . l l / d i J O t a n b i v l e e a y s / s T f p y l l p a i e g t S c t r h i i p n t g ] s t h a t a f f e c t r e a d a b i l i t y o r m a i n t a i n a b i l i t y .
4. Test Coverage Gaps# G F - - - - F i o o v c E E C S r e u d r o t n s g r n a e e o c t a t o r u e c h n c r h i : a p r t s s a e r m e t n a i i s h c n s m s y s s p ( i i l e ( s t n e m n c i g m p e e o e t t n n t n y w a s e t o r s a i r i t t n k o , i p s o u f e n t a x , i p c l l h n u a a u r i n l e n g l s e , , w , h b t a w o i t h u m a n e c t d o o a u u t r t l e y s d s , t v g a i o c l n a u v w s e a r e s l o s ) i n d g a r d i e a n t m a p i ) r s o s d i u n c g t ? i o n w i t h o u t i t .
R - - - - - E e s v N M U B M t i + i n l i i e 1 s n o s m w s e c s a q i c k i t t u n e i n e h e g s n g i r s g i s y i a p m n r c a p c p d y a g a o a e l i c d t x m l n t e t e e s a : e s m t f r o i i w o n ( r n o i r s b y n l a a l p s a s o e e l y r t r d l n h f o c u i o o c n s r n a c b m t o o m a q i n u a n u o t n t c e n e d t e r s x e e y t d r i s s p q a s a u t u t e e t r 1 s e i 0 : r e 0 n s s r ) e q / s ? 1 0 , 0 0 0 r e q / s ?
6. API Contract Check# R - - - - - A e s v B M I M U s i r i n i n u e e s c s d m w a s o s o e k i n i c t i n s n u e h n g i g m x i g s e i s i t o n s c n e r t t A h p n e i P a u t i d n I n t n g g e c s c e v r o i c h s a r r d l a l o r e i n t i r e e g o d c e n e a r t f t e t e f s f x i s H e o i o p T c d r s n o T t e : t n P s p i s e n e s n g t d f a c o t o l r u n i m s e a t n t c h t s o e s d e c s u r r e n t c o n t r a c t .
7. Database Migration Review# R - - - - - e v W I D A C i i s o r o e l e e u w l i s l t t d t i i h h t r t e i i e r t s l v h e o e a f d c r n m a a k s d i i t i l s l a t b e s b a l i m a b e e n i s l ? x g d e e i - s I s i w m s t n a i d i d y g u t n e r r h g x a a i e e n t n d s d i g d a o o t f l n e w a o e x n r a f e g c v o c r o n e r u a r e : t d r w t i e e h o c c e n c t o ? o l l s r y u c F r ? m h o e n e r c s m t a h ? u o s i w e n d l a o i n n b g r ? W o H k E e R n E s c t l a a t u e s ? e s ?
8. Error Handling Audit# T - - - - - r a W A D A I c h r o r s e a e e t e t e e r t h v h r r h e e a r o e r r p o r r e y p r s e e s r e n p c e r s l r a t r o o t r o w g p c y r h g a h e e g - l p n d a a o a t l g t e w e l i h a i c c t c h i h h o a w n r n h e e r d e t x n e l r h t o c e e i e u t r s r g l s t n h y h c a t e o l c t h r d o o a e e c n t : a t t s l e h s h l x e w o t a u f c l l a t a l d i o l o l l w b s d e e ? e r i ? b ? m u p I g o s ? r t i a t n t b o e u r n r d o e r d s ? ?
9. “What Would Break” Analysis# A F - - - - s o s r W W H H u h h o o m e a a w w e a t t c y y t h t t o o h : r h u u i i e ' ' s g d d g u c e s d f o r e e i d s r t x e / e i s c i i t y t t s s t i d e t e m p ( l i m o m o y p n e a i d c t t o t r o w i o n p u g r l / o d a d l u b e c e r t t i s o ) n . L i s t t h e t o p 5 t h i n g s m o s t l i k e l y t o g o w r o n g , r a n k e d b y p r o b a b i l i t y .
10. Onboarding Readability Check# R - - - - B e e a W W W A d h h h r h a e a e o t t r t n h ' e v e i s c a s s w o r t c o m i c o u m a — o n l e b d f d n l i e u t e f s y s / a i o f s s n u o u o g r n m i n c e f o e d t t r e o i h y d c o i o u u n n u n t m g ' c o e n r l n a r e e a t m e a s a e q a r k t s u ? i i n s o s r e o n e e w m l s e w f e o o - t n n u e r g e l x i i d p b n f l a e o h a l e r e n r l a k c p t n j o ? o o o n r w i t y l n e ? e i x d n t g g ? e t t h o e u t n e d a e m r . s t a n d , f l a g i t .
How I Use These# I don’t run all 10 on every PR. My typical flow:
Every PR: #1 (Bug Scan) + #3 (Style)Security-sensitive PRs: Add #2Database changes: Add #7New features: Add #4 (Test Gaps) + #9 (What Would Break)Performance-critical: Add #5Want to see how I use these in a full workflow? Read my AI code review guide .
Want more templates like this? Subscribe to my newsletter → — I send one practical AI workflow per week, including prompt templates I don’t publish on the blog.