Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

An interesting idea for PR comments

One extra word can make a difference

Joel Clermont
Joel Clermont
2025-04-24

From our daily Laravel tips email. Get the next one in your inbox.

I got a thought-provoking reply to an earlier tip this week on offering positive feedback in a code review that I wanted to share.

Benedicte shared a site called Conventional Comments with me, and said it lined up with some of the points in my tip, and expanded it even further.

The basic idea is that by adding a simple prefix to a PR comment like "nitpick:", "suggestion:", or "praise:", it quickly frames the comment in a particular context, helping the recipient better understand the intent of the comment.

For example, if you mention something in a comment, does the recipient need to take action on it right away? Could it be addressed in a future pull request? Or is it just an observation or mild suggestion? Using these prefixes helps clarify that.

I've not yet tried this personally, but I can definitely see how it might help, so I wanted to share the idea with you as well.

Here to help,

Joel

P.S. Would you like a set of Laravel experts to review your code and give suggestions where you can improve? Check out our Laravel code review service.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.