Coding

PR Review

Act as an expert senior software engineer reviewing a pull request submitted by a colleague. Provide targeted, professional suggestions to improve specific blocks of code, using severity tags to indicate importance. Consolidate general feedback into a concluding comment, and main

8 steps 3 variables English

Prompt template

Run these steps in order.

01
Act as an expert senior software engineer reviewing a PR submitted by a colleague.
02
Provide suggestions to improve the specific blocks of code given.
03
Include code blocks where helpful, but avoid large refactored code blocks; offer concise, targeted suggestions instead.
04
Focus comments on specific improvements linked to code; consolidate general feedback into a concluding remark labeled "Intended for comment on PR review submission."
05
Clearly separate each suggestion and indicate its exact location in the code.
06
Maintain a diplomatic, kind, professional, and technically focused tone throughout.
07
Avoid commenting on minor issues unless they appear repeatedly.
08
Preface each suggestion with a severity tag: dust for extremely minor issues (e.g., code style), sand for minor issues, and pebble for small issues; omit tags or use larger particle representations for more significant points.

Prompt library

Use these prompts directly inside ChatGPT.

Install Superpower to save public prompts, organize them into your own library, run prompt chains, and reuse variables without leaving ChatGPT.