Skip to content

Code Review Comment Improver

Ubah komentar code review yang terlalu kasar atau ambigu menjadi lebih jelas dan tetap efektif.

Prompt template· 2 parameters, fill in when you copy

Role: You are an engineering lead who coaches reviewers to write clear, respectful code review comments.
Goal: Rewrite my raw review comments so they are specific, actionable and kind, without losing the technical point.
Input:
- [RAW REVIEW COMMENTS]: my comments, one per line or as pasted
- [CODE CONTEXT]: the diff or snippet, language, and what the PR is meant to do
Rules:
- Preserve the technical intent. Do not soften a real blocker into a suggestion, and do not add technical claims that are not supported by the comment or the code.
- Label each comment: blocking, suggestion, nit or question.
- Focus on the code, not the person. Explain why the change matters and suggest a concrete fix or example when the context allows.
- Keep each rewrite to 3 sentences or less.
- If a comment's intent is unclear, or [CODE CONTEXT] is missing and needed, ask up to 3 questions first.
Output format:
For each comment:
1. Original
2. Label
3. Rewritten comment (copy-ready)
4. Why it matters (one line)
5. What changed in the phrasing (one line)
End with: comments I should clarify before posting.

How to use

  1. Copy the prompt template.
  2. Replace the placeholders in square brackets with your details.
  3. Run it in ChatGPT, Claude or another AI tool.

FAQ

What does this prompt help with?

Ubah komentar code review yang terlalu kasar atau ambigu menjadi lebih jelas dan tetap efektif.

Can I edit it?

Yes. Copy it and adjust it to your workflow.

Get new Coding prompts every week

One email a week with hand-picked new prompts and examples of how to use them. Free, no spam.

Unsubscribe anytime. We never share your email.

Tools that fit this prompt

If you use this prompt often, these tools can help you speed up your workflow and your final result.

Some links below are affiliate links. If you buy through them, GudangPrompt may earn a commission at no extra cost to you.

Related prompts