# Write review comments that explain the issue

A useful review comment lets the author see what is wrong, why it matters, and what change would resolve it. Keep comments focused so the author can address them without guessing.

## Name the concrete problem

Point to the behavior or risk in the code, rather than judging the code or its author. Quote the relevant condition or describe a reproducible case. Avoid comments such as “This is confusing” or “Please fix.” Say what is confusing, or what fails.

**Vague:** “This won’t work.”

**Clear:** “When `items` is empty, this returns `items[0]` and raises `IndexError`. Could we return an empty result here, or reject the request explicitly?”

## Explain the consequence

State the effect on users, data, reliability, or maintainability. A short reason helps the author assess the feedback and choose a sound fix. For example: “This retries every 100 ms, so a downstream outage can multiply traffic and delay recovery.”

If the concern depends on an assumption, name it: “If this endpoint can receive concurrent updates, this read-then-write can lose one update.” That gives the author a useful way to confirm or correct the concern.

## Make the requested change actionable

Suggest a direction when it helps, while leaving room for a better solution. Ask a direct question when context is missing: “Could this use the transaction helper? The two writes need to succeed or fail together.” Avoid prescribing implementation details that do not matter to the issue.

## Signal urgency accurately

Mark a comment as blocking only when the issue must be fixed before merge. Separate required fixes from optional suggestions, and label the latter as non-blocking. This helps authors prioritize and keeps review rounds focused.

## Keep one concern per comment

Attach the comment to the relevant lines and address one issue at a time. For broader design questions, summarize the concern and its impact, then discuss the proposed direction. Clear, bounded comments are easier to answer and resolve—especially when a large change already has many review threads.
